NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 40 41 42 43 44 … 56 Next »
New version of Video Archive plug-in released

 
  • 0 Vote(s) - 0 Average
New version of Video Archive plug-in released
cubsfan
Offline

Member

Posts: 96
Threads: 2
Joined: Sep 2005
#71
2005-10-05, 04:21 AM
Would it be possible to add the ability to see what file is currently being transcoded and the percent complete to the panel on the main menu? I believe Sub has implemented this in the standard panel.
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#72
2005-10-05, 04:26 AM
If there is an API function for this, then yes. The video archive panel now accepts "panel widgets" so someone can create this as a plug-in to the plug-in if they'd like using the panel API in commongbpvrutilities.dll. I don't do any transcoding so I'd have no way to test it (and not too much interest at the moment therefore in writting it either).

Jeff
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#73
2005-10-05, 06:20 AM
It does this at launch because it is building up the cahced list of directories. It should stop using CPU after a bit. I find it takes about 10 seconds on my machine, but your milage may vary. If you go to the memory tab and tell it to not load all directories and files on startup this time should be greatly reduced. To reduce the momory usage, set it to cache fewer directories. I have almost 1 GB of recordings and I find performance okay.

Jeff
Ambro
Offline

Member

Posts: 96
Threads: 9
Joined: Aug 2005
#74
2005-10-05, 11:12 AM
Good stuff Jeff,

Any comments on how to disable the feature where it downloads images - I'm not a big fan of auto d/l images, especially when they're wrong 30% of the time.
MSI K8NGM2-FID, 1G RAM, 3500+ CPU, Barracuda 7200.8 120G PATA, Twinhan DVB-T, DNTVlive twin tiny USB2 DVB-T's, Nvidia 6150 onboard, MStation HT-1100 with built-in VFD & Imon USB IR Receiver, Sony AV-3100 with USB-UIRT ( can't use universal remote with Imon receiver because of this :mad: ), Chaintech AV-710 'bitperfect' to amp, Seasonic S12 430W PSU, Nexus/ Panaflow case fans, 120mm Zalman CNPS7700-Cu CPU cooler, Generic LCD TV with DVI connection
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#75
2005-10-05, 01:38 PM
There is no option to turn that off at the moment. I'll add it to the next version.

If you could send me a list of things it got wrong that would be great. I can work to improe the lookup. Right now it works well on the shows I record because I've tesed and turned to make sure it worked wit them.

Jeff
LilY0da
Offline

Senior Member

Posts: 442
Threads: 25
Joined: Jul 2005
#76
2005-10-05, 02:10 PM
Hey Jeff, any finds on that weird lockup I had with specific skins when going back to the main page?
cubsfan
Offline

Member

Posts: 96
Threads: 2
Joined: Sep 2005
#77
2005-10-06, 02:14 AM
Jeff and others, below is the code we used in the web admin tool for displaying the transcode percent complete. I'm not sure how to make the pluging widgets for VA so if someone is familiar with that and would like to do that that would be great.

string GetCurrentTranscode(OleDbConnection aConnection)
{
// create the command object and store the sql query
string SQLstr = "SELECT t.percentage, r.filename FROM TRANSCODE_QUEUE t, " +
"RECORDING_SCHEDULE r WHERE (r.oid = t.scheduled_recording_oid) " +
"AND (t.status = 1)";
OleDbCommand aCommand = new OleDbCommand(SQLstr, aConnection);

//create the datareader object to connect to table
OleDbDataReader aReader = aCommand.ExecuteReader();

string labelText = string.Empty;
while(aReader.Read())
{
int percentage = aReader.GetInt32(0);
string filename = aReader.GetString(1);

if (percentage > 100)
percentage = 100;

filename = Path.GetFileNameWithoutExtension(filename);

if (labelText.Length > 0)
labelText = labelText + "<br/>";

labelText = labelText + filename + " : " + percentage + "% Complete";
}

//close the reader
aReader.Close();

if (labelText.Length > 0)
return labelText;
return "There are currently no files being transcoded";
}
Ambro
Offline

Member

