| |||||||
| Community Plugins TV-Server Plugins created from users for users, can be found here. |
![]() |
| | Thread Tools | Display Modes |
| | #181 (permalink) |
| Portal Member | As I just promised on the IRC channel I'm uploading the TvScheduler guide and scheduling APIs. And I'm also uploading the source to the TVE3 plugin I wrote, to make it clear how this API is used in practice. As you'll be able to see the API is very use-case-driven, very functional on a high-level. This is done to both improve performance of the API and also the usability/user-friendlyness. Clients talking to TvScheduler can therefore concentrate on what's important in their domain, and let TvScheduler deal with all the guide- and schedule-related problems and logic. BTW, If you want to recompile the plugin you'll have to add the appropriate TvScheduler assemblies from the first posting as references. I hope this makes the real-world usage of TvScheduler a bit clearer to the MP devs. If the API methods are not clear on their own, by their name, please do tell me. I should do my best to add comments to the API, I know, but I've been busy developing first And as they say: good code needs little to no comments (cfr Extreme Programming) ![]() Last edited by dvdfreak; 2007-11-02 at 15:40. |
| | |
| | #182 (permalink) |
| Portal Tester | Hey dvdfreak, gotta a little issue here: I tried to import the 3rd tvguide.xml and it got moved to rejected folder. Log shows the following: ![]() Dunno whats wrong there, I played around with the channels, newer .xml has less channels. Maybe this triggered the error?
__________________ Some say he works as a tester for Team Mediaportal and some say that he smells bugs, even before they are written into the Code. All we know is, he's called The Stig. |
| | |
| | #183 (permalink) | |
| Portal Member | Quote:
| |
| | |
| | #184 (permalink) |
| Portal Tester | They are pretty large (both around 70 mb). Currently trying another import. So lets wait if it happens again... BTW: Import takes ages, around 30-40 minutes for my TVGuide.xml (even on a dualcore cpu). Seems that my EPG is very detailed. Any chance to speed this up?
__________________ Some say he works as a tester for Team Mediaportal and some say that he smells bugs, even before they are written into the Code. All we know is, he's called The Stig. |
| | |
| | #185 (permalink) | |
| Portal Member | Quote:
So far, all is going OK, hope to reproduce your error though.As far as the speed is concerned, I notice that SQL Express eats up over 50% of the CPU time and the TvScheduler service is only using 3% CPU or so. I guess that's more or less normal since most of the work going on is querying/updating the database. A good tip would be to schedule a guide update to be done at night. I can try to see how I could optimize the importing, perhaps there are some possibilities there. But I did write it to be very "friendly", meaning it looks in the database to see what's already (possiblly) there and acts accordingly, and I wouldn't want to take that out again. | |
| | |
| | #186 (permalink) | ||
| Portal Member Join Date: Jul 2007 Location: Kampenhout
Posts: 19
Thanks: 0
Thanked 1 Time in 1 Post
Country: | Quote:
| ||
| | |
| | #187 (permalink) |
| Portal Member | @The_Stig: I did some initial optimizing and importing the guide you sent me is down to 5.5 minutes here. After I upload a new version, let me know how this works out for you... UPDATE ALERT Beta release (November 3rd, 2007) Changes since the previous release:
![]() Last edited by dvdfreak; 2007-11-03 at 20:40. Reason: Automerged Doublepost |
| | |
| | #188 (permalink) |
| Portal Member | Here is a modified TV Movie ClickFinder plugin for TVE3. Just overwrite the TVMovie.dll in the plugins folder. IMPORTANT: you must also have my own TVE3 plugin installed! I also included the modified source. I kept the modification simple, it will only synchronize the same channels with TvScheduler as set up for TVE3. If there's enough interest I could modify the plugin so it synchronizes with TvScheduler separately from the TVE3 channel mappings. Or perhaps the original author 'rtv' could have a look? The modifications I made are really very very simple. |
| | |
| | #189 (permalink) |
| Portal Tester | With your newest files nearly nothing works here: 1. Clickfinder plugin doesnt import my Data at all now. It clears the TVE3-Table and doesnt import after that. 2. I cannot access the Management Console. Sometimes it shows the app, but shows a timeout when hitting on "Upcoming Recordings" or anything else. Sometimes its stuck on startup and asking for the connection. 3. I get on a restart a "Critical Plugin Error", but that happened with older versions too, I forgot to mention that here. I guess its related to your TVPlugin.
__________________ Some say he works as a tester for Team Mediaportal and some say that he smells bugs, even before they are written into the Code. All we know is, he's called The Stig. |
| | |
| | #190 (permalink) | |
| Portal Member | This is suprising news I have the versions I uploaded installed myself on my server. Or did I upload a bad version?You upgraded everything? TvScheduler service and the TVE3 plugin? PS: anything in the TV Server's logs? Or in the eventviewer? Quote:
So hopefully the error logs will clarify things. Otherwise, as a last measure, try deleting the TvScheduler database and re-install TvScheduler. Perhaps something went wrong in the database upgrade... Last edited by dvdfreak; 2007-11-04 at 12:21. Reason: Automerged Doublepost | |
| | |
![]() |
| Bookmarks |
| Tags |
| rulebased, service, tvscheduler |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Rule Based Post Processing | NewUser | General Support | 6 | 2008-02-27 14:37 |
| First beta of rule-based scheduler has been uploaded | dvdfreak | Development | 0 | 2007-09-19 15:05 |
| One remote to rule them all? | fathead | General Support | 5 | 2006-01-06 18:37 |
| Cant record using the scheduling feature | martyyn | General Support | 3 | 2005-12-26 14:32 |