MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Community Plugins


Community Plugins TV-Server Plugins created from users for users, can be found here.

Reply
 
Thread Tools Display Modes
Old 2008-01-30, 22:27   #681 (permalink)
Portal Member
 
vertiger's Avatar
 
Join Date: Jul 2007
Posts: 142
Thanks: 2
Thanked 23 Times in 11 Posts

Country:

My System

Default

hi dvdfreak,

is it possible to change the TVE3 plugin to only sync TV channels? (it also tries to sync the epg of radio channels)

i would like to make the changes myself but i can not find the sources for the plugin.

Last edited by vertiger; 2008-01-31 at 08:07.
vertiger is offline   Reply With Quote
Old 2008-01-30, 22:37   #682 (permalink)
Portal Member
 
sunflower's Avatar
 
Join Date: Feb 2007
Location: Cologne
Age: 46
Posts: 103
Thanks: 2
Thanked 0 Times in 0 Posts

Country:

My System

Default

I'm confused:

Doesn't the scheduler work with TV3?
sunflower is online now   Reply With Quote
Old 2008-01-31, 12:03   #683 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 642
Thanks: 0
Thanked 49 Times in 32 Posts

Country:

My System

Default

Quote:
Originally Posted by vertiger View Post
hi dvdfreak,

is it possible to change the TVE3 plugin to only sync TV channels? (it also tries to sync the epg of radio channels)
Good point!

Quote:
Originally Posted by vertiger View Post
i would like to make the changes myself but i can not find the sources for the plugin.
I'm attaching the source to this post, and I'll also add it to the first post of this thread.

If anyone else is interested in improving the plugin (e.g. to make it sync deleted recordings too, like Midget pointed out), feel free of course. Just please send me the modified source so I can incorporate and merge all changes.
Attached Files
File Type: zip TVE3Plugin_source.zip (477.0 KB, 10 views)
dvdfreak is offline   Reply With Quote
Old 2008-01-31, 12:04   #684 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 642
Thanks: 0
Thanked 49 Times in 32 Posts

Country:

My System

Default

Quote:
Originally Posted by sunflower View Post
I'm confused:

Doesn't the scheduler work with TV3?
There is a TVE3 plugin which is the bridge between TV Scheduler and MediaPortal's TVE3.
dvdfreak is offline   Reply With Quote
Old 2008-01-31, 16:12   #685 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 642
Thanks: 0
Thanked 49 Times in 32 Posts

Country:

My System

Default

Quote:
Originally Posted by wunschkind View Post
Error: StatementErrorUnclassified
Gentle.Common.GentleException: select GuideProgramId, GuideChannelId, Title, StartTime, StopTime, SubTitle, Description, Category, IsRepeat, IsPremiere, VideoAspect, SeriesNumber, EpisodeNumberDisplay, EpisodeNumber, EpisodeNumberTotal, EpisodePart, EpisodePartTotal, Rating, StarRating, Director, Actors, LastModifiedTime, IsDeleted, Version from GuideProgram where GuideChannelId = @GuideChannelId and StopTime > @StopTime and StartTime < @StartTime order by StartTime; ---> System.Data.SqlClient.SqlException: Timeout ist abgelaufen. Das Zeitlimit wurde vor dem Beenden des Vorgangs überschritten oder der Server reagiert nicht.
I may have an explanation for this problem. Is it possible that you have:
  1. a LOT of guide data, so many channels with many programs?
  2. complex schedules that use one or more Contains rules, and typically without any channels limitation on top of that?
Both of these together could mean that the query used by TV Scheduler will be quite heavy for SQL Express so that it takes a lot longer to complete the query than usually, especially if your system is under load.

I'm going to add a much longer timeout for that one particular query in the next version, hoping that this will fix this problem.
dvdfreak is offline   Reply With Quote
Old 2008-01-31, 19:49   #686 (permalink)
Portal Member
 
vertiger's Avatar
 
Join Date: Jul 2007
Posts: 142
Thanks: 2
Thanked 23 Times in 11 Posts

Country:

My System

Default

Quote:
Originally Posted by dvdfreak View Post
Quote:
Originally Posted by vertiger View Post
hi dvdfreak,

is it possible to change the TVE3 plugin to only sync TV channels? (it also tries to sync the epg of radio channels)
Good point!

Quote:
Originally Posted by vertiger View Post
i would like to make the changes myself but i can not find the sources for the plugin.
I'm attaching the source to this post, and I'll also add it to the first post of this thread.

If anyone else is interested in improving the plugin (e.g. to make it sync deleted recordings too, like Midget pointed out), feel free of course. Just please send me the modified source so I can incorporate and merge all changes.
hi dvdfreak,

here is the changed source, it was just a small change
Attached Files
File Type: zip TvSchedulerSyncEpgThread.zip (1.9 KB, 5 views)
vertiger is offline   Reply With Quote
Old 2008-02-01, 06:57   #687 (permalink)
Portal Member
 
Join Date: Jan 2005
Posts: 184
Thanks: 1
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by dvdfreak View Post
Quote:
Originally Posted by wunschkind View Post
Error: StatementErrorUnclassified
Gentle.Common.GentleException: select GuideProgramId, GuideChannelId, Title, StartTime, StopTime, SubTitle, Description, Category, IsRepeat, IsPremiere, VideoAspect, SeriesNumber, EpisodeNumberDisplay, EpisodeNumber, EpisodeNumberTotal, EpisodePart, EpisodePartTotal, Rating, StarRating, Director, Actors, LastModifiedTime, IsDeleted, Version from GuideProgram where GuideChannelId = @GuideChannelId and StopTime > @StopTime and StartTime < @StartTime order by StartTime; ---> System.Data.SqlClient.SqlException: Timeout ist abgelaufen. Das Zeitlimit wurde vor dem Beenden des Vorgangs überschritten oder der Server reagiert nicht.
I may have an explanation for this problem. Is it possible that you have:
  1. a LOT of guide data, so many channels with many programs?
  2. complex schedules that use one or more Contains rules, and typically without any channels limitation on top of that?
Both of these together could mean that the query used by TV Scheduler will be quite heavy for SQL Express so that it takes a lot longer to complete the query than usually, especially if your system is under load.

I'm going to add a much longer timeout for that one particular query in the next version, hoping that this will fix this problem.
hi dvdfreak ... this would be great. thank you ... i´ll try then.

wunschkind
wunschkind is offline   Reply With Quote
Old 2008-02-01, 07:56   #688 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 642
Thanks: 0
Thanked 49 Times in 32 Posts

Country:

My System

Default

Quote:
Originally Posted by vertiger View Post
hi dvdfreak,

here is the changed source, it was just a small change


I'll add this to the next release. If people really want this sooner, feel free to post some binaries.
dvdfreak is offline   Reply With Quote
Old 2008-02-01, 16:58   #689 (permalink)
Portal Member
 
vertiger's Avatar
 
Join Date: Jul 2007
Posts: 142
Thanks: 2
Thanked 23 Times in 11 Posts

Country:

My System

Default

Quote:
Originally Posted by dvdfreak View Post
Quote:
Originally Posted by vertiger View Post
hi dvdfreak,

here is the changed source, it was just a small change


I'll add this to the next release. If people really want this sooner, feel free to post some binaries.
here it is
Attached Files
File Type: zip TVE3_Pugin_only_TV_channels.zip (42.8 KB, 14 views)
vertiger is offline   Reply With Quote
Old 2008-02-04, 15:07   #690 (permalink)
Portal Member
 
Join Date: Jan 2008
Posts: 39
Thanks: 2
Thanked 0 Times in 0 Posts


Exclamation

Hi everbody,

is the source of the management console available?

I want to modify the startup procedure a little bit.
My plan is to integrate an automatic Wake-On-Lan feature.

it should work this way:

Code:
  check if TVServer ist online
    if
       just connect and bring up the console
    else
      send WOL package to the server to bring it up, 
         if seccessful
            connect and open the console
          else 
             wait for user instructions (e.g. if you start the program the fist time)
MOnchi

ps.: would be nice if you can put the source on the SVN so overybody has axx to the lastes ones
Monchi is offline   Reply With Quote
Reply

Bookmarks

Tags
rulebased, service, tvscheduler

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 Off

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


All times are GMT +1. The time now is 10:58.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden