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) SearchWiz & MovieWiz v
« Previous 1 … 9 10 11 12 13 … 16 Next »
Wishlist metadata rebuild

 
  • 0 Vote(s) - 0 Average
Wishlist metadata rebuild
tvshowman
Offline

Senior Member

Posts: 430
Threads: 66
Joined: Dec 2007
#1
2008-04-01, 12:55 AM
I use Moviewiz and mess around moving files atound all the time and lose mtda of the mpg and when I use mpgimport to rebuild my database I get weird date names if I lost metadata on a file.

Since we are essentialy tagging our files with the internet datbase I was wondering if anyone thought of a way to rebuild the metadata using the moviewiz info so that files could be easier managed if metadata was lost.people have hundreds of movies and i'm sure many have had to re input and search again.....

and what about record files that could storefile info in each movie directory that it sits in and read too?
[SIGPIC][/SIGPIC]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2008-04-01, 02:15 AM
tvshowman Wrote:I use Moviewiz and mess around moving files atound all the time and lose mtda of the mpg and when I use mpgimport to rebuild my database I get weird date names if I lost metadata on a file.
I don't use MpegImport, but I assume it reloads the recordings table so your files show in the Recordings plugin? It gets it's data from the gbpvr database, and gbpvr will delete the EPG data if the recorded show does not exist. This behavior can be modified by changing AutoRemoveMissingRecordings in the config.xml from true to false. Then the recordings plugin will not delete any missing recordings (and subsequently the EPG data).
Quote:Since we are essentialy tagging our files with the internet datbase I was wondering if anyone thought of a way to rebuild the metadata using the moviewiz info so that files could be easier managed if metadata was lost.people have hundreds of movies and i'm sure many have had to re input and search again.....
I suppose I could create an export and import function to unload/reload data into the MovieWiz db. (I'm assuming you mean you've somehow lost the entries in the MovieWiz db here).

Potentially, the GBPVR (import/export) format could be created as well from the MovieWiz data. I'm not sure how I would create program OIDs that would not collide with data that the EPG might have tho.
and what about record files that could storefile info in each movie directory that it sits in and read too?[/quote]
tvshowman
Offline

Senior Member

Posts: 430
Threads: 66
Joined: Dec 2007
#3
2008-04-01, 07:19 AM (This post was last modified: 2008-04-01, 09:28 AM by tvshowman.)
mpgimport looks for metadata info and if it exists in the mpg it uses that for descriptions. I am always moving things around and find it easiest o use mpgimport to let PVRX2 know where things are.

it creates a recording-dump.xml and imports that into the gbpvr database.

http://gbpvr.com/pmwiki/pmwiki.php/Utility/MpegImport
try it on a directory with a few files.

so if it finds metadata it will use that to put in the database. I believe Moviewiz also looks at the PVRX2 database to add new recorded files.

the two programs could be an invaluable tool together.

The tool is an auto batch movie importer for PVRX2. Check it out and see if it gets your creative juices flowing with ways to safe guard our movie files from description loss. I understand that the description of the movie and shows is stored on the file in metadata so if a program such as your could rebuild the metata when we use moviewiz to add tags and descriptions then it would make it a breeze to import each movie back into movie in the event of a database loss since the info is still stored on the movie itself....
[SIGPIC][/SIGPIC]
tvshowman
Offline

Senior Member

Posts: 430
Threads: 66
Joined: Dec 2007
#4
2008-04-01, 08:41 AM
just reading about metadata and it looks like metadata is lost whenever you move a file to another directory? is that true?

if it is it sucks big time...

if that's the case then i'm going to rename all my files to something moviewiz will understand more easily/

the only other route since metadata is always lost moving a file is to create an info file that will have the movie file descriptions...

kinda like a .cdg file but something that will include the posters and any other relatd movie info that moviewiz will understand if it finds the file with an mpeg during the moviewiz directory scan import.

I doubt many people will want an additional file in their directory for each movie.

I am one of the very few that somehow has to do a new import once or twice a month....

well I a, installing a fresh copy of WindowsXP on a new 320 gig hard drive so I will put 20 moveies on it and discover what will work best in my situation as far as renaming each file different from what my guide and PVRX2 name them now...

Maybe I will email the Author of Mpegimport to see if he is still using it.

cheers
[SIGPIC][/SIGPIC]
tvshowman
Offline

Senior Member

Posts: 430
Threads: 66
Joined: Dec 2007
#5
2008-04-01, 08:50 AM (This post was last modified: 2008-04-01, 10:03 AM by tvshowman.)
how about a simple solution for power users to have a simple button to rename the file or files to the names used in the searches that have been confirmed to be correct. In theory for me that would mean that moviewiz will have no trouble searching and loading the content of a movie since the title matches an exact known proper title it used on the web?

That would make it even easier to archive....

just a thought.... Smile hehe

i'm sure the new file rename will need to be updated into PVRX2 database so that people not aware of these kinds of things will not be bothered with missing entries in their recording menu of PVRX2...


EDIT:

ok folks skip all the above brainstorming posts... I have my wishlist requestSmile

How about a "match filename to movie online database title" option?

There would need to be a way to preview the movie in the standalone moviewiz version so that you can confirm what is really on the video... and have moviewiz import the info in realtime back to PVRX2 so when you click a new recorded file it plays fine....

after those changes it would be perfect for moviewiz to create metadata to the mpegs so that re-importing could be a snap... If your database becomes corrupt you could use mpegimport to put the files back into PVRX2 with no description loss.

what do you think?

am I getting close?


rewriting the metadata would make it simple to use mpegimport to batch import 1000's of movies from a directory into any installation of PVRX2 complete with all description info....

People could create their own directory structure and use moviewiz to name or retag the files and mpgimport could load the metatag data as a batch into PVRX2 database

that would be a killer solution! and moviewiz could add addtion info into the metadata like where to download the info and pictures URL etc... to make reimporting a snap
[SIGPIC][/SIGPIC]
tvshowman
Offline

Senior Member

Posts: 430
Threads: 66
Joined: Dec 2007
#6
2008-04-05, 12:47 AM
any thoughts?

I am looking for an easy way manage my movie directories and I don't want to worry about the database file and I like moving and files around so a unified name structure is the way to auto update for me.

comments anyone?
[SIGPIC][/SIGPIC]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#7
2008-04-05, 02:59 AM
tvshowman Wrote:How about a "match filename to movie online database title" option?
Ok, so, on an import, today, MovieWiz allows you to change the title and do a lookup via IMDB or TheTvDb to pull in the movie details. So, unless I'm missing something, this already exists.
Quote:There would need to be a way to preview the movie in the standalone moviewiz version so that you can confirm what is really on the video...
Ok, this sounds like a new feature.
Quote:and have moviewiz import the info in realtime back to PVRX2 so when you click a new recorded file it plays fine....
And this sounds like a new feature also. From the MovieWiz db, perhaps create an export file that would match the GBPVR export/import format. This way, you could export out of MovieWiz and import into GBPVR.
Quote:rewriting the metadata would make it simple to use mpegimport to batch import 1000's of movies from a directory into any installation of PVRX2 complete with all description info....

People could create their own directory structure and use moviewiz to name or retag the files and mpgimport could load the metatag data as a batch into PVRX2 database

that would be a killer solution! and moviewiz could add addtion info into the metadata like where to download the info and pictures URL etc... to make reimporting a snap
Unfortunately, this information is fairly tightly integrated with the EPG, somehow, I'd probably have to create some dummy EPG entries to hold the show info since there is no easy way to link back to the original entry (it may not even exist anymore).

I think something like this could be done, but I don't like the idea of directly updating GBPVR tables (ie the EPG info - programme table) since
  1. The table structure could change with future releases.
  2. My program could potentially corrupt the table if I don't follow the business rules that sub has in GBPVR related to those tables.
sub, do you have any suggestions how something like this could be accomplished without causing future headaches for you? Would I have to create some XML-TV type input file for the 'fake' EPG entries?
tvshowman
Offline

Senior Member

Posts: 430
Threads: 66
Joined: Dec 2007
#8
2008-04-05, 08:42 AM (This post was last modified: 2008-04-05, 08:53 AM by tvshowman.)
Let me rephrase what it is that I am looking for...

I would like MovieWiz to rename the mpg file to the new name of the movie format found at amazon.com that I confirmed to be correct so the file would be easier to recognize by MovieWiz on future imports.

current filename
C:\movies\The Out-of-Towners(1999)(2_5 stars)_20080324_15101640.mpg

new Filename
C:\movies\whatever Amazon names the movie that I have confirmed to be correct.mpg

Also I would like MovieWiz to replace the show descriptions and mpg file names that PVRX2 uses and add the new ones to the GBPVR.db3 file and also update the metadata file for each mpg in real time to match the new show descriptions that we created in MovieWiz. If no metadata exists on the file then I would like MovieWiz to create new Metadata based only off our correct search.

tvshowman Wrote:How about a "match filename to movie online database title" option?
JavaWiz Wrote:Ok, so, on an import, today, MovieWiz allows you to change the title and do a lookup via IMDB or TheTvDb to pull in the movie details. So, unless I'm missing something, this already exists.

I as not aware that moviewiz actually changed the filename of the mpg in the directory on the hard drive. I thought it only changed the tags but left the file alone. How can I get it to rename the movie file on the hard drive to match the name it found on say Amazon.com?

tvshowman Wrote:There would need to be a way to preview the movie in the standalone moviewiz version so that you can confirm what is really on the video...
JavaWiz Wrote:Ok, this sounds like a new feature.

tvshowman Wrote:and have moviewiz import the info in realtime back to PVRX2 so when you click a new recorded file it plays fine....
JavaWiz Wrote:And this sounds like a new feature also. From the MovieWiz db, perhaps create an export file that would match the GBPVR export/import format. This way, you could export out of MovieWiz and import into GBPVR.

That would be perfect.

tvshowman Wrote:rewriting the metadata would make it simple to use mpegimport to batch import 1000's of movies from a directory into any installation of PVRX2 complete with all description info.... People could create their own directory structure and use moviewiz to name or retag the files and mpgimport could load the metatag data as a batch into PVRX2 database. that would be a killer solution! and moviewiz could add addtion info into the metadata like where to download the info and pictures URL etc... to make reimporting a snap

JavaWiz Wrote:Unfortunately, this information is fairly tightly integrated with the EPG, somehow, I'd probably have to create some dummy EPG entries to hold the show info since there is no easy way to link back to the original entry (it may not even exist anymore).

I think something like this could be done, but I don't like the idea of directly updating GBPVR tables (ie the EPG info - programme table) since

1. The table structure could change with future releases.
2. My program could potentially corrupt the table if I don't follow the business rules that sub has in GBPVR related to those tables.

I am not sure why MovieWiz would need to access the EPG since we would be using the Amazon database for matches and once we found a suitable choice for the movie we are getting info for then we can delete and re-import the file and info back into PVRX2 as a new entry and delete the old or simply replace the info.

I am suggesting to make MovieWiz act like "mp3 tag and replace" programs that change the file names and descriptions and import them back.

with an amazon friendly filename it would be easier and faster for MovieWiz to import files that were moved and info lost.... and if you move files to other hard drives then Metadata info could be lost so so rebuilding the metadata will make it easier for me and others to mass import files back into future version of PVRX2 using programs such as mgimport and will also make it easier to recover from a database loss or corruption.
JavaWiz Wrote:sub, do you have any suggestions how something like this could be accomplished without causing future headaches for you? Would I have to create some XML-TV type input file for the 'fake' EPG entries?

I assume that there is a channel input that must be associated with each mpg file import? This kinda explains to me now why mpegimport requires everyone to put a universal channel number to use if the channel info for the mpg is not found. I used the word Archived and noticed this appeared on some of my imported files under channel name in the recordings menu and thought this is a great feature since i know where the movie is. You could try something similar to that where it uses the info found in metadata by default and if none is found it can use the word "MovieWiz" as the channel number.

I will look again in MovieWiz for the rename utillity so I can begin the long process of reimporting my files into moviewiz that have bad search matches and deleting them again with the new name to see how reliably and quick it finishes with the new change.


cheers!
[SIGPIC][/SIGPIC]
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#9
2008-04-05, 03:07 PM
Are you wanting all these features so you can re-import into MovieWiz, or into GBPVR so the program show back up in the Recordings plugin?

Also, you keep mentioning metadata, as if there is some file or information embedded in the .mpg. The video files do not contain tags and data like .MP3 files. All the information about the movie is stored in the GBPVR.DB3, or MovieWiz.DB3.

If you move a file (and/or) transcode, MovieWiz should be able to find that file again and 'sync' to the database as long as the base filename does not change.
tvshowman
Offline

Senior Member

Posts: 430
Threads: 66
Joined: Dec 2007
#10
2008-04-05, 05:28 PM
JavaWiz Wrote:Are you wanting all these features so you can re-import into MovieWiz, or into GBPVR so the program show back up in the Recordings plugin?
Yes, that is exactly the reason. I have lost my database many times with carelessness etc... if you move a directory and open PVRX2 it can remove the files from the database. Many people here lose their database all the time. And I like the recordings menu since it has the alphabetical names and also the laest recordings and of course it can resume
the movie.


JavaWiz Wrote:Also, you keep mentioning metadata, as if there is some file or information embedded in the .mpg. The video files do not contain tags and data like .MP3 files. All the information about the movie is stored in the GBPVR.DB3, or MovieWiz.DB3.

