home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Submit: EPG-Grabbers and tuningdetails
Archive
[Italy] Grabber's URL changed: alice -> virgilio
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="benjerry" data-source="post: 636752" data-attributes="member: 57133"><p>Hi,</p><p></p><p>A small drawback exists with this patch because it's reusing the DayNames list which is intended to be used with DAY_NAME.</p><p></p><p>Here is an example from one of my grabbers how it can be used:</p><p></p><p>[CODE] <Site url="http://tvgids.upc.nl/TV/Guide/Channel/[ID]/[DAY_NAME]/" /></p><p> <Search language="en-US"></p><p> <!-- start with Tomorrow when grabtime between 0:00-5:59 --></p><p> <!-- start with Today when grabtime between 6:00-23:59 --></p><p> <DayNames></p><p> <!-- <Day>Today</Day> --></p><p> <Day>Tomorrow</Day></p><p> <Day>[WEEKDAY]</Day></p><p> <Day>[WEEKDAY]</Day></p><p> <Day>[WEEKDAY]</Day></p><p> <Day>[WEEKDAY]</Day></p><p> <Day>[WEEKDAY]</Day></p><p> <Day>[WEEKDAY]</Day></p><p> <Day>[WEEKDAY]</Day></p><p> </DayNames></p><p> </Search>[/CODE]</p><p></p><p>DAY_NAME is relative and indexed by offset from the starting day. In this example today and tomorrow are special for the first two days and for the following days the name of the weekday is used. The list needs to be as long as the number of days grabbed.</p><p></p><p>With this patch it would be impossible to use script-defined weekdaynames in combination with dayoffset names like in the example.</p><p></p><p>I think that it would be better if a seperate list <WeekDayNames> was implemented and integrated with [WEEKDAY].</p></blockquote><p></p>
[QUOTE="benjerry, post: 636752, member: 57133"] Hi, A small drawback exists with this patch because it's reusing the DayNames list which is intended to be used with DAY_NAME. Here is an example from one of my grabbers how it can be used: [CODE] <Site url="http://tvgids.upc.nl/TV/Guide/Channel/[ID]/[DAY_NAME]/" /> <Search language="en-US"> <!-- start with Tomorrow when grabtime between 0:00-5:59 --> <!-- start with Today when grabtime between 6:00-23:59 --> <DayNames> <!-- <Day>Today</Day> --> <Day>Tomorrow</Day> <Day>[WEEKDAY]</Day> <Day>[WEEKDAY]</Day> <Day>[WEEKDAY]</Day> <Day>[WEEKDAY]</Day> <Day>[WEEKDAY]</Day> <Day>[WEEKDAY]</Day> <Day>[WEEKDAY]</Day> </DayNames> </Search>[/CODE] DAY_NAME is relative and indexed by offset from the starting day. In this example today and tomorrow are special for the first two days and for the following days the name of the weekday is used. The list needs to be as long as the number of days grabbed. With this patch it would be impossible to use script-defined weekdaynames in combination with dayoffset names like in the example. I think that it would be better if a seperate list <WeekDayNames> was implemented and integrated with [WEEKDAY]. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: EPG-Grabbers and tuningdetails
Archive
[Italy] Grabber's URL changed: alice -> virgilio
Contact us
RSS
Top
Bottom