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-20, 13:29   #641 (permalink)
MP Donator
 
petsa's Avatar
 
Join Date: Jan 2007
Location: Stockholm
Posts: 531
Thanks: 5
Thanked 10 Times in 10 Posts

Country:

My System

Default

Noone would be happier than me if I could have both TVcards in the same PC, but I get BSOD with the card having CI/CAM-module on my HTPC, hence it has to run on another PC where I don't get BSODs.

dvdfreak, I think you lost me now... Could you elaborate a little more how I can run TV3E plugin twice to get the same effect?

/Peter
petsa is offline   Reply With Quote
Old 2008-01-20, 14:37   #642 (permalink)
MP Donator
 
Starburst's Avatar
 
Join Date: Aug 2006
Age: 33
Posts: 60
Thanks: 3
Thanked 4 Times in 4 Posts

Country:

My System

Default

Hi DVDFREAK,

Quote:
Originally Posted by dvdfreak View Post
How valuable would you find it to have a ClickFinder TV Movie importer add-on for TV Scheduler?
I think it would be very valuable!

Now the TV-Server store all data in the description field (see below), because the episodesName-field (and others) doesnt exits in the table of the TV-Server (TvLibrary.Program)
I dont believe this table would be enlarged in the near future.

With all this data in the wrong (description-)field, some improvements of TvScheduler couldn't be used (eg "New episodes", "With Actor", ...).


Quote:
Originally Posted by TvEngine.TvMovieDatabase.ImportStation
Program prog = new Program(progChannel.IdChannel, newStartDate, newEndDate, title, description, genre, false, OnAirDate, string.Empty, string.Empty, EPGStarRating, classification,0);
if (audioFormat == String.Empty) prog.Description = description.Replace("<br>", "\n");
else prog.Description = "Ton: " + audioFormat + "\n" + description.Replace("<br>", "\n");
if (_extendDescription) {
StringBuilder sb = new StringBuilder();
if (episode != String.Empty) sb.Append("Folge: " + episode + "\n");
if (starRating != -1 && _showRatings) { sb.Append("Wertung: "); ... }
sb.Append(prog.Description + "\n");
if (director.Length > 0) sb.Append("Regie: " + director + "\n");
if (actors.Length > 0) sb.Append(BuildActorsDescription(actors));
if (classification != String.Empty && classification != "0") sb.Append("FSK: " + classification + "\n");
if (date != String.Empty) sb.Append("Jahr: " + date + "\n");
prog.Description = sb.ToString();
}
else {
if (_showRatings)
if (shortCritic.Length > 1) prog.Description = shortCritic + "\n" + description;
}

for your hard work!
Starburst is offline   Reply With Quote
Old 2008-01-20, 22:03   #643 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 75
Thanks: 1
Thanked 3 Times in 3 Posts

Country:


Default

Quote:
Originally Posted by stefancrs View Post
I get some other error when trying to make a schedule via the web interface now, but I haven't debugged it / looked at logs etc or anything yet, I'll get back to you if I have to
Here's what the log says:
System.FormatException: GUID ska innehålla 32 siffror med 4 streck (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
vid System.Guid..ctor(String g)
vid TvScheduler.WebAccess.Utility.GetGuidFromControlId (String value, Int32 startIndex, Guid& guid)
vid TvScheduler.WebAccess.Panels.TvGuidePanel.TitleLab el_Click(Object sender, EventArgs e)
vid System.Web.UI.WebControls.LinkButton.OnClick(Event Args e)
vid System.Web.UI.WebControls.LinkButton.RaisePostBack Event(String eventArgument)
vid System.Web.UI.WebControls.LinkButton.System.Web.UI .IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
vid System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument)
vid System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
vid System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

"ska innehålla 32 siffror med 4 streck" means "must contain 32 numbers and 4 dashes"

Any ideas?
stefancrs is offline   Reply With Quote
Old 2008-01-21, 07:47   #644 (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 tourettes View Post
Quote:
Originally Posted by dvdfreak View Post
Wouldn't it be much easier to redo your setup with only one TV Scheduler installed? Then run only the TVE3 plugin twice, and since that will only map the channels it recognizes all will automatically be ok, no?

