NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 99 100 101 102 103 … 1231 Next »
Converting from Myth-TV

 
  • 0 Vote(s) - 0 Average
Converting from Myth-TV
bwgreen
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Aug 2009
#1
2009-08-25, 05:24 PM
Hi,
I have been running MythTV for several years, but I am getting fed up with the system and thinking of using a Windows-based PVR. I've pretty much chosen GB-PVR, but I don't really want to lose all the recording information in my database if I can help it! What I'm looking for is if anyone has converted the information from the MythTV MySQL database into GB-PVR - the main thing I don't want to lose is the information on what I have already recorded.

Can anyone help?

Thanks,

Brian
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#2
2009-08-25, 05:47 PM
bwgreen Wrote:What I'm looking for is if anyone has converted the information from the MythTV MySQL database into GB-PVR - the main thing I don't want to lose is the information on what I have already recorded.

Can anyone help?

Thanks,

Brian

I'm not aware of a direct converter. You can use vidimport (search here and in wiki) to import the recordings. If they are well named, vidimport will look them up in IMDB or a TV series database for you.

Alternatively, you could probably bring them into the gbpvr.db3 SQL database yourself from the current MythTV SQL database if you are at all handy in SQL. I use SQLiteSpy.

There is also an XML export/import function in GBPVR, so if you can export the data and reformat it in a compatible way, that may work. Hang around a while and there's a good chance someone will post and tell you how they did this job.
gazzat5
Offline

Junior Member

Posts: 3
Threads: 0
Joined: Aug 2009
#3
2009-08-25, 07:19 PM
I'll be looking at this shortly, as i have made the decision to move back to GBPVR after trying MythTv.


Choose GBPvr!!!
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#4
2009-08-25, 08:44 PM
There is a daily dump, when the EPG update runs, of the current recordings in an XML file.
This can be imported (merges, not overwriten) with the config utility. The format is fairly obvious, so a conversion shouldn't be too bad to create to import your existing data.
gazzat5
Offline

Junior Member

Posts: 3
Threads: 0
Joined: Aug 2009
#5
2009-08-25, 09:30 PM (This post was last modified: 2009-08-25, 09:43 PM by gazzat5.)
martint123 Wrote:There is a daily dump, when the EPG update runs, of the current recordings in an XML file.
@martint - are you talking about MythTv? I had a look on my MythTv box and could find no such file.
Where would it be?

What is the format of the import xml for gbpvr? And where is the option for this?

Is anyone good as shell scripting?
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#6
2009-08-26, 01:04 AM
gazzat5 Wrote:@martint - are you talking about MythTv? I had a look on my MythTv box and could find no such file.
Where would it be?

What is the format of the import xml for gbpvr? And where is the option for this?

Is anyone good as shell scripting?
He's referring to GBPVR's RECORDING.XML file. It's a daily dump of recordings and it has this format:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<recordings>
  <recording>
    <filename>Nature</filename>
    <channel>WEDWDT</channel>
    <status>SEASON</status>
    <group>1</group>
    <prePadding>0</prePadding>
    <postPadding>0</postPadding>
    <startTime>0001-01-01 00:00:00</startTime>
    <endTime>0001-01-01 00:00:00</endTime>
    <title>Nature</title>
    <uid></uid>
  </recording>
  <recording>
    <filename>History Detectives</filename>
    <channel>WEDWDT</channel>
    <status>SEASON</status>
    <group>2</group>
    <prePadding>0</prePadding>
    <postPadding>0</postPadding>
    <startTime>0001-01-01 00:00:00</startTime>
    <endTime>0001-01-01 00:00:00</endTime>
    <title>History Detectives</title>
    <uid></uid>
  </recording>

If you can get your recordings into this format, you can import them easily using GBPVR's config program.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#7
2009-08-26, 01:06 AM
That example above is for scheduled recordings.

The below example is probably closer to what you'll need, and is for recordings that have already occurred.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<recordings>
  <recording>
    <filename>C:\MyVideos\Mythbusters\Mythbusters_20090824_21302230.ts</filename>
    <channel>Discovery Channel</channel>
    <status>READY</status>
    <startTime>2009-08-24 21:30:00</startTime>
    <endTime>2009-08-24 22:30:00</endTime>
    <title>Mythbusters</title>
    <subtitle></subtitle>
    <description>Helium Football: In Helium Football, Adam and Jamie test out a myth that footballs filled with helium will fly further and hang longer  than ones filled with regulation air.</description>
    <uid></uid>
  </recording>
  <recording>
    <filename>C:\MyVideos\Rugrats\Rugrats_20090825_09000930.ts</filename>
    <channel>Nickelodeon</channel>
    <status>READY</status>
    <startTime>2009-08-25 09:00:00</startTime>
    <endTime>2009-08-25 09:30:00</endTime>
    <title>Rugrats</title>
    <subtitle></subtitle>
    <description>Angelica sneaks a set of toy handcuffs and gets stuck cuffed to Chuckie. / Due to a meteorological anomaly, snow falls in the Rugrats' neighbourhood.</description>
    <uid></uid>
  </recording>
</recordings>
bwgreen
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Aug 2009
#8
2009-08-26, 10:55 AM
Looking at the XML from GBPVR in sub's mail, the one thing that I see missing is the episode #. How would GBPVR know what has been previously recorded without it?
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#9
2009-08-26, 12:09 PM
You will have to ask someone in your EPG area to do an export and see what it is called (unless sub answers first) Very few places in the world have an episode number in their EPG, so you won't see it in anyone else's example dumps.

It could well be the uid field that appears blank in teh example above (unique ID ??).
dennit
Offline

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#10
2009-08-26, 12:42 PM
sub Wrote:That example above is for scheduled recordings.

Oops. I was in a rush and just copied the first couple of entries. At least he now knows how to import his scheduled recordings, too! Smile

On the issue of episode numbers/uid. The database has a field for each programme entitled unique_identifier, which I'm pretty sure is the uid in the xml format. I believe that field is populated when Schedules Direct is the EPG source (for some locations), but I don't use SD.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto Converting TS Files To MPEG2 Not Working skycyclepilot 2 2,012 2010-07-06, 10:35 AM
Last Post: skycyclepilot
  Post record processing (converting to AVI) Kissack 1 1,412 2009-10-04, 05:45 PM
Last Post: Kissack
  Weird issue converting 1 specific show...Warehouse 13 JasonB 3 1,720 2009-08-28, 01:01 AM
Last Post: smajor
  script for converting dvr-ms to xvid? mi2k 3 1,591 2009-02-06, 12:47 AM
Last Post: JonnyCam
  Has anybody had luck converting HDTV DVR-MS files??? brfish 40 11,640 2008-12-09, 02:14 PM
Last Post: mpadilla2
  Converting to Divx FNM 11 3,560 2008-11-29, 03:19 AM
Last Post: FNM
  Still problems converting dvr-ms files to Mpeg imagn 10 4,224 2008-08-28, 12:18 PM
Last Post: Smugkiggeren
  Issues converting dvr-ms files imagn 0 1,270 2008-05-01, 06:05 PM
Last Post: imagn
  Converting gh_speedyg 9 2,817 2008-03-28, 11:20 AM
Last Post: gh_speedyg
  Error converting recordings to XVID gabeweisz 2 1,186 2008-03-08, 02:03 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode