MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2008-01-18, 22:44   #1 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 113
Thanks: 5
Thanked 20 Times in 15 Posts

Country:


Smile Sky Epg Grabber (Italy)

Salve a tutti.
Visto gli ultimi eventi legati all'EPG di Sky sono corso ai ripari.
In allegato trovate un programmino che scarica da internet la guida (completa! - compresi i canali HD) di Sky Italia e salva i dati in formato XMLTV, in modo da poter essere importato sia dal TVServer che da TVE2.
Il tutto in circa 2 minuti!!!

Il programma accetta i seguenti argomenti:

--configure : Crea il file channels.xml con la lista dei canali Sky. Potete modificarlo per scegliere quali canali volete che siano scaricati.

--days d : Scarica il numero 'd' di giorni (massimo 7)

--output "file" : Se non specificato salva nella stessa cartella dell'eseguibile col nome 'tvguide.xml'

--subtitle : gestisce il tag 'sub-title'. Se il tag --extrainfo è impostato, il tag è riempito con le sole informazioni essenziali.

--extrainfo : gestisce i tag 'credits' e 'episode-num'

--base1 : aggiunge +1 ai tag 'season-num' e 'episode-num' (per utenti MP, a causa di un buf di MP)

--mce : crea una guida compatibile con MCE/BladeRunner

--updatechannelinfo "file" : aggiorna/crea il channelinfo.xml con i 'channelid' della guida.

Fatemi sapere come va.
Spero di aver fatto cosa utile.

Grazie a Matro per la parte MCE.
------------------------------------------------------------------------------------------------------------------------------------------------

Software to download Sky Italia EPG in XMLTV format.

Switch:

--configure : build the file 'channel.xml'. Modify it to choose the channels to download.

--days d : number of day to download.

--output "file" : if not specified will use 'tvguide.xml'

--subtitle : handle 'sub-title' tag. If --extrainfo is set the tag is stripped out to minimal necessary info.

--extrainfo : handle 'credits' and 'episode-num' tags

--base1 : add +1 at 'season-num' and 'episode-num' tags (for MP users, due to an MP bug)

--mce : mce/bladerunner compatibility

--updatechannelinfo "file": update/build the 'channelinfo.xml' file of MCE/Bladrunner with the 'channelid' from EPG.


Let me know.

Thx Matro for the MCE section.

---------------------

History:

11/02/2008: Bug fix for DVBViewer users
19/02/2008: Fixed some bad characters from EPG source site.
20/02/2008: MCE compatibility (it's a test version because i don't have MCE, so please give me some feedback!!!)
21/02/2008: Now channelinfo.xml is created if not found! Plus others fix... (Still test version)
22/02/2008: Bux fix for MCE users. Removed --addstoptime switch (always active now)
02/03/2008: Bug fix

N.B. 01/03/2008: Sky Channels are changed so rebuild channels info with the --configure switch or deleting the channels.xml file
---------------------

Please go to HTPC Italia V.2 - Home, register and go to the "Guida TV" forum, topic "Nuovo Grabber EPG per Vista (..ed altri..)".

For any info send me a PM.

---------------------

Bye,
Nephilim

Last edited by NephilimDM; 2008-03-31 at 14:40.
NephilimDM is offline   Reply With Quote
4 Users Say Thank You:
Old 2008-01-19, 23:12   #2 (permalink)
Portal Member
 
Join Date: Apr 2007
Age: 31
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default Grazie..

Ancra non ho provato, ma ti ringrazio in anticipo...

Provato, sembrerebbe che nel tvengine 3, il plugin per l'importazione del file tvguide.xml, voglia anche il file tvguide.lst, se non addirittura il file xmltv.dtd

Last edited by drtato; 2008-01-19 at 23:15. Reason: Automerged Doublepost
drtato is offline   Reply With Quote
Old 2008-01-19, 23:31   #3 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 113
Thanks: 5
Thanked 20 Times in 15 Posts

Country:


Default

