NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 … 16 17 18 19 20 Next »
Windows Desktop/Sidebar Gadget with Recording Schedule

 
  • 0 Vote(s) - 0 Average
Windows Desktop/Sidebar Gadget with Recording Schedule
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#81
2011-10-23, 06:05 AM
mvallevand Wrote:UJB, that is the code I modified (before Response.ContentType...) I tried .Png first but that gave a GDI+ error. Returning the byte[] for channel.Icon works too

ImageConverter converter = new ImageConverter();
Response.BinaryWrite((byte[])converter.ConvertTo(img, typeof(byte[])));

Martin

I had to go with .jpeg due to browser versions....not sure if we are far enough out from windows 7 (I don' think it supported .png very well) to switch to that....I'll look into the last code you posted to see how/what exactly that is doing...the first code altered the image by clearing a color which I don't want to do......I just want to take whatever the image is and return it to the browser....unmodified. The last code you posted may do that......I'll check it out.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#82
2011-10-23, 01:52 PM
UncleJohnsBand Wrote:How does it render within NEWA?

It is not transparent (black background) in NEWA as well.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#83
2011-10-23, 02:00 PM
cncb Wrote:It is not transparent (black background) in NEWA as well.

At least it is consistent. Big Grin

I will play around with Martin's suggestion later today.

In the meantime you could use Paint.Net to save your .png logo as a .jpg and see if that resolves it temporarily.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,119
Threads: 957
Joined: May 2006
#84
2011-10-23, 04:37 PM
UncleJohnsBand Wrote:I will play around with Martin's suggestion later today.

If you edit web\App_Code\Download.aspx.cs starting at line 178 you can try the raw download

Code:
//img.Save(Response.OutputStream, ImageFormat.Jpeg);
                        ImageConverter converter = new ImageConverter();
                        Response.BinaryWrite((byte[])converter.ConvertTo(img, typeof(byte[])));

Martin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#85
2011-10-23, 08:09 PM (This post was last modified: 2011-10-23, 10:05 PM by UncleJohnsBand.)
Ok...attached is the latest patch that includes martin's update to write the channel icon as a byte array which appears to work fine without doing anything to the native image type.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#86
2011-10-23, 08:46 PM
UncleJohnsBand Wrote:Ok...attached is the latest patch that includes martin's update to write the channel icon as a byte array which appears to work fine without doing anything to the native image type.

This has the same build/version number of the last patch (and doesn't seem to be working for me)?
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#87
2011-10-23, 10:05 PM
cncb Wrote:This has the same build/version number of the last patch (and doesn't seem to be working for me)?

Sorry about that.....new patch is now posted... Smile
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
cncb
Offline

Senior Member

Posts: 729
Threads: 112
Joined: Aug 2011
#88
2011-10-24, 02:36 AM
UncleJohnsBand Wrote:Sorry about that.....new patch is now posted... Smile

It's working great. Thanks again.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#89
2011-10-24, 03:08 AM
cncb Wrote:It's working great. Thanks again.

Great....let me know if you need anything else. Looking forward to the revised gadget. Smile
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#90
2011-10-24, 06:22 PM
UncleJohnsBand Wrote:ooking forward to the revised gadget. Smile
Mee too Smile. I'v been following this thread with great interest, I must say, I'm impressed!

"I'd rather have a bottle in front of me than a frontal lobotomy"
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (15): « Previous 1 … 7 8 9 10 11 … 15 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  HDHRGuide for Windows mvallevand 63 11,131 2025-06-20, 04:05 PM
Last Post: mvallevand
  Comskipped videos played back on NextPVR desktop application halt on commercial break mlopez1007 2 1,076 2023-07-03, 07:47 PM
Last Post: mvallevand
  NextTool for Windows question MrReis 12 2,686 2023-03-31, 10:23 PM
Last Post: mvallevand
  Multiple Instances of Desktop Gadget BrettB 6 2,096 2021-05-16, 04:23 PM
Last Post: mvallevand
  Automatic movie recording based on existing libraries daneo 10 5,278 2020-04-14, 08:02 PM
Last Post: daneo
  NextPVR Recording Service Monitor ChaosMageX 2 2,340 2019-09-23, 02:19 PM
Last Post: ChaosMageX
  Desktop Gadget not working after Win10 Creators Update Bobbybear 1 3,607 2017-06-26, 09:01 PM
Last Post: Bobins
  ParallelProcessing.bat Recording Growth Monitor BrettB 0 2,153 2017-05-24, 01:51 AM
Last Post: BrettB
  Desktop gadget stopped working roy 4 3,545 2017-02-18, 08:16 PM
Last Post: roy
  Created a program to purge recording directory evans036 3 3,594 2016-11-30, 11:44 AM
Last Post: Graham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode