[mythtv-users] MythArchive: what am I doing wrong?!
Paul Catchpole
paul at paulcatchpole.co.uk
Thu Jan 10 18:50:24 UTC 2008
Andrew Junev wrote:
> Hi All,
>
> I want to transfer some of my recorded programs from an old backend to
> a new one. I tried using MythArchive the way it is described in the
> Wiki. Creating archive was fine, but importing the archive gave me a
> strange error: "You need to select a valid archive XML file!"
>
> In the mythfrontend log I see the error:
>
> Couldn't find a 'channel' element in XML file
> Couldn't find a 'channel' element in XML file
> Couldn't find a 'channel' element in XML file
> Couldn't find a 'channel' element in XML file
>
>
> This is an .xml file from one of my archived videos:
>
> <!DOCTYPE MYTHARCHIVEITEM>
> <item type="recording" databaseversion="1160" >
> <recorded>
> <chanid>2009</chanid>
> <starttime>2007-08-30T01:35:00</starttime>
> <endtime>2007-08-30T03:50:00</endtime>
> <title>Die Insel (The Island)</title>
> <subtitle>Science-Fiction</subtitle>
> <description>Lincoln Six-Echo (Ewan McGregor) lebt mit tausenden anderen in einer futuristischen Wohneinheit. Angeblich darf man von hier irgendwann auf "Die Insel". Aber Lincoln entdeckt, dass alles nur Lц¬б+ge ist: Die Bohner dienen als Ersatzteilspender fц¬б+r ihre menschlichen Originale. Mit der sц¬бІnen Jordan Two-Delta (Scarlett Johansson) wagt er die Flucht. - Mitreiц¬<9f>es Sci-Fi-Spektakel von Action-Groц¬<9f>meister Michael Bay.
> USA 2005. 131 Min. Von Michael Bay, mit Ewan McGregor, Scarlett Johansson, Djimon Hounsou.</description>
> <category>Movie</category>
> <hostname>host-192-168-2-163</hostname>
> <bookmark>0</bookmark>
> <editing>0</editing>
> <cutlist>0</cutlist>
> <autoexpire>0</autoexpire>
> <commflagged>0</commflagged>
> <recgroup>Default</recgroup>
> <recordid>19</recordid>
> <seriesid></seriesid>
> <programid></programid>
> <lastmodified>2007-08-30T03:50:05</lastmodified>
> <filesize>4844719768</filesize>
> <stars>0</stars>
> <previouslyshown>0</previouslyshown>
> <originalairdate>2007-08-30</originalairdate>
> <preserve>0</preserve>
> <findid>733282</findid>
> <deletepending>0</deletepending>
> <transcoder>27</transcoder>
> <timestretch>1</timestretch>
> <recpriority>0</recpriority>
> <basename>2009_20070830013500.mpg</basename>
> <progstart>2007-08-30T01:35:00</progstart>
> <progend>2007-08-30T03:50:00</progend>
> <playgroup>Default</playgroup>
> <profile>Default</profile>
> <duplicate>1</duplicate>
> <transcoded>0</transcoded>
> </recorded>
> <recordedseek>
> <mark offset="0" type="9" mark="0" />
> <mark offset="193640" type="9" mark="12" />
> <mark offset="399688" type="9" mark="24" />
> <mark offset="604796" type="9" mark="36" />
> <mark offset="832652" type="9" mark="48" />
> (and so on...)
>
>
> MythTV version I'm using on a new machine is:
> # mythbackend --version
> Library API version : 0.20.20070821-1
> Source code version : 0.20.2-169.fc8
> SVN Branch : branches/release-0-20-fixes
> Options compiled in :
> linux release using_xvmcw using_lmsensors using_v4l using_oss
> using_alsa using_arts using_jack using_ivtv using_firewire
> using_dbox2 using_hdhr using_ip_rec using_freebox using_live
> using_lirc using_joystick_menu using_dvb using_x11 using_xv
> using_xrandr using_xvmc using_xvmc_vld using_opengl_vsync
> using_opengl using_frontend using_backend using_bindings_perl
>
> My old backend runs the same MythTV version (I'm almost 100% sure).
> Although the old machine runs Fedora Core 6.
>
> So what am I doing wrong???
>
>
>
I appreciate it doesn't help, but there isn't a <channel> element in
that XML. Are you sure both Myth and the plugins are exactly the same
version on the two boxes?
I've never tried to do a migration like that, so I can't really comment.
Have you considered putting the recordings back in the same path
[presuming they're local files] on the new backend and doing a mysql
dump/restore of the relevant tables [or even the whole database, fixing
where necessary for changes]?
PC
More information about the mythtv-users
mailing list