No il file tvguide.lst non è necessario.
Il file xmltv.dtd lo installa il tvserver.
Metti il mio file nella cartella xmltv di mediaportal per sicurezza.

Bye,
Nephilim
NephilimDM is offline   Reply With Quote
Old 2008-01-20, 17:53   #4 (permalink)
Portal Member
 
Join Date: Apr 2007
Age: 31
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Infatti solo 2 minuti dopo la mia domanda, ho scoperto che bastava levare il flag nella configurazione del plugin del TVE3 che riguarda il file tvguide.lst.
Ora la guida è completa e ti faccio i miei complimenti per il lavoro. Solo una cosa, verifica se anche a te, sembra che manchi 1 carattere all'inizio della descrizione di ogni evento. Attendo conferma.. Grazie.
drtato is offline   Reply With Quote
Old 2008-01-20, 19:52   #5 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Venice
Age: 41
Posts: 71
Thanks: 7
Thanked 2 Times in 2 Posts

Country:


Default

Semplicemente fe-no-me-na-le, come efficienza e funzionalità, rispetto al classico xmltv.exe -slow.



Sono previsti ulteriori sviluppi ? Avrei una "piccola" richiesta per la gestione delle serie TV, se fosse possibile.

Saluti,
xavier.
xavier is online now   Reply With Quote
Old 2008-01-20, 22:06   #6 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 113
Thanks: 5
Thanked 20 Times in 15 Posts

Country:


Thumbs up

@drtato
Grazie.
No, la descrizione sembra corretta.

@xavier
Grazie! Dimmi pure che hai in mente...

----------------

Ho trovato un piccolo errore nel codice, in allegato c'è la nuova versione (anche un pò più veloce).

Bye,
Nephilim

Last edited by NephilimDM; 2008-02-10 at 22:45.
NephilimDM is offline   Reply With Quote
Old 2008-01-20, 22:22   #7 (permalink)
Portal Developer
 
gemx's Avatar
 
Join Date: Oct 2006
Age: 32
Posts: 1,300
Thanks: 25
Thanked 198 Times in 105 Posts

Country:

My System

Default

Would you please continue this thread in english?
Although it's about Italian EPG, it might be interesting for others
__________________
ACCENT HT-100 | 2x16 VFD | ADM Athlon 64 3500+ | Win XP SP2 | SkyStar 2 DVB-S PCI | TT connect S2-3600
gemx is offline   Reply With Quote
Old 2008-01-20, 23:09   #8 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Venice
Age: 41
Posts: 71
Thanks: 7
Thanked 2 Times in 2 Posts

Country:


Default

Quote:
Originally Posted by NephilimDM View Post
@xavier
Grazie! Dimmi pure che hai in mente...
Si tratterebbe di fare in modo che il file .xml che generi contenesse dei tag in più ricavati dal testo esistente nel tag <desc>.

Innanzitutto confrontiamo l'output di xmltv e del tuo programma sul medesimo evento TV.

Questo è l'output di xmltv...

Code:
<programme start="20080120005000 +0100" stop="20080120022000 +0100" channel="www.raiuno.rai.it">
    <title lang="it">No Good Deed</title>
    <desc lang="it">Un poliziotto e' sulle tracce della figlia di un'amica, scappata di casa. Ma finisce nelle mani di una banda di rapinatori...</desc>
    <credits>
      <director>B.Rafelson</director>
      <actor>S.Jackson</actor>
      <actor>M.Jovovich</actor>
    </credits>
    <date>2002</date>
    <category lang="it">Film</category>
    <category lang="it">Poliziesco</category>
    <country lang="it">DEU/USA</country>
  </programme>
...e questo è il tuo:
Code:
<programme start="20080120005000 +0100" channel="899">
  <title lang="it">No Good Deed</title>
  <desc lang="it">Regia di B.Rafelson, con S.Jackson, M.Jovovich; DEU/USA 2002 (90 min). Un poliziotto e' sulle tracce della figlia di un'amica, scappata di casa. Ma finisce nelle mani di una banda di rapinatori...</desc>
  <category lang="it">Poliziesco</category>
  <category lang="it">Film</category>
