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 2006-03-15, 07:57   #1 (permalink)
Portal Member
 
Join Date: Oct 2004
Location: Denmark
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts


Default Import old TV recordings to new database?

Hi. I'm using 0.2RC2 + latests CVS. They have upgraded the DB version again.

Is there any way to import the old database into the new one?

I have a lot of old recordings and now they are being shown as UNKNOWN, so now I can't find anything
__________________
Minigal - a simple, free, good looking, dynamic image gallery!

(http://www.minigal.dk)
Rybber is offline   Reply With Quote
Old 2006-03-15, 08:16   #2 (permalink)
Portal Developer
 
hwahrmann's Avatar
 
Join Date: Sep 2004
Location: Vienna, Austria
Posts: 1,417
Thanks: 2
Thanked 65 Times in 42 Posts

Country:


Default

you should have done a "Backup" out of the "TV Channel" section in MP Configuration.
Having done this BEFORE the upgrade allows to reimport them later on.
hwahrmann is offline   Reply With Quote
Old 2006-03-15, 08:39   #3 (permalink)
Portal Developer
 
hwahrmann's Avatar
 
Join Date: Sep 2004
Location: Vienna, Austria
Posts: 1,417
Thanks: 2
Thanked 65 Times in 42 Posts

Country:


Default

what you could try is using sqlite3.exe to dump the old database and insert it into the new.
Similar thing was done, when the database format changed to version 3.
you could find sqlite3.exe in the database\convert directory.
make sure that the NEW database is empty.
Delete it from the database dir and start MP config. This will re-create it.
Then do from a command prompt:
Code:
sqlite3.exe TVDatabaseV21.db3 .dump | sqlite3.exe TVDatabaseV22.db3
This will insert the dumped data into the new database.
It should contain now all your recordings, including your channel definitions etc.

good luck,

Helmut
hwahrmann is offline   Reply With Quote
Old 2006-03-15, 09:01   #4 (permalink)
Portal Member
 
Join Date: Oct 2004
Location: Denmark
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Okay, thanks.

So, does a backup of the TV channels (channellist.xml) also include the database of recorded programs?
__________________
Minigal - a simple, free, good looking, dynamic image gallery!

(http://www.minigal.dk)
Rybber is offline   Reply With Quote
Old 2006-03-15, 10:47   #5 (permalink)
Portal Developer
 
hwahrmann's Avatar
 
Join Date: Sep 2004
Location: Vienna, Austria
Posts: 1,417
Thanks: 2
Thanked 65 Times in 42 Posts

Country:


Default

Quote:
Originally Posted by Rybber
So, does a backup of the TV channels (channellist.xml) also include the database of recorded programs?
yes, it does.
hwahrmann is offline   Reply With Quote
Old 2006-03-16, 12:46   #6 (permalink)
Portal Member
 
Join Date: Oct 2004
Location: Denmark
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Thanks.

I now found out, that I could edit the channellist.xml file and insert my old recordings.

See this post: http://forum.team-mediaportal.com/vi...768&highlight=
__________________
Minigal - a simple, free, good looking, dynamic image gallery!

(http://www.minigal.dk)
Rybber is offline   Reply With Quote
Reply

Bookmarks

Tags
database, import

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
(original thread) US/Canadian/Mexico EPG Zap2it Plugin Released bradsjm zap2it (discontinued) 513 2007-02-21 14:07
Help with TVServer and client rick78 Get Support 8 2006-12-12 18:48
Recordings to movie database Jetboy Improvement Suggestions 0 2006-11-28 10:16
0.2.1 and latest svn MyPictures thumbnails broken gloomyandy Codecs, External Players 1 2006-10-24 10:01
The Setup wizard crash when reaching the autotune step Wbunaarf The old Bugreport Forum 19 2006-07-20 01:55


All times are GMT +1. The time now is 21:49.


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