MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
LinkBack Thread Tools Display Modes
Old 2006-11-03, 17:03   #11 (permalink)
Portal Member
 
Join Date: Apr 2005
Location: Southeast
Age: 36
Posts: 597
Thanks: 5
Thanked 33 Times in 23 Posts

Country:


Default

Hi,

I also had a related question to Walts81's about "first-run".

I am just now looking at the TVServer code to port an EPG plugin over
and noticed the TVDatabase "Program" object has no entries
beyond Title, Description, Genre, StartTime and EndTime (also ID and Notify).

Is there some other place to store related information like "first-run".
Also additional detail such as original air date, repeat/new,
rating, episode number/part etc etc...

Thanks for any guidance.

patrick
patrick is offline   Reply With Quote
Old 2006-11-03, 17:13   #12 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Springfield, IL USA
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Where should I post about potential bugs I find? Should I post them with the other bug reports? I ask because the bugs I find aren't necessarily related to the interaction of the TV server with MediaPortal as I don't use MediaPortal. These "potential" bugs are merely from my experience with the API.

For instance... Yesterday I programmatically grabbed all TVprograms for a given time frame on a given channel. This worked great. However, since then, I have imported a new TVGuide.xml file from XMLTV and now when I run the same function for getting TVprograms, I am now getting 3 TVprograms per timeslot (on the same channel). So it appears that the epg database is corrupt (possibly from importing tvguide.xml files with overlapping timeframes).

- Josh
walts81 is offline   Reply With Quote
Old 2006-11-04, 02:41   #13 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by Hawkeye View Post
Quote:
Originally Posted by walts81 View Post
So there's no equivalent to "First Run Only"??? That's considered a "must have". Tivo, SageTV, BeyonTV all have this feature. Is this something that is planned for future, was overlooked, or not being considered??

Thanks,
Josh
Maybe I misunderstand you but what about the type "once"?
No 'once' means at that time, that day, that channel only. It does not repeat at all after the recording is done.

Unfortunately my MP computer is sorta stuffed and the TV card won't work in it anymore (some sort of hardware issue) so I can't tell you with 100%, but I think there is another setting that allows that possibly. If not, I'll bet its being considered in the future because it is important.

BTW, 'first run only' means record all instances of the program as long as it is not a repeat.

The reason I doubt its a recording type is because for some people, a certain program might show on two different channels. Now if both channels are saying they're running it for the first time (obviously with respect to their channel) then you get two copies. Therefore its necessary to specify either "EveryTimeOnEveryChannel" or "EveryTimeOnThisChannel".

Sam
samuel337 is offline   Reply With Quote
Old 2006-11-04, 19:38   #14 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 36
Posts: 1,513
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

First Run option is not supported yet
Simply because most epg-grabbers dont specify whether a program
is a first-run or a re-run.
We could add a extra field to the database to specify first run/re-run
but as said it would only work if the epg data itself contained this information

Anyway, feature requests belong in their own subforum. and not in the
tvserver development forum

Quote:
Where should I post about potential bugs I find?
In the tv server bugs subforum offcourse.
To help us fixing the bug, please describe it as detailed as possible and
how to reproduce it
frodo is offline   Reply With Quote
Old 2006-11-05, 15:49   #15 (permalink)
Portal Member
 
Hawkeye's Avatar
 
Join Date: Jan 2005
Location: Halle - Germany
Age: 29
Posts: 267
Thanks: 17
Thanked 4 Times in 4 Posts

Country:

My System

Send a message via ICQ to Hawkeye
Default

Quote:
Originally Posted by samuel337 View Post
Quote:
Originally Posted by Hawkeye View Post

Maybe I misunderstand you but what about the type "once"?
No 'once' means at that time, that day, that channel only. It does not repeat at all after the recording is done.

Unfortunately my MP computer is sorta stuffed and the TV card won't work in it anymore (some sort of hardware issue) so I can't tell you with 100%, but I think there is another setting that allows that possibly. If not, I'll bet its being considered in the future because it is important.

BTW, 'first run only' means record all instances of the program as long as it is not a repeat.

The reason I doubt its a recording type is because for some people, a certain program might show on two different channels. Now if both channels are saying they're running it for the first time (obviously with respect to their channel) then you get two copies. Therefore its necessary to specify either "EveryTimeOnEveryChannel" or "EveryTimeOnThisChannel".

Sam
So I did misunderstand him.
__________________
I didn't do it, nobody saw me do it, there's no way you can prove anything!!!

Hawkeye is online now   Reply With Quote
Old 2007-05-24, 15:31   #16 (permalink)
p13
Portal User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts


Lightbulb

Quote:
Originally Posted by frodo View Post
Sure, thats what the tvplugin is doing after all.
You might want to read the development section of the wiki
it contains 2 examples showing how to control the tvserver from your own app

So one can indeed make a meedio or mce 2005 or sagetv plugin
which uses the tvserver
MCE plugin!! Anyone?
Maybe http://mcesoft.nl/index.php?option=c...123&Itemid=167 can be used as base?
p13 is offline   Reply With Quote
Reply

Bookmarks

Tags
external, plugins

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
'Failed to start timeshifting, unable to create graph'.... cashel General Support 3 2006-05-19 21:27
Plugins: NOT User-friendly! MyHTPC allover again:-( msj33 Website/Forum/Wiki Feedback 14 2006-04-11 12:08
Gathering topical infos about plugins (To: authors & use tomtom21000 Plugins 2 2006-02-04 23:20
Plugins loading... problems maniac's General Development (no feature request here!) 0 2005-01-07 09:25


All times are GMT +1. The time now is 19:03.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress