LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   no xml, convert tvtime stationlist to xml for mythtv/freevo... (https://www.linuxquestions.org/questions/linux-general-1/no-xml-convert-tvtime-stationlist-to-xml-for-mythtv-freevo-596436/)

frenchn00b 11-01-2007 04:39 PM

no xml, convert tvtime stationlist to xml for mythtv/freevo...
 
Hi,
I would need xmltv channel in I dont know where. I installed freevo, and would like that xml channel exists.

I have this in my :
.xawtv
Code:

[global]
freqtab = europe-west

[defaults]
input = Television
norm = PAL

[unknown (E3)]
channel = E3

[unknown (E4)]
channel = E4

[unknown (E5)]
channel = E5

[unknown (E8)]
channel = E8

[unknown (E9)]
channel = E9

[unknown (E10)]
channel = E10

[unknown (E11)]
channel = E11

[unknown (E12)]
channel = E12

[unknown (SE4)]
channel = SE4

[unknown (SE5)]
channel = SE5

[unknown (SE6)]
channel = SE6

[unknown (SE7)]
channel = SE7

[unknown (SE8)]
channel = SE8

[unknown (SE9)]
channel = SE9

[unknown (SE10)]
channel = SE10

[unknown (SE11)]
channel = SE11

[unknown (SE12)]
channel = SE12

[unknown (SE13)]
channel = SE13

[unknown (SE14)]
channel = SE14

[unknown (SE15)]
channel = SE15

[unknown (SE16)]
channel = SE16

[unknown (SE17)]
channel = SE17

[unknown (SE18)]
channel = SE18

[unknown (SE19)]
channel = SE19

[unknown (S21)]
channel = S21

[unknown (S22)]
channel = S22

[unknown (S23)]
channel = S23

[unknown (S24)]
channel = S24

[unknown (S25)]
channel = S25

[unknown (S26)]
channel = S26

[unknown (S27)]
channel = S27

[unknown (S28)]
channel = S28

gedit .tvtime/stationlist.xml
Code:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE stationlist PUBLIC "-//tvtime//DTD stationlist 1.0//EN" "http://tvtime.sourceforge.net/DTD/stationlist1.dtd">
<stationlist xmlns='http://tvtime.sourceforge.net/DTD/'>
  <list frequencies='europe' norm='PAL' audio='i'>
    <station norm='PAL' channel='E1' band='VHF E2-E12' audio='auto' name='1' position='1' active='0' finetune='0'/>
    <station norm='PAL' channel='E2' band='VHF E2-E12' audio='auto' name='2' position='2' active='0' finetune='0'/>
    <station norm='PAL' channel='E3' band='VHF E2-E12' audio='bg' name='3' position='3' active='1' finetune='0'/>
    <station norm='PAL' channel='E4' band='VHF E2-E12' audio='auto' name='4' position='4' active='1' finetune='0'/>
    <station norm='PAL' channel='E5' band='VHF E2-E12' audio='auto' name='5' position='5' active='1' finetune='0'/>
    <station norm='PAL' channel='E6' band='VHF E2-E12' audio='auto' name='6' position='6' active='0' finetune='0'/>
    <station norm='PAL' channel='E7' band='VHF E2-E12' audio='auto' name='7' position='7' active='0' finetune='0'/>
    <station norm='PAL' channel='E8' band='VHF E2-E12' audio='auto' name='8' position='8' active='1' finetune='0'/>
    <station norm='PAL' channel='E9' band='VHF E2-E12' audio='auto' name='9' position='9' active='1' finetune='0'/>
    <station norm='PAL' channel='E10' band='VHF E2-E12' audio='auto' name='10' position='10' active='1' finetune='0'/>
    <station norm='PAL' channel='E11' band='VHF E2-E12' audio='auto' name='11' position='11' active='1' finetune='0'/>
    <station norm='PAL' channel='E12' band='VHF E2-E12' audio='auto' name='12' position='12' active='1' finetune='0'/>
    <station norm='PAL' channel='S1' band='VHF S1-S41' audio='auto' name='13' position='13' active='0' finetune='0'/>
    <station norm='PAL' channel='S2' band='VHF S1-S41' audio='auto' name='14' position='14' active='0' finetune='0'/>
    <station norm='PAL' channel='S3' band='VHF S1-S41' audio='auto' name='15' position='15' active='0' finetune='0'/>
    <station norm='PAL' channel='S4' band='VHF S1-S41' audio='auto' name='16' position='16' active='0' finetune='0'/>
    <station norm='PAL' channel='S5' band='VHF S1-S41' audio='auto' name='17' position='17' active='0' finetune='0'/>
    <station norm='PAL' channel='S6' band='VHF S1-S41' audio='auto' name='18' position='18' active='1' finetune='0'/>
    <station norm='PAL' channel='S7' band='VHF S1-S41' audio='auto' name='19' position='19' active='1' finetune='0'/>
    <station norm='PAL' channel='S8' band='VHF S1-S41' audio='auto' name='20' position='20' active='0' finetune='0'/>
    <station norm='PAL' channel='S9' band='VHF S1-S41' audio='auto' name='21' position='21' active='1' finetune='0'/>
    <station norm='PAL' channel='S10' band='VHF S1-S41' audio='auto' name='22' position='22' active='1' finetune='0'/>
    <station norm='PAL' channel='S11' band='VHF S1-S41' audio='auto' name='23' position='23' active='1' finetune='0'/>
    <station norm='PAL' channel='S12' band='VHF S1-S41' audio='auto' name='24' position='24' active='1' finetune='0'/>
    <station norm='PAL' channel='S13' band='VHF S1-S41' audio='auto' name='25' position='25' active='1' finetune='0'/>
    <station norm='PAL' channel='S14' band='VHF S1-S41' audio='auto' name='26' position='26' active='1' finetune='0'/>
    <station norm='PAL' channel='S15' band='VHF S1-S41' audio='auto' name='27' position='27' active='1' finetune='0'/>
    <station norm='PAL' channel='S16' band='VHF S1-S41' audio='auto' name='28' position='28' active='1' finetune='0'/>
    <station norm='PAL' channel='S17' band='VHF S1-S41' audio='auto' name='29' position='29' active='1' finetune='0'/>
    <station norm='PAL' channel='S18' band='VHF S1-S41' audio='auto' name='30' position='30' active='1' finetune='0'/>
    <station norm='PAL' channel='S19' band='VHF S1-S41' audio='auto' name='31' position='31' active='1' finetune='0'/>
    <station norm='PAL' channel='S20' band='VHF S1-S41' audio='auto' name='32' position='32' active='0' finetune='0'/>
    <station norm='PAL' channel='S21' band='VHF S1-S41' audio='auto' name='33' position='33' active='1' finetune='0'/>
    <station norm='PAL' channel='S22' band='VHF S1-S41' audio='auto' name='34' position='34' active='1' finetune='0'/>
    <station norm='PAL' channel='S23' band='VHF S1-S41' audio='auto' name='35' position='35' active='1' finetune='0'/>
    <station norm='PAL' channel='S24' band='VHF S1-S41' audio='auto' name='36' position='36' active='1' finetune='0'/>
    <station norm='PAL' channel='S25' band='VHF S1-S41' audio='auto' name='37' position='37' active='1' finetune='0'/>
    <station norm='PAL' channel='S26' band='VHF S1-S41' audio='auto' name='38' position='38' active='1' finetune='0'/>
    <station norm='PAL' channel='S27' band='VHF S1-S41' audio='auto' name='39' position='39' active='1' finetune='0'/>
    <station norm='PAL' channel='S28' band='VHF S1-S41' audio='auto' name='40' position='40' active='1' finetune='0'/>
    <station norm='PAL' channel='S29' band='VHF S1-S41' audio='auto' name='41' position='41' active='0' finetune='0'/>
    <station norm='PAL' channel='S30' band='VHF S1-S41' audio='auto' name='42' position='42' active='0' finetune='0'/>
    <station norm='PAL' channel='S31' band='VHF S1-S41' audio='auto' name='43' position='43' active='0' finetune='0'/>
    <station norm='PAL' channel='S32' band='VHF S1-S41' audio='auto' name='44' position='44' active='0' finetune='0'/>
    <station norm='PAL' channel='S33' band='VHF S1-S41' audio='auto' name='45' position='45' active='0' finetune='0'/>
    <station norm='PAL' channel='S34' band='VHF S1-S41' audio='auto' name='46' position='46' active='0' finetune='0'/>
    <station norm='PAL' channel='S35' band='VHF S1-S41' audio='auto' name='47' position='47' active='0' finetune='0'/>
    <station norm='PAL' channel='S36' band='VHF S1-S41' audio='auto' name='48' position='48' active='0' finetune='0'/>
    <station norm='PAL' channel='S37' band='VHF S1-S41' audio='auto' name='49' position='49' active='0' finetune='0'/>
    <station norm='PAL' channel='S38' band='VHF S1-S41' audio='auto' name='50' position='50' active='0' finetune='0'/>
    <station norm='PAL' channel='S39' band='VHF S1-S41' audio='auto' name='51' position='51' active='0' finetune='0'/>
    <station norm='PAL' channel='S40' band='VHF S1-S41' audio='auto' name='52' position='52' active='0' finetune='0'/>
    <station norm='PAL' channel='S41' band='VHF S1-S41' audio='auto' name='53' position='53' active='0' finetune='0'/>
    <station norm='PAL' channel='X' band='VHF Misc' audio='auto' name='54' position='54' active='0' finetune='0'/>
    <station norm='PAL' channel='Y' band='VHF Misc' audio='auto' name='55' position='55' active='0' finetune='0'/>
    <station norm='PAL' channel='Z' band='VHF Misc' audio='auto' name='56' position='56' active='0' finetune='0'/>
    <station norm='PAL' channel='Z+1' band='VHF Misc' audio='auto' name='57' position='57' active='0' finetune='0'/>
    <station norm='PAL' channel='Z+2' band='VHF Misc' audio='auto' name='58' position='58' active='0' finetune='0'/>
    <station norm='PAL' channel='R1' band='VHF Russia' audio='auto' name='59' position='59' active='0' finetune='0'/>
    <station norm='PAL' channel='R2' band='VHF Russia' audio='auto' name='60' position='60' active='0' finetune='0'/>
    <station norm='PAL' channel='R3' band='VHF Russia' audio='auto' name='61' position='61' active='0' finetune='0'/>
    <station norm='PAL' channel='R4' band='VHF Russia' audio='auto' name='62' position='62' active='0' finetune='0'/>
    <station norm='PAL' channel='R5' band='VHF Russia' audio='auto' name='63' position='63' active='0' finetune='0'/>
    <station norm='PAL' channel='R7' band='VHF Russia' audio='auto' name='64' position='64' active='0' finetune='0'/>
    <station norm='PAL' channel='R8' band='VHF Russia' audio='auto' name='65' position='65' active='0' finetune='0'/>
    <station norm='PAL' channel='R9' band='VHF Russia' audio='auto' name='66' position='66' active='0' finetune='0'/>
    <station norm='PAL' channel='R10' band='VHF Russia' audio='auto' name='67' position='67' active='0' finetune='0'/>
    <station norm='PAL' channel='R11' band='VHF Russia' audio='auto' name='68' position='68' active='1' finetune='0'/>
    <station norm='PAL' channel='R12' band='VHF Russia' audio='auto' name='69' position='69' active='1' finetune='0'/>
    <station norm='PAL' channel='SR1' band='VHF Russia' audio='auto' name='70' position='70' active='0' finetune='0'/>
    <station norm='PAL' channel='SR3' band='VHF Russia' audio='auto' name='71' position='71' active='0' finetune='0'/>
    <station norm='PAL' channel='SR4' band='VHF Russia' audio='auto' name='72' position='72' active='0' finetune='0'/>
    <station norm='PAL' channel='SR5' band='VHF Russia' audio='auto' name='73' position='73' active='0' finetune='0'/>
    <station norm='PAL' channel='SR6' band='VHF Russia' audio='auto' name='74' position='74' active='0' finetune='0'/>
    <station norm='PAL' channel='SR7' band='VHF Russia' audio='auto' name='75' position='75' active='1' finetune='0'/>
    <station norm='PAL' channel='SR8' band='VHF Russia' audio='auto' name='76' position='76' active='1' finetune='0'/>
    <station norm='PAL' channel='SR12' band='VHF Russia' audio='auto' name='77' position='77' active='0' finetune='0'/>
    <station norm='PAL' channel='SR13' band='VHF Russia' audio='auto' name='78' position='78' active='0' finetune='0'/>
    <station norm='PAL' channel='SR14' band='VHF Russia' audio='auto' name='79' position='79' active='0' finetune='0'/>
    <station norm='PAL' channel='SR15' band='VHF Russia' audio='auto' name='80' position='80' active='0' finetune='0'/>
    <station norm='PAL' channel='SR16' band='VHF Russia' audio='auto' name='81' position='81' active='0' finetune='0'/>
    <station norm='PAL' channel='SR17' band='VHF Russia' audio='auto' name='82' position='82' active='1' finetune='0'/>
    <station norm='PAL' channel='SR19' band='VHF Russia' audio='auto' name='83' position='83' active='0' finetune='0'/>
    <station norm='PAL' channel='A' band='VHF Italy' audio='auto' name='84' position='84' active='1' finetune='0'/>
    <station norm='PAL' channel='C' band='VHF Italy' audio='auto' name='85' position='85' active='0' finetune='0'/>
    <station norm='PAL' channel='E' band='VHF Italy' audio='auto' name='86' position='86' active='0' finetune='0'/>
    <station norm='PAL' channel='F' band='VHF Italy' audio='auto' name='87' position='87' active='0' finetune='0'/>
    <station norm='PAL' channel='G' band='VHF Italy' audio='auto' name='88' position='88' active='1' finetune='0'/>
    <station norm='PAL' channel='I1' band='VHF Ireland' audio='auto' name='89' position='89' active='0' finetune='0'/>
    <station norm='PAL' channel='I3' band='VHF Ireland' audio='auto' name='90' position='90' active='1' finetune='0'/>
    <station norm='PAL' channel='I7' band='VHF Ireland' audio='auto' name='91' position='91' active='0' finetune='0'/>
    <station norm='PAL' channel='U21' band='UHF' audio='auto' name='92' position='92' active='0' finetune='0'/>
    <station norm='PAL' channel='U22' band='UHF' audio='auto' name='93' position='93' active='0' finetune='0'/>
    <station norm='PAL' channel='U23' band='UHF' audio='auto' name='94' position='94' active='0' finetune='0'/>
    <station norm='PAL' channel='U24' band='UHF' audio='auto' name='95' position='95' active='0' finetune='0'/>
    <station norm='PAL' channel='U25' band='UHF' audio='auto' name='96' position='96' active='0' finetune='0'/>
    <station norm='PAL' channel='U26' band='UHF' audio='auto' name='97' position='97' active='0' finetune='0'/>
    <station norm='PAL' channel='U27' band='UHF' audio='auto' name='98' position='98' active='0' finetune='0'/>
    <station norm='PAL' channel='U28' band='UHF' audio='auto' name='99' position='99' active='0' finetune='0'/>
    <station norm='PAL' channel='U29' band='UHF' audio='auto' name='100' position='100' active='0' finetune='0'/>
    <station norm='PAL' channel='U30' band='UHF' audio='auto' name='101' position='101' active='0' finetune='0'/>
    <station norm='PAL' channel='U31' band='UHF' audio='auto' name='102' position='102' active='0' finetune='0'/>
    <station norm='PAL' channel='U32' band='UHF' audio='auto' name='103' position='103' active='0' finetune='0'/>
    <station norm='PAL' channel='U33' band='UHF' audio='auto' name='104' position='104' active='0' finetune='0'/>
    <station norm='PAL' channel='U34' band='UHF' audio='auto' name='105' position='105' active='0' finetune='0'/>
    <station norm='PAL' channel='U35' band='UHF' audio='auto' name='106' position='106' active='0' finetune='0'/>
    <station norm='PAL' channel='U36' band='UHF' audio='auto' name='107' position='107' active='0' finetune='0'/>
    <station norm='PAL' channel='U37' band='UHF' audio='auto' name='108' position='108' active='0' finetune='0'/>
    <station norm='PAL' channel='U38' band='UHF' audio='auto' name='109' position='109' active='0' finetune='0'/>
    <station norm='PAL' channel='U39' band='UHF' audio='auto' name='110' position='110' active='0' finetune='0'/>
    <station norm='PAL' channel='U40' band='UHF' audio='auto' name='111' position='111' active='0' finetune='0'/>
    <station norm='PAL' channel='U41' band='UHF' audio='auto' name='112' position='112' active='0' finetune='0'/>
    <station norm='PAL' channel='U42' band='UHF' audio='auto' name='113' position='113' active='0' finetune='0'/>
    <station norm='PAL' channel='U43' band='UHF' audio='auto' name='114' position='114' active='0' finetune='0'/>
    <station norm='PAL' channel='U44' band='UHF' audio='auto' name='115' position='115' active='0' finetune='0'/>
    <station norm='PAL' channel='U45' band='UHF' audio='auto' name='116' position='116' active='0' finetune='0'/>
    <station norm='PAL' channel='U46' band='UHF' audio='auto' name='117' position='117' active='0' finetune='0'/>
    <station norm='PAL' channel='U47' band='UHF' audio='auto' name='118' position='118' active='0' finetune='0'/>
    <station norm='PAL' channel='U48' band='UHF' audio='auto' name='119' position='119' active='0' finetune='0'/>
    <station norm='PAL' channel='U49' band='UHF' audio='auto' name='120' position='120' active='0' finetune='0'/>
    <station norm='PAL' channel='U50' band='UHF' audio='auto' name='121' position='121' active='0' finetune='0'/>
    <station norm='PAL' channel='U51' band='UHF' audio='auto' name='122' position='122' active='0' finetune='0'/>
    <station norm='PAL' channel='U52' band='UHF' audio='auto' name='123' position='123' active='0' finetune='0'/>
    <station norm='PAL' channel='U53' band='UHF' audio='auto' name='124' position='124' active='0' finetune='0'/>
    <station norm='PAL' channel='U54' band='UHF' audio='auto' name='125' position='125' active='0' finetune='0'/>
    <station norm='PAL' channel='U55' band='UHF' audio='auto' name='126' position='126' active='0' finetune='0'/>
    <station norm='PAL' channel='U56' band='UHF' audio='auto' name='127' position='127' active='0' finetune='0'/>
    <station norm='PAL' channel='U57' band='UHF' audio='auto' name='128' position='128' active='0' finetune='0'/>
    <station norm='PAL' channel='U58' band='UHF' audio='auto' name='129' position='129' active='0' finetune='0'/>
    <station norm='PAL' channel='U59' band='UHF' audio='auto' name='130' position='130' active='0' finetune='0'/>
    <station norm='PAL' channel='U60' band='UHF' audio='auto' name='131' position='131' active='0' finetune='0'/>
    <station norm='PAL' channel='U61' band='UHF' audio='auto' name='132' position='132' active='0' finetune='0'/>
    <station norm='PAL' channel='U62' band='UHF' audio='auto' name='133' position='133' active='0' finetune='0'/>
    <station norm='PAL' channel='U63' band='UHF' audio='auto' name='134' position='134' active='0' finetune='0'/>
    <station norm='PAL' channel='U64' band='UHF' audio='auto' name='135' position='135' active='0' finetune='0'/>
    <station norm='PAL' channel='U65' band='UHF' audio='auto' name='136' position='136' active='0' finetune='0'/>
    <station norm='PAL' channel='U66' band='UHF' audio='auto' name='137' position='137' active='0' finetune='0'/>
    <station norm='PAL' channel='U67' band='UHF' audio='auto' name='138' position='138' active='0' finetune='0'/>
    <station norm='PAL' channel='U68' band='UHF' audio='auto' name='139' position='139' active='0' finetune='0'/>
    <station norm='PAL' channel='U69' band='UHF' audio='auto' name='140' position='140' active='0' finetune='0'/>
</stationlist>


{BBI}Nexus{BBI} 11-03-2007 01:06 AM

Documentation on the freevo website: http://doc.freevo.org/XMLTV

frenchn00b 11-03-2007 11:06 PM

Quote:

Originally Posted by {BBI}Nexus{BBI} (Post 2946523)
Documentation on the freevo website: http://doc.freevo.org/XMLTV

Code:

~$ tv_grab_de_tvtoday
using config filename /home/frenchn00b/.xmltv/tv_grab_de_tvtoday.conf
getting list of channels
Can't call method "content_list" on an undefined value at /usr/bin/tv_grab_de_tvtoday line 1277.

pff that s pretty difficult

frenchn00b 11-03-2007 11:08 PM

I have only an analog pci card of 15 bucks
(no DVB)

frenchn00b 11-03-2007 11:10 PM

cannot I make it simply ??
is there simple way ?
apt-get install xmltv
freevo
and that's it

tvtime works well, so why make it complicate ?

frenchn00b 11-03-2007 11:11 PM

I have de, be, fr, ... channels how can I do ?

frenchn00b 11-03-2007 11:15 PM

and even with a gui, is damn buggy:
http://www.birtles.org.uk/xmltv/
Code:

xmltvgui$ ./XmltvGUI
./XmltvGUI: symbol lookup error: ./XmltvGUI: undefined symbol: initPAnsiStrings


{BBI}Nexus{BBI} 11-03-2007 11:26 PM

Quote:

Originally Posted by frenchn00b (Post 2947452)
cannot I make it simply ??
is there simple way ?
apt-get install xmltv
freevo
and that's it

tvtime works well, so why make it complicate ?

You should be able to install xmltv and freevo using apt-get. Once you have them installed, configuring may be easier than you thought.

frenchn00b 11-03-2007 11:35 PM

yep, Installation was very simple

I'd have the configuration step hanging since more than 6-12 months ...
maybe I'll find out one year .... (?)


All times are GMT -5. The time now is 06:17 AM.