[Italy] Grabber's URL changed: alice -> virgilio (1 Viewer)

Loghorn

New Member
January 9, 2010
3
0
re: [Italy] Grabber's URL changed: alice -> virgilio

I hope you understand why it is important to respect feature freeze even for these small changes, and thank you for your effort.

I totally understand. Thank you very much to you and all the other MediaPortal developers.

Alessandro
 

benjerry

MP Donator
  • Premium Supporter
  • September 26, 2007
    167
    10
    Home Country
    Netherlands Netherlands
    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>

    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].
     

    Users who are viewing this thread

    Top Bottom