[mythtv-commits] Ticket #790: mythvideo *.imdb metadata enhancements
MythTV
mythtv at cvs.mythtv.org
Sun Dec 11 12:07:21 EST 2005
#790: mythvideo *.imdb metadata enhancements
------------------------------+---------------------------------------------
Reporter: mythtv.cvs at w8.ca | Owner: ijr
Type: enhancement | Status: new
Priority: minor | Milestone: 0.19
Component: mythtv | Version:
Severity: medium |
------------------------------+---------------------------------------------
Not sure if I should be doing this here.. but the ticket can always be
canned if need be. ;)
Anyhow, I use MythVideo with _many_ files. Approximately 2000 or so video
files. It works well for the task, but I am not sure that there is any
way to effectively keep metadata alive in a "good" way.
For example, let's say that I send an episode of Family Guy to a friend.
Right now, there is no way to carry the meta-data with this file. This
being the case, I have created a "filename.imdb" file, much like freevo
had for meta-data.
However, the only purpose of this *imdb file is for backups and for
transfers to other users. I have written a series of poorly coded and
hastily slapped together scripts, used for over a year now, for the
purpose of manipulating these files. They do:
- conversion of freevo's metadata files, to .imdb files. Helpful for
users that have seen the light ;)
- use of the imdb.pl (minor enhancements) script which then stores the
data in .imdb instead of in the database. This allows one to process
literally hundreds of videos on the command line, with the imdb.pl
script.. in about 15 minutes..
- a script to read all *.imdb files recusively in a directory, purge the
video database, and add everything back from these files
- a script that works with an "incoming" directory in the video directory,
making sure that all files in this directory are added to the database so
that one may watch unprocessed files. Useful if one runs mldonkey or the
like, and wants new incoming files to be added via a cron every 15
minutes...
Again, these scripts are rough, but are useful for me. Perhaps they can
just be slapped in a contrib directory, and go from there. However, they
also have been quite handy to everyone I know, that likes to transfer
movies or videos to friends. After all, I've spent considerable time
creating nice descriptions for downloaded TV series, including frame grabs
for the "cover" image. Truthfully, most of this has been via wget (for
descriptions from web sites) and some script magic, but time is always
used in tidying up such things. Point being, other users must be wanting
to transfer metadata with files. This gives them a .imdb file to do so,
allowing that a picture, .idmb + .avi can be sent at once, then
automatically incorporated with these scripts into the mythtv database.
Is there any way to add more of this functionality to mythtv core? There
could be an "import" option provided in the MythVideo database, which
simply calls one of these scripts. Leaving them in a perl script provides
easier modification for end users, if special circumstances on machines
require it.
Is there any interest in this sort of thing?
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/790>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list