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
Updated italian grabber
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="BioEgo" data-source="post: 610318" data-attributes="member: 74791"><p>Hi! I just made an improved version of this grabber using sublinks to fetch also the program description. Since this grabber is still subject to the day names problem (<a href="http://mantis.team-mediaportal.com/view.php?id=2629" target="_blank">0002629: Allow weekday names to be configured in the grabber file - MediaPortal Bugtracker</a>) I also devised a quick workaround for that: I made 7 more copies of the grabber and named them for each weekday (monday.xml,tuesday.xml,...), in each one I rotated the DAYNAME parameters in order to have the first day set as the current weekday so in monday.xml I have this:</p><p></p><p>[CODE]</p><p><DayNames></p><p> <Day>lunedi</Day></p><p> <Day>martedi</Day></p><p> <Day>mercoledi</Day></p><p> <Day>giovedi</Day></p><p> <Day>venerdi</Day></p><p> <Day>sabato</Day></p><p> <Day>domenica</Day></p><p> </DayNames></p><p>[/CODE]</p><p></p><p>in tuesday.xml I have:</p><p>[CODE]<DayNames></p><p> <Day>martedi</Day></p><p> <Day>mercoledi</Day></p><p> <Day>giovedi</Day></p><p> <Day>venerdi</Day></p><p> <Day>sabato</Day></p><p> <Day>domenica</Day></p><p> <Day>lunedi</Day></p><p> </DayNames>[/CODE]</p><p></p><p>and so on. Then I use a simple batch file (data.txt in the attachments, rename it to data.bat to use!) to retrieve the date from the BIOS (just to avoid interference due to international settings) a rotate the files accordingly in order to have the proper grabber each day! The batch file and the various xmls should be in the same folder of the original grabber and I use scheduled tasks in order to automatically perform the rotation each day. I know it is not a very elegant solution, but it works <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" /></p><p>HTH,</p><p>Bye!</p><p></p><p>EDIT: a small update to the grabber file: the parser was missing some entries, now it should get all of them. Also changed a little bit the sublink parsing (they added a warning about using an unsupported browser that was disrupting the previous parser version). bye!</p></blockquote><p></p>
[QUOTE="BioEgo, post: 610318, member: 74791"] Hi! I just made an improved version of this grabber using sublinks to fetch also the program description. Since this grabber is still subject to the day names problem ([URL="http://mantis.team-mediaportal.com/view.php?id=2629"]0002629: Allow weekday names to be configured in the grabber file - MediaPortal Bugtracker[/URL]) I also devised a quick workaround for that: I made 7 more copies of the grabber and named them for each weekday (monday.xml,tuesday.xml,...), in each one I rotated the DAYNAME parameters in order to have the first day set as the current weekday so in monday.xml I have this: [CODE] <DayNames> <Day>lunedi</Day> <Day>martedi</Day> <Day>mercoledi</Day> <Day>giovedi</Day> <Day>venerdi</Day> <Day>sabato</Day> <Day>domenica</Day> </DayNames> [/CODE] in tuesday.xml I have: [CODE]<DayNames> <Day>martedi</Day> <Day>mercoledi</Day> <Day>giovedi</Day> <Day>venerdi</Day> <Day>sabato</Day> <Day>domenica</Day> <Day>lunedi</Day> </DayNames>[/CODE] and so on. Then I use a simple batch file (data.txt in the attachments, rename it to data.bat to use!) to retrieve the date from the BIOS (just to avoid interference due to international settings) a rotate the files accordingly in order to have the proper grabber each day! The batch file and the various xmls should be in the same folder of the original grabber and I use scheduled tasks in order to automatically perform the rotation each day. I know it is not a very elegant solution, but it works :P HTH, Bye! EDIT: a small update to the grabber file: the parser was missing some entries, now it should get all of them. Also changed a little bit the sublink parsing (they added a warning about using an unsupported browser that was disrupting the previous parser version). bye! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Submit: EPG-Grabbers and tuningdetails
Archive
Updated italian grabber
Contact us
RSS
Top
Bottom