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-05-01, 13:41   #841 (permalink)
Portal Member
 
sunsetdk's Avatar
 
Join Date: Oct 2005
Location: Nordborg
Age: 28
Posts: 110
Thanks: 4
Thanked 2 Times in 2 Posts

Country:

My System

Send a message via MSN to sunsetdk
Default

If i remember correct Liquidtouch i had the same problem, and running the below command solved it.

"aspnet_regiis -i" under "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 "

René
sunsetdk is offline   Reply With Quote
This User Say Thank You:
Old 2008-05-01, 16:26   #842 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 63
Thanks: 8
Thanked 1 Time in 1 Post

Country:

My System

Default

nope

DUH I was coping and pasting the whole thing and trying to run it....... I just looked at it again (this time not at 11:30 PM). I will browse to that folder and enter in the command after work tonight. Serves me right for not seeing the end quote and start quote on both sides of " Under " those make a big difference in the command. BAD copy+paste..........Thanks for your help.....

JK.

Last edited by Liquidtouch; 2008-05-01 at 16:31. Reason: Automerged Doublepost
Liquidtouch is offline   Reply With Quote
Old 2008-05-02, 07:20   #843 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 63
Thanks: 8
Thanked 1 Time in 1 Post

Country:

My System

Question

Ok, I need some clarification.

I currently use the Schedules Direct plugin for downloading my EPG data into Media Portal. There is no option to choose where to save that data and I dont know where it does save it. For this plugin to work do I need to get a third party software to pull the XML from Schedules Direct and save it in the XMLTV folder for this application? If thats the case then this does not use the same guide data as Media Portal but it should match?

Or am I way over thinking this?

Where is the local location that Media Portal gets its data from and can I export that to get my XML data?

Im confused.....
Liquidtouch is offline   Reply With Quote
Old 2008-05-02, 15:23   #844 (permalink)
Portal Member
 
sunsetdk's Avatar
 
Join Date: Oct 2005
Location: Nordborg
Age: 28
Posts: 110
Thanks: 4
Thanked 2 Times in 2 Posts

Country:

My System

Send a message via MSN to sunsetdk
Default

Quote:
Originally Posted by Liquidtouch View Post
Ok, I need some clarification.

Where is the local location that Media Portal gets its data from and can I export that to get my XML data?

Im confused.....

Im not quite sure what you mean. But normally MP gets the xmltv files from the %program files%\team mediaportal\mediaportal\xmltv

What i'm doing at the moment. I have 3 programs generating my xmltv files, they are dumped in that folder, then i have a .bat file that copies all the files into the tc scheduler folder.

René

I have a problem i think. My xmltv supply a subtitle and a episode number, and by the look if it both are impoted. But if i tick record all new episodes only i only get the first recording as all of them has the same subtitle, is this corect? Does the tv scheduler look at the sub titles rather than the episode number if a sub exist? or am i doing somehing wong. Do i need to supply some log files or something?
Before i reinstalled i didn't have this probem, but i also let the TVE3 pluing sync the tv guide. Now i'm dumping the tvguide for tv scheduler to import.

René

Last edited by sunsetdk; 2008-05-02 at 15:28. Reason: Automerged Doublepost
sunsetdk is offline   Reply With Quote
Old 2008-05-02, 18:44   #845 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 63
Thanks: 8
Thanked 1 Time in 1 Post

Country:

My System

Default

That folder was empty for me but I do in fact have a guide in MP. I am running a client/server singleseat setup with the latest MP1. By data I am unsure how the schedules direct plugin works, perhaps its putting the XML info directly into the database? I can not find my TV Guide XML data using the Schedules Direct Plugin with MP 1
Liquidtouch is offline   Reply With Quote
Old 2008-05-02, 20:35   #846 (permalink)
Portal Member
 
sunsetdk's Avatar
 
Join Date: Oct 2005
Location: Nordborg
Age: 28
Posts: 110
Thanks: 4
Thanked 2 Times in 2 Posts

Country:

My System

Send a message via MSN to sunsetdk
Default

You can try and set the tve3 plugin to sync the tc guide, i used that for some time, i know that it is not excactly what it is ment for, but it works
sunsetdk is offline   Reply With Quote
Old 2008-05-06, 21:40   #847 (permalink)
Portal Member
 
Join Date: Mar 2008
Posts: 41
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Default

Pulling my hair out trying to figure this out.

I'm using xmltv's tv_grab_na_dd (latest version) to download my lineup from Shedules Direct. My basic issue is that the resulting xml file has no reference to the attributes "repeat" or "new" -- so everything that's not a sports event is marked "repeat" in TvScheduler.

I've written a python script (attached) that seems to accurately determine whether a program is new by comparing the "programme start" time to the "previously-shown" or "date" values. In its current state it modifies any such programme block by adding "<new></new>" on a line by itself... a modification that doesn't work.

Thing is, I've been completely unable to find a simple explanation of what a new or repeat attribute should look like... there are references to needing to set it, needing to use "new" instead of "repeat," a Tribune data schema document referencing "xtvd/schedules/schedule/@new" -- but never an actual example of a programme block that's properly marked as "new."

I've tried adding new="true" and/or repeat="false" to the settings (start, stop, channel) inside the actual "programme" tag. I've tried adding a <new></new> entry to the programme grouping's body, as the attached script does. I've removed "previously-shown" tags when present. But nothing seems to tell TvScheduler "this is not a repeat!"

Here's a sample programme block:
Code:
  <programme start="20080506040000 +0000" stop="20080506050000 +0000" channel="I19571.labs.zap2it.com">
    <title lang="en">House</title>
    <sub-title lang="en">Living the Dream</sub-title>
    <desc lang="en">House takes matters into his own hands when he feels certain that one of the actors on his favorite soap opera (Jason Lewis) is suffering from a serious medical condition, but the actor dismisses House's assessment.</desc>
    <date>20080505</date>
    <category lang="en">Mystery</category>
    <category lang="en">Medical</category>
    <category lang="en">Series</category>
    <episode-num system="dd_progid">EP00688359.0086</episode-num>
    <episode-num system="onscreen">414</episode-num>
    <video>
      <aspect>16:9</aspect>
      <quality>HDTV</quality>
    </video>
    <audio>
      <stereo>dolby</stereo>
    </audio>
    <subtitles type="teletext" />
    <rating system="VCHIP">
      <value>TV-14</value>
    </rating>
  </programme>
My python script properly recognizes this as a new episode because the "start=" field in the "programme" tag is closer than 5 days to the value framed by <date></date>, however I have no clue what to do about it, despite hours upon hours of googling!

Can someone please rescue me by replying with what that block needs to look like for TvScheduler to consider it new?

Thanks!
Attached Files
File Type: zip markNew.zip (549 Bytes, 0 views)

Last edited by mrbenji; 2008-05-06 at 22:02.
mrbenji is offline   Reply With Quote
Old 2008-05-07, 08:54   #848 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 642
Thanks: 0
Thanked 49 Times in 32 Posts

Country:

My System

Default

The answer is very very simple actually: when there is a <previously-shown> tag the program is always marked as being a repeat, since XMLTV tells us it was previously shown.

So simply remove the <previously-shown> tag on those programs instead of adding a new tag

Quote:
Originally Posted by Liquidtouch View Post
That folder was empty for me but I do in fact have a guide in MP. I am running a client/server singleseat setup with the latest MP1. By data I am unsure how the schedules direct plugin works, perhaps its putting the XML info directly into the database? I can not find my TV Guide XML data using the Schedules Direct Plugin with MP 1
When the "new TV Scheduler" is out perhaps I (or some users ) can convince the author of the Schedules Direct plugin to write an importer for "new TV Scheduler", so to have the guide data imported straight into the system over the WCF services, similar to what it does today for TV Server (pump the data straight into the database).

Last edited by dvdfreak; 2008-05-07 at 08:57. Reason: Automerged Doublepost
dvdfreak is offline   Reply With Quote
Old 2008-05-07, 17:57   #849 (permalink)
Portal Member
 
Join Date: Mar 2008
Posts: 41
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Default

Quote:
Originally Posted by dvdfreak View Post
The answer is very very simple actually: when there is a <previously-shown> tag the program is always marked as being a repeat, since XMLTV tells us it was previously shown.

So simply remove the <previously-shown> tag on those programs instead of adding a new tag
That's the first thing I tried, actually... I only went on to the tag additions when that didn't work.

I did resolve the issue, though... apparently I needed to delete TvScheduler's guide data before importing my "cleaned" XML file. Once I did that then repeats were correctly marked.

Thanks for the reply, and for this scheduler... I love it!
mrbenji is offline   Reply With Quote
Old 2008-05-08, 00:29   #850 (permalink)
Portal Member
 
Join Date: Mar 2008
Posts: 41
Thanks: 1
Thanked 1 Time in 1 Post

Country:


Default Python script to fix Shedules Direct XML files for TvScheduler

I posted earlier about my issues with Schedules Direct XMLs produced by xmltv.exe, which load into TvScheduler with nearly every first run show marked "Repeat."

I've got this issue resolved now, by first clicking "Delete All Guide Data" in the TV Scheduler Management Console's settings section, then processing my XML with a Python script I wrote and feeding it to TvScheduler. Oh, and the guide data deletion step should only have to be done the first time.

With this issue resolved TvScheduler now removes one of MP's biggest wife-acceptance-factor hurdles... no "First Run Only" scheduling. Yay!

In the hopes others in my situation will benefit from my efforts, I've attached my Python script. To use it you'll need to download & install ActiveState's free Python distribution (btw, you don't have to enter your name or email to download this... just click "continue."). Next, unzip the script to somewhere that makes sense, edit it to point to your XML file's location, then run markNew.py before copying your "fixed" XML file into TvSchedule's XML "inbox."

There's a setting near the top of the Python script that will do that last step for you.

Please let me know if you have any questions.
Attached Files
File Type: zip markNew.zip (1.2 KB, 0 views)

Last edited by mrbenji; 2008-05-14 at 20:59. Reason: Updated script to newest version
mrbenji is offline   Reply With Quote
This User Say Thank You:
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 13:36.


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