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)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,788
Threads: 769
Joined: Nov 2003
#11
2006-08-13, 05:52 AM
Quote:They are stored in an additional column 'icon' of the programme-table in the database, where a hyperlink or path to the image is placed.
I'm doing this automatically during PostUpdateEPG (see EpgUpdater for details), but your xmltv-source has to support the <icon>-element.
DONT add any columns or tables to the GB-PVR database. I have said in the past that I dont what anyone modifying the structure of the GB-PVR database in any way.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#12
2006-08-13, 05:57 AM
alibert Wrote:Do you mean the colored status bar on top or do you mean the colors for the backgrounds of scheduled programmes?
i mean display a "record" icon in the schedule programme rectangle (like mce, mediaportal, myth does it). the red bar up the top is fine the way it is.

alibert Wrote:I don't like them - so I didn't include them Wink
But shouldn't be a big problem to include it in the next release.
cheers, i actually like them Smile

Quote:They are stored in an additional column 'icon' of the programme-table in the database, where a hyperlink or path to the image is placed.
I'm doing this automatically during PostUpdateEPG (see EpgUpdater for details), but your xmltv-source has to support the <icon>-element.
So, since you're also developing a listings grabber for new zealand, and the websites have images to shows, you should also save the urls to the images when grabbing the information.
so do you download the images to disk anywhere? or just save the url in the database and download them to memory when needed?

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.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#13
2006-08-13, 06:00 AM
oh also, i couldnt get it to download any icons from the xmltv file, heres a sample
Code:
<programme start="200608141400" stop="200608141500" channel="03">
    <title lang="en">J.A.G.</title>
    <sub-title lang="en">Heart &amp; Soul</sub-title>
    <desc lang="en">When Harm takes Admiral Chegwidden for a ride in a F-14 Tomcat, AJ must fight for survival after accidently being ejected into a heavily forested area, blanketed in a snowstorm.</desc>
    <icon src="http://www.tv3.co.nz/Portals/0/ShowImages/1_12921.jpg" />
    <category>Drama</category>
    <rating system="NZ">
      <value>AO</value>
    </rating>
  </programme>
just want to make sure the icon attribute is correct, or are you using it like
<icon>http://www.tv3.co.nz/Portals/0/ShowImages/1_12921.jpg</icon>
originally i couldnt find much documentation on this and assumed it was the same structure for the programme as it was for the channels.
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#14
2006-08-13, 06:04 AM
Hi,

sub Wrote:DONT add any columns or tables to the GB-PVR database. I have said in the past that I dont what anyone modifying the structure of the GB-PVR database in any way.

I will think about it and look for another way to store the urls in the future, sorry about that. Maybe a serialized Hashtable would do it.

-alibert
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,788
Threads: 769
Joined: Nov 2003
#15
2006-08-13, 06:06 AM
I'm sorry, but you need to make sure you remove this logic that changes the GB-PVR database. I dont ask much of the developers, but I dont want any changes made to my database structure.

I've removed your EpgUpdater from the Wiki while you correct it.
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#16
2006-08-13, 06:44 AM
Hi,

reven Wrote:i mean display a "record" icon in the schedule programme rectangle (like mce, mediaportal, myth does it). the red bar up the top is fine the way it is.
I will have a look if it is possible to use a texturebrush for that purpose.

reven Wrote:so do you download the images to disk anywhere? or just save the url in the database and download them to memory when needed?

The image urls can be internet-urls. Then they're downloaded in the background while opening the details-popup. Once they're loaded they are displayed.
If the icon-url points to a local file, it is displayed immediately when opening the popup.

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.

Maybe - do you mean something like an image called "A-Team.extension" that is displayed when the programme with title "A-Team" itself doesn't contain explicitly an icon?

-alibert
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#17
2006-08-13, 06:46 AM
reven Wrote:oh also, i couldnt get it to download any icons from the xmltv file, heres a sample
Code:
<programme start="200608141400" stop="200608141500" channel="03">
    <title lang="en">J.A.G.</title>
    <sub-title lang="en">Heart &amp; Soul</sub-title>
    <desc lang="en">When Harm takes Admiral Chegwidden for a ride in a F-14 Tomcat, AJ must fight for survival after accidently being ejected into a heavily forested area, blanketed in a snowstorm.</desc>
    <icon src="http://www.tv3.co.nz/Portals/0/ShowImages/1_12921.jpg" />
    <category>Drama</category>
    <rating system="NZ">
      <value>AO</value>
    </rating>
  </programme>
just want to make sure the icon attribute is correct, or are you using it like
<icon>http://www.tv3.co.nz/Portals/0/ShowImages/1_12921.jpg</icon>
originally i couldnt find much documentation on this and assumed it was the same structure for the programme as it was for the channels.

The correct form of the xml-element is
Code:
<icon src="http://www.tv3.co.nz/Portals/0/ShowImages/1_12921.jpg" />
The optional 'width' and 'height' parameters are ignored.

-alibert
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#18
2006-08-13, 06:52 AM
Hi,

sub Wrote:I'm sorry, but you need to make sure you remove this functionality. I dont ask much of the developers, but I dont want any changes made to my database structure.

I've removed your EpgUpdater from the Wiki while you correct it.

It's okay, I just found it naturally to store icons along with the other information on programmes.

One question:
When doing a complete epg reload - will the programme-oids be 'shuffled'? Or will the 'same' programme (same start-/endtimes, same title) have a different oid assigned during the epg-update?

-alibert
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#19
2006-08-13, 07:06 AM
alibert Wrote:Maybe - do you mean something like an image called "A-Team.extension" that is displayed when the programme with title "A-Team" itself doesn't contain explicitly an icon?
yup, the name minus the "special keys" eg "\/>?*" etc + jpg/jpeg/jpe/png/gif.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,788
Threads: 769
Joined: Nov 2003
#20
2006-08-13, 07:14 AM
Quote:One question:
When doing a complete epg reload - will the programme-oids be 'shuffled'? Or will the 'same' programme (same start-/endtimes, same title) have a different oid assigned during the epg-update?
The OIDs are auto-incremented for each insert, so will change with each EPG update when complete EPG reload is enabled.
« Next Oldest | Next Newest »

Users browsing this thread: 2 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,163 2017-11-09, 06:21 AM
Last Post: Endzone
  TV Listings 3.7.2 released alibert 0 2,999 2016-11-21, 05:13 PM
Last Post: alibert
  Schedules Direct AU and NZ guide data now available. rkulagow 10 6,947 2016-09-03, 04:29 AM
Last Post: djmorgan
  Hulu Desktop Replacement dhgb256 49 28,869 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,970 2015-01-10, 11:05 AM
Last Post: liteswap
  New plugin - MovieTrailers imilne 11 6,303 2014-09-25, 08:16 AM
Last Post: imilne
  HD Logos for the NPVR WebRadio Plugin Lao Pan 3 3,428 2014-02-09, 01:32 PM
Last Post: Lao Pan
  Files plugin tmrt 13 7,510 2014-01-09, 11:16 PM
Last Post: mvallevand
  TV Listings 3.7.0 released alibert 0 3,331 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