NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 25 26 27 28 29 … 56 Next »
New Plugin: TV Listings (TV Guide Replacement)

 
  • 0 Vote(s) - 0 Average
New Plugin: TV Listings (TV Guide Replacement)
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#21
2006-08-13, 10:41 AM
Hi,

as requested by sub, I did a quick change to the way the plugin handles icons.
The icon-urls are now stored in an external file named 'IconDictionary.xml' in the plugins subdirectory.

To generate this file, I have written a small utility called "XmltvIcons", that creates the dictionary file from your xmltv-source.

See http://gbpvr.com/pmwiki/pmwiki.php/Utility/XmltvIcons for details.

However, you'll have to download and replace the updated TVListings.dll from here.

-alibert
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#22
2006-08-13, 11:58 AM (This post was last modified: 2006-08-13, 01:08 PM by Old Dog.)
The new TV Listings plug-in is supported by Plain Jane & Appearance Manager.

[ATTACHMENT NOT FOUND]

[ATTACHMENT NOT FOUND]

Regards,
Old Dog
Learning new tricks!
Visit Plain Jane's Collection
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#23
2006-08-13, 03:20 PM
Hi,

reven Wrote:and any chance you could make it look in the gbpvr\media\art directory for a image if no link is in the db, this is a common directory a few plugins use for art.
i have updated my xmltv grabber to get icons (well i readded it) but for 90% of the channels there are no icons available, so it would be handy if it looked in that directory.

I've updated the plugin now to support an additional directory for image:

Quote:Use additional resource directory: Here you specify a path to a directory where additional programme-images are stored. The plugin will then look in this directory for an image-file when it opens the details-popup. For example, an image called “A-Team.jpeg” will be displayed when a programme with title “A-Team” is opened. Possible image extensions are .jpg, .jpeg, .png, .gif, .bmp. Invalid characters in the filenames are replaced by “ “, so if you want to add an image for the show “CSI: New York”, you should name the image-file “CSI New York.gif”, with two spaces between “CSI” and “New” (sorry, the forum software merges two spaces).

-alibert
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,787
Threads: 769
Joined: Nov 2003
#24
2006-08-13, 04:59 PM
alibert Wrote:Hi,

as requested by sub, I did a quick change to the way the plugin handles icons.
The icon-urls are now stored in an external file named 'IconDictionary.xml' in the plugins subdirectory.

To generate this file, I have written a small utility called "XmltvIcons", that creates the dictionary file from your xmltv-source.

See http://gbpvr.com/pmwiki/pmwiki.php/Utility/XmltvIcons for details.

However, you'll have to download and replace the updated TVListings.dll from here.

-alibert
Thanks.
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#25
2006-08-13, 09:20 PM
tipstir Wrote:Okay so this will replace the XGuide TV Guide and the default TV Guide. So if Old Dog got this to work for NTSC then this should work for me Smile

Well, I haven't skinned the pop-ups yet, but I'll get around to it.

Regards,
Old Dog
Learning new tricks!
Visit Plain Jane's Collection
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#26
2006-08-14, 04:49 PM
Hi,

I've just uploaded an updated version of the XmltvIcons-utility on the wiki.

Quote:The update procedure is incremental, so if you’re only downloading your xmltv-file for one day (and are not using the “Complete EPG-Reload” function of GBPVR), then the existing icon-entries in the dictionary will remain. The programme will also delete such entries in IconDictionary.xml for programmes that are no longer existant in the GBPVR-database.
-alibert
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#27
2006-08-16, 12:36 PM
Hi,

I've just uploaded another new version of the plugin at the wiki:

Changes include:

Added support for genre based backgrounds:
The colours for the backgrounds can still be defined in the configuration of the built in tv guide plugin. However, you need to enable this function in the config app of the tv listings plugin, too.

Possibilty to brighten programmes that are currently on the air:
This will brighten those programmes that are currently boradcasted. This is controlled in the skin.xml-file:
Code:
<SpecialElement name="BrightenOnAirProgrammes" percent="0"/>
It's looking good with a value around 20%.

Support for icons as status indicators for scheduled recordings:
Also defined in the skin.xml, this will give you the opportunity to use small images instead of the coloured backgrounds for scheduled recordings.
Code:
<SpecialElement name="ScheduledRecordings" useBackgoundColors="true" useIndicatorIcons="false"/>
The images used are also defined as composite images in the skin file.

I've also attached a new screenshot (indeed not the included Blue skin) to give you an impression of the new features:
[Image: tvlistings7.jpg]

Please make sure that you also update your skin.xml-file - it won't work with the old skin.

-alibert
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#28
2006-08-17, 12:47 AM
thanks for the graphic icons instead of the backgrounds, also i did notice something the other day (well 2 things), when scheduling a recording to record all programmes they werent updated to be "red"
and also if i manually dump files in the media dir i specify after the plugin is loaded it doesnt seem to notice the pictures are there untill after i exit gbpvr and restart it.
and also if it fails to get an image from the internet (bad url or whatever in the xmltv file (yeah this is my bad i will fix later, but still)) it doesnt check the media directory at all for images, can you make it fail back to that directory if it fails to download the image ?

btw i love this plugin Smile
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#29
2006-08-17, 06:54 AM
Hi,

reven Wrote:also i did notice something the other day (well 2 things), when scheduling a recording to record all programmes they werent updated to be "red"
I could reproduce this behaviour, but only in a very special case:

1a) Go to a programme, select quick record or record once.
1b) Wife says: "Record all of those shows!"
2) Okay, open the same programme, and cancel the scheduled recording again.
3) Open it once again, schedule the programme to "record all episodes" (daily/weekly doesn't matter)

Result is: The recording group is created, but the first initial programme is not scheduled. It is still marked as STATUS_DELETED (== 6) in the database, because of step (2) above. All other shows with the same title on other days are scheduled fine.
But I could already find a fix for it, the problem was using 'ScheduledRecording.GROUP_ALLOCATE' when recording once. I've changed it to 'ScheduledRecording.GROUP_NONE' and then it worked fine.
I will upload the updated plugin later today.

Reven, did you do something similar when the recording status was not updated? Or did you just do a 'fresh' season recording? Are the logs telling something obvious?

reven Wrote:and also if i manually dump files in the media dir i specify after the plugin is loaded it doesnt seem to notice the pictures are there untill after i exit gbpvr and restart it.
That's how I implemented it, the plugin does check the image-directory only once at startup. I don't think that I'll change this behaviour in the future.

reven Wrote:and also if it fails to get an image from the internet (bad url or whatever in the xmltv file (yeah this is my bad i will fix later, but still)) it doesnt check the media directory at all for images, can you make it fail back to that directory if it fails to download the image ?
Yes, I think this is possible. I will have a look at this one later.

-alibert
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#30
2006-08-17, 08:34 AM
Quote:That's how I implemented it, the plugin does check the image-directory only once at startup. I don't think that I'll change this behaviour in the future.
why not just do something like
Code:
if(File.Exists(imagedir + RemoveSpecialChars(showtitle)  + ".jpg"))
previewImage = Image.FromFile(imagedir + RemoveSpecialChars(showtitle)  + ".jpg");
that way when i download new images with my vids or whatever, it will be automatically visible in the the guide, the check only takes a few milliseconds so wont impact on the performance.

and i cant remember how the recording status thing happened, it may have just been a once off, and the logs are long gone by now.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  MCEBuddy 2.x Guide To Convert .TS To .MP4 BTJustice 44 43,144 2017-11-09, 06:21 AM
Last Post: Endzone
  TV Listings 3.7.2 released alibert 0 2,998 2016-11-21, 05:13 PM
Last Post: alibert
  Schedules Direct AU and NZ guide data now available. rkulagow 10 6,942 2016-09-03, 04:29 AM
Last Post: djmorgan
  Hulu Desktop Replacement dhgb256 49 28,852 2016-01-06, 07:30 PM
Last Post: dhgb256
  Modified TV Guide for large 10' Interface Screens Lao Pan 0 1,695 2015-08-30, 07:03 AM
Last Post: Lao Pan
  TV Listings 3.7.1 released alibert 3 3,967 2015-01-10, 11:05 AM
Last Post: liteswap
  New plugin - MovieTrailers imilne 11 6,298 2014-09-25, 08:16 AM
Last Post: imilne
  HD Logos for the NPVR WebRadio Plugin Lao Pan 3 3,423 2014-02-09, 01:32 PM
Last Post: Lao Pan
  Files plugin tmrt 13 7,505 2014-01-09, 11:16 PM
Last Post: mvallevand
  TV Listings 3.7.0 released alibert 0 3,329 2013-10-23, 06:45 AM
Last Post: alibert

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

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

Linear Mode
Threaded Mode