If you have an NTFS file system PVRX2 will write to the secondary data channel some metadata and that is attached to the mpg file. To access this data open a command window in the video directory and type:
notepad yourmovie.mpg:metadata.xml

Example:
Notepad Grass_20080405_07000830.mpg:metadata.xml

ths pops up

Code:
<?xml version="1.0" encoding="UTF-8"?>
<recording>
  <filename>C:\record\Grass_20080405_07000830.mpg</filename>
  <channel>332 SUNDAE</channel>
  <status>READY</status>
  <startTime>2008-04-05 07:00:00</startTime>
  <endTime>2008-04-05 08:30:00</endTime>
  <title>Grass</title>
  <subtitle></subtitle>
  <description>Filmmaker Ron Mann looks at the history of marijuana, from early government propaganda newsreels to Ronald Reagan's war on drugs. Narrated by Woody Harrelson.

(1999) (120 min) (3 stars) Actors: Harry S. Robins, Douglass Smith. Director: Ron Mann. Writer: Solomon Vesta. (MV000804480000) (MPAA:R)</description>
  <uid></uid>
</recording>

This data will be lost if you rename your mpg to something else or if you move it to another hard drive and sometimes moving it to a different directory I don't really know how to protect the metadata info or how to move it to another hard drive with the mpgs and have requested for facts about it on this forum at some point. I did not get info about it.

Code:
MpegImport is a simple utility for scanning a folder for mpeg and ani files and generating an xml file which can then be imported into GBPVR.

Version 0.5

    * Modified to use the metadata.xml in NTFS file systems. If the metadata is present all MpegImport does is replace the filename property.

All other properties (title, subtitle, start/end time, channel, etc etc) are left as is.
read the thread here
http://forums.nextpvr.com/showthread.php...t+metadata
Wiki
http://gbpvr.com/pmwiki/pmwiki.php/Utility/MpegImport

JavaWiz Wrote:If you move a file (and/or) transcode, MovieWiz should be able to find that file again and 'sync' to the database as long as the base filename does not change.

I have lost the database files for different reasons and have movies on other drives etc... the solutoion for carelessness is to star tat the root which is the file. File and and metadata are a great start.

I have seen so many posts here about people losing all their movie links in PVRX2 and everyone says they cannot import the files and recommends that they backup the database in the future or to update the movie paths in the database with some sort of editor.

I use mpgimport and it imports hundreds of movies into PVRX2 in seconds complete with descriptions of the movie if it has meta data attached.

if your recordings disappear folks you can import them back in minutes using mpgimport.

The problem I have had with MovieWiz is that if I lost the database I would have to re-import by hand all the files again that I had o import before. I mean the files I had to search for posters and the ones that MovieWiz could not find a match because of various reasons... I spent hours setup up the database for moviewiz and losing it in a minute over an install or something is very discouraging...

I just thought that this would be a great start to having my moviefiles all names friendly for the searches so in the future I can just point MovieWiz to the hard drive and it will pull everything and posters for every file Ihave.
[SIGPIC][/SIGPIC]
« 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
  Wiz Metadata Grabber - externalise from GBPVR psycik 24 21,579 2011-04-16, 05:24 PM
Last Post: imilne
  Wiz Metadata Grabber JP23 95 46,826 2010-06-21, 03:38 AM
Last Post: Azimuth
  WizMetadataGrabber: wishlist ACTCMS 24 18,512 2010-03-07, 08:29 PM
Last Post: Mike S
  MovieWiz: Wishlist 7ore 2 2,591 2010-02-25, 07:02 AM
Last Post: 7ore
  WizImageGrabber: wishlist scb147 9 4,434 2010-01-06, 05:54 AM
Last Post: JavaWiz
  Personal Wishlist mkenyon2 4 3,256 2009-07-07, 04:51 PM
Last Post: JavaWiz
  Wiz Metadata Grabber, images sometimes not saved? Incongruent 1 1,654 2009-01-06, 10:50 PM
Last Post: JavaWiz
  Wiz MetaData Grabber unable to process a dash (-) in the episode name Azimuth 5 2,948 2009-01-04, 09:47 PM
Last Post: smajor
  MovieWiz Wishlist - Archive to DVD rbelisle 5 3,050 2008-03-31, 04:41 PM
Last Post: rbelisle
  wishlist - Keep searching until found pastro 6 2,626 2007-11-30, 05:14 AM
Last Post: pastro

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

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

Linear Mode
Threaded Mode