</programme>
Quello che è interessante è il campo <desc>, che nel caso di xmltv è a sua volta scomposto in più tag: <director>, <actors> e <date>.

Se andiamo poi a prendere un episodio di una serie TV, anche qui è possibile attuare una scomposizione che però nemmeno xmltv fa:

Code:
<programme start="20080120041000 +0100" stop="20080120050000 +0100" channel="www.raiuno.rai.it">
  <title lang="it">Spazio 1999</title>
  <sub-title lang="it">1' Stagione Ep.13 - Rotta di collisione</sub-title>
  <desc lang="it">Sono in corso frenetici preparativi per deviare la rotta della Luna prima che entri in collisione con un pianeta. Ma qualcuno e' contrario...</desc>
  <category lang="it">Fiction</category>
  <category lang="it">Intrattenimento</category>
</programme>
Osserva il tag <sub-title>, contiene il numero della stagione e quello dell'episodio.

Il mio desiderio sarebbe quello di avere un file .xml in cui questo:

Code:
  <title lang="it">Spazio 1999</title>
  <sub-title lang="it">1' Stagione Ep.13 - Rotta di collisione</sub-title>
diventasse questo:

Code:
  <title lang="it">Spazio 1999</title>
  <sub-title lang="it">Rotta di collisione</sub-title>
  <episode-num system="xmltv_ns">1 . 13</episode-num>
L'obiettivo (che in passato avevo rozzamente tentato di implementare qui, ma che ora andrebbe completamente rivisto) è di ottenere il salvataggio dei singoli episodi delle serie TV in cartelle separate, pronti per l'utilizzo con il plugin myTVSeries.

Richiesta impossibile ?

Saluti,
xavier.

P.S. For gemx: I apologize for this post, but my english is very bad.
xavier is online now   Reply With Quote
Old 2008-01-21, 00:15   #9 (permalink)
Portal Member
 
Join Date: Feb 2007
Posts: 113
Thanks: 5
Thanked 20 Times in 15 Posts

Country:


Default

Si in effetti il campo descrizione potrebbe essere trattato per ricavarne altri dati.
Il problema è che il formato non sembra essere costante.
Tenterò di trovare un'algoritmo che copra la maggior parte dei casi.
Tra l'altro ho notato che nella guida il campo <sub-tittle> non viene visualizzato l'ho quindi eliminato dall'ultima versione del software.
Ma in effetti la soluzione migliore è quello di reintegralo, aggiungere i tag che tu seggerisci e lasciare la descrizione comunque per intero.

Che ne pensi?

@gemx
Ok we'll try to continue this thread in english. Sorry.

Bye,
Nephilim
NephilimDM is offline   Reply With Quote
Old 2008-01-21, 09:13   #10 (permalink)
Portal Developer
 
chemelli's Avatar
 
Join Date: Sep 2006
Location: Italy - Padova
Age: 34
Posts: 1,340
Thanks: 73
Thanked 73 Times in 58 Posts

Country:

My System

Send a message via Skype™ to chemelli
Default

gemx,

we are discussing about SkyEPGGrabber, an utility created by NephilimDM that will download the full EPG for Sky Italia in a xmltv format.

Many italian users are thanking the author, asking for new implementation (like <director>,<actors> tags) and ask if the issue they are seeing is a bug or their bad.

Simone
chemelli is online now   Reply With Quote
Reply

Bookmarks

Tags
epg, grabber, italy, sky

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
Sky EPG Listings? kevin081780 WebEPG 0 2007-09-21 17:28
proble strange with channel sky italy malcom67 pre 1.0 RC1 3 2007-03-26 11:08
SKY EPG xero01uk General Support 2 2006-08-17 23:52
EPG in UK with sky xero01uk WebEPG 4 2006-08-17 23:27
EPG for UK Sky? allanmb Codecs, External Players 1 2006-03-30 00:02


All times are GMT +1. The time now is 08:34.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden