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
Support
Electronic Program Guide
An easy way to download a packed EPG from a site
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="chlodny" data-source="post: 558696" data-attributes="member: 98034"><p>Some sites provide ready EPGs but they are packed. I know that there's a utility to download those (<a href="https://forum.team-mediaportal.com/electronic-program-guide-67/epg-downloader-service-tv-server-only-32166/" target="_blank">https://forum.team-mediaportal.com/electronic-program-guide-67/epg-downloader-service-tv-server-only-32166/</a>) but what if you don't want to install anything new on your computer or use the old TV plugin instead of the TV Server? It's quite easy but I needed a lot of time to figure it out (well, the easiest way is always hard to find). We can use the Windows command line and create a batch file which will do everything for us. The two small utilities we also need are iOpus File Downloader and Freebyte ZIP (of course you can use any application you like, the only condition for it is the command line support) which are free.</p><p></p><p><a href="http://www.sharewareconnection.com/download-iopus-file-and-web-page-downloader-from-sharecon.html" target="_blank">iOpus File and Web Page Downloader</a></p><p><a href="http://www.freebyte.com/fbzip/" target="_blank">Freebyte ZIP</a></p><p></p><p>The only files we will need from those are downloader.exe from the first one and FBZip.exe from the second one. Now let's put those in some directory we want to keep them. I put them to the xmltv folder to have them all in one place. Let's create a txt file on the desktop and open it with Notepad. You will have to use the ancient way with short directory names because using the long names might cause the whole thing not working properly. Now, the first command is to <strong>activate the EPG download</strong> and here it is:</p><p></p><p><em>[your path]\downloader.exe -download [your full link] [the name of the downloaded file]</em> (My case: C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\downloader.exe -download <a href="http://download.ubuntu.pl/tv-guide/xmltv_full.zip" target="_blank">http://download.ubuntu.pl/tv-guide/xmltv_full.zip</a> xmltv_full.zip)</p><p></p><p><strong>Next we have to unpack the guide:</strong></p><p></p><p><em>[your path]\fbzip -e "[the path to the zip file]" "[the path where the file should be unpacked]"</em> (My case: C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\fbzip -e "C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\xmltv_full.zip" "C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\")</p><p></p><p><strong>Now let's delete the old EPG file:</strong></p><p></p><p><em>del [your path]\TVGuide.xml</em> (My case: del C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\TVGuide.xml)</p><p></p><p><strong>Now just rename the new EPG file:</strong></p><p></p><p><em>rename [your path] TVGuide.xml</em> (My case: rename C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\xmltv_full.xml TVGuide.xml)</p><p></p><p><strong>And the last thing is to delete the zip file we downloaded:</strong></p><p></p><p><em>del [your path]</em> (My case: del C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\xmltv_full.zip)</p><p></p><p>Now save the file and change the name to something.bat, e.g. TVGuide.bat and put it in a directory you like. I put it in the xmltv folder too.</p><p>You can now use it with My Programs plugin to download the EPG data on your own or let (for example) the Windows Task Scheduler to do it for you. No more pain of getting off the couch<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> I hope I explained it clearly but if you have questions, feel free to ask them.</p><p></p><p>Chlodny</p></blockquote><p></p>
[QUOTE="chlodny, post: 558696, member: 98034"] Some sites provide ready EPGs but they are packed. I know that there's a utility to download those ([url]https://forum.team-mediaportal.com/electronic-program-guide-67/epg-downloader-service-tv-server-only-32166/[/url]) but what if you don't want to install anything new on your computer or use the old TV plugin instead of the TV Server? It's quite easy but I needed a lot of time to figure it out (well, the easiest way is always hard to find). We can use the Windows command line and create a batch file which will do everything for us. The two small utilities we also need are iOpus File Downloader and Freebyte ZIP (of course you can use any application you like, the only condition for it is the command line support) which are free. [url=http://www.sharewareconnection.com/download-iopus-file-and-web-page-downloader-from-sharecon.html]iOpus File and Web Page Downloader[/url] [url=http://www.freebyte.com/fbzip/]Freebyte ZIP[/url] The only files we will need from those are downloader.exe from the first one and FBZip.exe from the second one. Now let's put those in some directory we want to keep them. I put them to the xmltv folder to have them all in one place. Let's create a txt file on the desktop and open it with Notepad. You will have to use the ancient way with short directory names because using the long names might cause the whole thing not working properly. Now, the first command is to [B]activate the EPG download[/B] and here it is: [I][your path]\downloader.exe -download [your full link] [the name of the downloaded file][/I] (My case: C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\downloader.exe -download [url]http://download.ubuntu.pl/tv-guide/xmltv_full.zip[/url] xmltv_full.zip) [B]Next we have to unpack the guide:[/B] [I][your path]\fbzip -e "[the path to the zip file]" "[the path where the file should be unpacked]"[/I] (My case: C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\fbzip -e "C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\xmltv_full.zip" "C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\") [B]Now let's delete the old EPG file:[/B] [I]del [your path]\TVGuide.xml[/I] (My case: del C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\TVGuide.xml) [B]Now just rename the new EPG file:[/B] [I]rename [your path] TVGuide.xml[/I] (My case: rename C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\xmltv_full.xml TVGuide.xml) [B]And the last thing is to delete the zip file we downloaded:[/B] [I]del [your path][/I] (My case: del C:\Docume~1\AllUse~1\Daneap~1\Teamme~1\Mediap~1\xmltv\xmltv_full.zip) Now save the file and change the name to something.bat, e.g. TVGuide.bat and put it in a directory you like. I put it in the xmltv folder too. You can now use it with My Programs plugin to download the EPG data on your own or let (for example) the Windows Task Scheduler to do it for you. No more pain of getting off the couch:) I hope I explained it clearly but if you have questions, feel free to ask them. Chlodny [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Electronic Program Guide
An easy way to download a packed EPG from a site
Contact us
RSS
Top
Bottom