Or am I missing something?
Single seat installation provides faster channel change times as the streaming will cause some overhead.
Right, understood. But I suggested using only one TV Scheduler, he could still use two TVE3 services and therefore two TVE3 plugins connected to the same TV Scheduler.

Quote:
Originally Posted by stefancrs View Post
Quote:
Originally Posted by stefancrs View Post
I get some other error when trying to make a schedule via the web interface now, but I haven't debugged it / looked at logs etc or anything yet, I'll get back to you if I have to
Here's what the log says:
System.FormatException: GUID ska innehålla 32 siffror med 4 streck (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
vid System.Guid..ctor(String g)
vid TvScheduler.WebAccess.Utility.GetGuidFromControlId (String value, Int32 startIndex, Guid& guid)
vid TvScheduler.WebAccess.Panels.TvGuidePanel.TitleLab el_Click(Object sender, EventArgs e)
vid System.Web.UI.WebControls.LinkButton.OnClick(Event Args e)
vid System.Web.UI.WebControls.LinkButton.RaisePostBack Event(String eventArgument)
vid System.Web.UI.WebControls.LinkButton.System.Web.UI .IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
vid System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument)
vid System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData)
vid System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

"ska innehålla 32 siffror med 4 streck" means "must contain 32 numbers and 4 dashes"

Any ideas?
Hmmm... It's very clear what the problem is, only I don't understand why your controls don't have the correct ID set. If this were a plain bug in my code everyone would see this problem, so I'm trying to understand why this would be different just on your installation...

What browser are you using and have you tried with a different one? The error occurs server-side, so it's not very likely browser-related, but you never know of course

Quote:
Originally Posted by Starburst View Post
Hi DVDFREAK,

Quote:
Originally Posted by dvdfreak View Post
How valuable would you find it to have a ClickFinder TV Movie importer add-on for TV Scheduler?
I think it would be very valuable!

Now the TV-Server store all data in the description field (see below), because the episodesName-field (and others) doesnt exits in the table of the TV-Server (TvLibrary.Program)
I dont believe this table would be enlarged in the near future.

With all this data in the wrong (description-)field, some improvements of TvScheduler couldn't be used (eg "New episodes", "With Actor", ...).
Right!

Since you post some code, do you have the necessary skills to "adjust" the current TVE3 plugin to make it a standalone EXE that talks to TV Scheduler? Obviously I can offer all the assistence you'd need.

Quote:
Originally Posted by petsa View Post
Noone would be happier than me if I could have both TVcards in the same PC, but I get BSOD with the card having CI/CAM-module on my HTPC, hence it has to run on another PC where I don't get BSODs.

dvdfreak, I think you lost me now... Could you elaborate a little more how I can run TV3E plugin twice to get the same effect?
Well, I was just thinking aloud but it seems you can set up TVE3 twice, like you do now. Obviously also install the TV Scheduler TVE3 plugin twice. But then only install TV Scheduler on one of your two machines.

Now, when it's time to synchronize schedules, the channel-name will only map correctly (I presume) on one of your two TVE3 installations, so the other installation will ignore that particular upcoming program, and will not sync it. The same will be true the other way around.

So you could manage all your schedules on the one TV Scheduler, and still have your two TVE3 server do all the recording work. When you use the management console, there's only one place to connect to. And if you'd like to use web access you also only need to install this once then.

Last edited by dvdfreak; 2008-01-21 at 08:08. Reason: Automerged Doublepost
dvdfreak is offline   Reply With Quote
Old 2008-01-21, 08:29   #645 (permalink)
MP Donator
 
petsa's Avatar
 
Join Date: Jan 2007
Location: Stockholm
Posts: 531
Thanks: 5
Thanked 10 Times in 10 Posts

Country:

My System

Default

Hi dvdfreak,

Sounds like a reasonable approach, having only one TVScheduler. But then it is back to my original question:

- Bug or feature? I have to restart TVScheduler for the changes to IP-address to have any effect. Since the TV3E plugins are on two different machines.

/Peter
petsa is offline   Reply With Quote
Old 2008-01-21, 08:34   #646 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 75
Thanks: 1
Thanked 3 Times in 3 Posts

Country:


Default

Quote:
Originally Posted by dvdfreak View Post
Hmmm... It's very clear what the problem is, only I don't understand why your controls don't have the correct ID set. If this were a plain bug in my code everyone would see this problem, so I'm trying to understand why this would be different just on your installation...

What browser are you using and have you tried with a different one? The error occurs server-side, so it's not very likely browser-related, but you never know of course
I will give it a try with another browser (IE) tonight.
I use firefox version 2 something something.
The only "different" thing I could think about is that I installed it (the web stuff) in a subdirectory called "TV", and not the default path. Could that have an effect on things? I bet that it SHOULDN'T, but still
stefancrs is offline   Reply With Quote
Old 2008-01-21, 08:34   #647 (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 petsa View Post
Sounds like a reasonable approach, having only one TVScheduler. But then it is back to my original question:

- Bug or feature? I have to restart TVScheduler for the changes to IP-address to have any effect. Since the TV3E plugins are on two different machines.
OK, now you've lost me again

Changes to what IP address? Of the machine itself? TV Scheduler will only run on one machine, and the only place you need to give an IP address is in the management console, the Web Access config or the TVE3 plugin. So what IP address (setting) are we talking about?

Quote:
Originally Posted by stefancrs View Post
I will give it a try with another browser (IE) tonight.
I use firefox version 2 something something.
The only "different" thing I could think about is that I installed it (the web stuff) in a subdirectory called "TV", and not the default path. Could that have an effect on things? I bet that it SHOULDN'T, but still
I tested with FireFox and know other users here are using FireFox as well, so that should be just fine.

The "TV" subdirectory should indeed not matter, it should run from anywhere. Is there a way for you to check what the IDs are of all the title-labels on the HTML page?

Quote:
Originally Posted by pkaul View Post
Hi lovers of the TV Scheduler,

with the help of dvdfreak I have just finished building a tiny integration for dealing with suggestions inside the mediaportal GUI: http://forum.team-mediaportal.com/tv...ns-t34182.html

Have fun.
I would like to apploud Peter's work! It's cool to see the first real MediaPortal plugin for TV Scheduler. He took the idea of what "suggestion schedules" are supposed to do, and really made it work!

Quote:
Originally Posted by stefancrs View Post
Here's what the log says:
System.FormatException: GUID ska innehålla 32 siffror med 4 streck (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
vid System.Guid..ctor(String g)
vid TvScheduler.WebAccess.Utility.GetGuidFromControlId (String value, Int32 startIndex, Guid& guid)
Hold The Press You don't need to do anymore checking, I have found the bug. Guess nobody else simply ran into this problem , or is still running an older version. I'll fix this in version 1.0.15.0!

Last edited by dvdfreak; 2008-01-21 at 08:56. Reason: Automerged Doublepost
dvdfreak is offline   Reply With Quote
Old 2008-01-21, 08:59   #648 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 75
Thanks: 1
Thanked 3 Times in 3 Posts

Country:


Default

Quote:
Originally Posted by dvdfreak View Post
Hold The Press You don't need to do anymore checking, I have found the bug. Guess nobody else simply ran into this problem , or is still running an older version. I'll fix this in version 1.0.15.0!
Awesome Odd no-one else reported it! Looking forward to 1.0.15.0!
stefancrs is offline   Reply With Quote
Old 2008-01-21, 11:10   #649 (permalink)
MP Donator
 
petsa's Avatar
 
Join Date: Jan 2007
Location: Stockholm
Posts: 531
Thanks: 5
Thanked 10 Times in 10 Posts

Country:

My System

Default

My fault, I just call the whole thing TVScheduler, but you are right this is in the management console. This is in order to direct it to another SQL server, i.e. the one running on the remote machine where the other TV3E server is running.

/Peter
petsa is offline   Reply With Quote
Old 2008-01-21, 11:22   #650 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 642
Thanks: 0
Thanked 49 Times in 32 Posts

Country:

My System

Default

Again confusion

The TV Scheduler management console connects to the TV Scheduler service, and nothing else. There is no database access from the console, the only database access ever done is from within the TV Scheduler service itself.

So since you will have only one TV Scheduler running, there will be no need to reconnect to anything else, right?
dvdfreak 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 11:04.


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