Posts: 96
Threads: 9
Joined: Aug 2005
#78
2005-10-06, 03:57 AM
Jeff Wrote:There is no option to turn that off at the moment. I'll add it to the next version.

If you could send me a list of things it got wrong that would be great. I can work to improe the lookup. Right now it works well on the shows I record because I've tesed and turned to make sure it worked wit them.

Jeff

Thanks - From memory here in Aust. I'm getting incorrect images for programs such as 'The Glass House', 'Catalyst' & another one I can't recall ....:confused: . I wouldn't worry about correcting them for me as I'll tick the box marked ' Turn off auto image downloads ' when it's released

(thanks for doing this too!)

Cheers
MSI K8NGM2-FID, 1G RAM, 3500+ CPU, Barracuda 7200.8 120G PATA, Twinhan DVB-T, DNTVlive twin tiny USB2 DVB-T's, Nvidia 6150 onboard, MStation HT-1100 with built-in VFD & Imon USB IR Receiver, Sony AV-3100 with USB-UIRT ( can't use universal remote with Imon receiver because of this :mad: ), Chaintech AV-710 'bitperfect' to amp, Seasonic S12 430W PSU, Nexus/ Panaflow case fans, 120mm Zalman CNPS7700-Cu CPU cooler, Generic LCD TV with DVI connection
cubsfan
Offline

Member

Posts: 96
Threads: 2
Joined: Sep 2005
#79
2005-10-06, 01:01 PM
Ambro Wrote:Thanks - From memory here in Aust. I'm getting incorrect images for programs such as 'The Glass House', 'Catalyst' & another one I can't recall ....:confused: . I wouldn't worry about correcting them for me as I'll tick the box marked ' Turn off auto image downloads ' when it's released

(thanks for doing this too!)

Cheers

On a side note you can download the image that is right manually and put it in the folder for that show and name it folder.jpg
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#80
2005-10-06, 01:54 PM
cubsfan Wrote:On a side note you can download the image that is right manually and put it in the folder for that show and name it folder.jpg

Yes. The plug-in will look t see if a folder.png, folder.gif, or folder.jpg are present and, if so, use that.

Note that in the new vrsion I have also changed the lookup order. First the plug-in will look to see if there is an image for the file in its database, next it will look for an image (.png, .gif, or .jpg) for the file in the file's folder, and if all else fails it will look for a folder image. It used to do the first two steps in the opposite order. Hopefully looking in the database first will improve performance, although it also means that if the database has a "wrong" image in it you will need to correct it. Before I release this version, I will add code so that the plug-in autoamticallly imports new images into the database when image files are copied into the directory.

Jeff
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextTool finally released mvallevand 0 2,974 2022-05-13, 09:53 PM
Last Post: mvallevand
  Generate missing thumbnails for video files imported into NextPVR Jimixter 0 2,605 2019-12-16, 07:28 PM
Last Post: Jimixter
  Searchlite v3 Released - maybe not so lite. mvallevand 0 2,239 2017-04-24, 03:04 PM
Last Post: mvallevand
  TV Listings 3.7.2 released alibert 0 2,951 2016-11-21, 05:13 PM
Last Post: alibert
  TV Listings 3.7.1 released alibert 3 3,877 2015-01-10, 11:05 AM
Last Post: liteswap
  NEWA Release Build 2.10 Released 2013-12-30 UncleJohnsBand 0 2,156 2013-12-31, 02:53 AM
Last Post: UncleJohnsBand
  TV Listings 3.7.0 released alibert 0 3,285 2013-10-23, 06:45 AM
Last Post: alibert
  TV Listings 3.6.2 released alibert 3 5,338 2013-04-30, 01:14 AM
Last Post: dljones8053
  NEWA Release Build 1.30 Released 2012-11-27 UncleJohnsBand 0 2,237 2012-11-28, 04:11 AM
Last Post: UncleJohnsBand
  NEWA Release Build 1.26 Released 2012-08-24 UncleJohnsBand 0 5,421 2012-08-25, 04:56 AM
Last Post: UncleJohnsBand

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

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

Linear Mode
Threaded Mode