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 … 530 531 532 533 534 … 1231 Next »
importing videos after move & upgrade

 
  • 0 Vote(s) - 0 Average
importing videos after move & upgrade
valeadmagnet
Offline

Junior Member

Posts: 15
Threads: 4
Joined: Nov 2005
#1
2005-12-19, 03:19 PM (This post was last modified: 2005-12-19, 03:24 PM by valeadmagnet.)
I had GB-PVR on a computer and was working great, then I sold that computer. I copied the entire GB-PVR directory from "C:\Program Files" and all my videos from thier directory "P:\PVR\(subfolders of shows recorded by GBPVR)".

I put them in the exact same places on my new computer, and then installed the newest version of GB-PVR on top of the old one. Unfortuantly the new install did not recognize the old videos in the "P:\PVR" folder as being there and they don't show up in Recordings menu. The schedule & settings did survive the new install.

Is there any way I can make GB-PVR recognze the old videos in "P:\PVR" folder ?

It is even recording new episodes of the same shows into correct "P:\PVR" folders next to the older unrecognized episodes. I can get the software to SEE the videos if I point my video archive to that "P:\PVR" folder, but you loose the episode data.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#2
2005-12-19, 03:59 PM
If GB-PVR cant find recordings at the place it thinks the videos are stored, then it deletes the recording from the database because it assumes the user has manually deleted the video file.

If you'd done an 'export recordings' prior to moving the folder, then you could have you could have done a search and replace on the old-path with the new-path in the XML file, then you could have reimported the XML.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#3
2005-12-20, 11:29 AM
Sub, can he do the extract xml meta data thing, then import that?
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#4
2005-12-20, 04:23 PM
Thats what I meant when said he could of done 'Export Records' and went on to talk about XML etc.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#5
2005-12-20, 06:11 PM
Sub, I was referring to this;


BTW, if you're using the NTFS filesystem, metadata about the recording is now saved into the recording as an 'Alternate Data Stream' on the video file. To view the metadata, you can type "notepad c:\path\recording.mpg:metadata.xml".

not the "Export Recordings" in the config app.
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#6
2005-12-20, 06:13 PM
Yes, you could do that the to make an XML file to be imported. It'd be pretty manual though, and a pain in the arse if you had lots of recordings.
unix_guy
Offline

Junior Member

Posts: 1
Threads: 0
Joined: Dec 2005
#7
2005-12-20, 10:42 PM
Hi,
This is my first post. To import an entire folder of recordings into
the gbpvr just copy and paste the batch commands below into
a "bat" file named xmt.bat. Put the xmt.bat file on your desktop and drop
the folder with your recordings on the xmt.bat icon.
This will create a recordings-dump.xml file in your recordings folder.
Copy the recordings-dump.xml into your gbpvr directory and then
run gbpvr.exe -import from the command line (or start/run button).
(yes I could have written the dump file directly into the gbpvr directory
but I needed to edit the file because I had change my directory
structure when I moved my recordings).
You will need to do this procedure for each directory you want to import.
Hope this helps.
________________________________batch file below_________________
@echo off
rem pause
FOR /F "tokens=*" %%i IN ("<?xml version="1.0" encoding="UTF-8"?>") DO ECHO %%i> %1\recording-dump.xml
FOR /F "tokens=*" %%i IN ("<recordings>") DO ECHO %%i>> %1\recording-dump.xml
FOR %%F IN (%1\*.mpg) DO (more < %%F:metadata.xml >> %1\recording-dump.xml)
FOR /F "tokens=*" %%i IN ("</recordings>") DO ECHO %%i>> %1\recording-dump.xml
rem pause
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#8
2005-12-20, 11:39 PM
Cheers, that could be useful to a few people.
LilY0da
Offline

Senior Member

Posts: 442
Threads: 25
Joined: Jul 2005
#9
2005-12-21, 03:03 AM
Doesn't seem to work unless the drive the file was stored on is local, am I wrong? I got files on a share, the drive shows up as NTFS in WinXP, but it doesn't seem to have that info coded in the files...
But by all means, kudos on the idea, looks great
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#10
2005-12-21, 03:11 AM
I havnt tested it, but you may lose the metadata alternate data stream if you move it to a network drive (or FAT32 drive). These file system types may not support alternate data streams.
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Staged upgrade/migration from gb to next koornneef 5 3,401 2011-11-27, 05:44 AM
Last Post: sub
  Pentium upgrade worth it? ziton 10 3,601 2010-07-30, 12:06 AM
Last Post: re-Barr
  How to move the gbpvr recordings folder to a new location? navyblue 7 2,831 2010-07-17, 09:32 PM
Last Post: navyblue
  How To Move GBPVR To D: Drive LewE 6 2,270 2010-06-13, 07:07 PM
Last Post: LewE
  Gb-PVR 1.4.7 does not transcode videos themightygandalf 8 3,205 2010-03-09, 08:29 PM
Last Post: themightygandalf
  Can't see metadata in Videos Library cottong2001 4 1,943 2010-03-01, 01:03 AM
Last Post: cottong2001
  Green Lines in some converted videos wildatom 2 1,427 2010-02-15, 09:27 PM
Last Post: pBS
  Time to upgrade, advise kirschey 4 2,573 2010-01-30, 01:59 AM
Last Post: kirschey
  Upgrade woes from 0.99.12 to 1.4.7 curtman 12 4,135 2010-01-27, 03:41 AM
Last Post: curtman
  Sound but no video after graphics card upgrade Sonic 11 5,326 2010-01-19, 11:48 PM
Last Post: stustunz

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

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

Linear Mode
Threaded Mode