
ajp at cantabrian
Aug 31, 2012, 1:40 AM
Post #11 of 11
(601 views)
Permalink
|
|
Re: FW: Looking for sample video grabber scripts
[In reply to]
|
|
Hi, This info was absolutely fantastic ! I did read most of that page, but thought it was about the specs of the metadata files. A note with the "Video Library" pages would have helped but knowing about the .mxml files is fantastic ! I have spent more time on this and are moving forward but are trying to tidy and simplify things. My current question is this. I put a .mxml file alongside my video file down in a directory tree in my Videos storage group. I can see by the logs in the DB that it finds the .mxml file but then for some reason it tries to look in the root of the "default" storage group for a file with the same name. So I see the following entries in the DB logs: First Matching MXML file found. Parsing myth://Videos [at] 192:6543/TVSeries/Movies/1004_20110924182700.mxml for metadata... Then a bit later FileRingBuf(/storage/mythtv/sata1/default/1004_20110924182700.mxml): OpenFile(): Could not open. And again a bit later still Corrupt or invalid MXML file. Matching MXML file found. Parsing myth://Videos [at] 192:6543/TVSeries/Movies/1004_20110924182700.mxml for metadata... Followed again a bit later by FileRingBuf(/storage/mythtv/sata1/default/1004_20110924182700.mxml): OpenFile(): Could not open. And later again FileRingBuf(/storage/mythtv/sata1/default/1004_20110924182700.mxml): OpenFile(): Could not open. And again FileRingBuf(/storage/mythtv/sata1/default/1004_20110924182700.mxml): OpenFile(): Could not open. Finally Corrupt or invalid MXML file. Returning Metadata Results: 0 0 So........ If I copy the .mxml file to "/storage/mythtv/sata1/default/1004_20110924182700.mxml" it works, so I am assuming the format of the .mxml file is correct. Am I missing something in the .mxml file ? Thanks again BTW: /storage/mythtv/sata1/default = "Default" storage group /storage/mythtv/sata2/videos = "Videos" storage group -----Original Message----- From: mythtv-users-bounces [at] mythtv [mailto:mythtv-users-bounces [at] mythtv] On Behalf Of Raymond Wagner Sent: Thursday, 30 August 2012 5:30 p.m. To: Discussion about MythTV Subject: Re: [mythtv-users] FW: Looking for sample video grabber scripts On 8/30/2012 00:19, ajp [at] cantabrian wrote: > 1. I export an recorded movie from Myth > 2. I open it up in StreamClip and edit out commercials etc. > 3. I save as a .ts file. The TS file name now includes series name, > episode title, season, episode etc. > 4. I also save a .jpg screenshot that I gather during the editing > process > 5. I run a custom script against a bunch of these edited movies. > 6. The result of the custom script is: > a. A *.mp4 file with all metadata correct incl. artwork > b. A *.xml file suitable to be imported into Myth > c. A *.png file suitable to be imported into Myth > > So at the end of this process I have a file I can use in iTunes/iPhone/iPad. > This file is complete and all metadata including artwork encapsulated > in the one file. I also have an output that can be imported into Myth. In 6b, you create some XML file filled with metadata. Format that XML file in the manner described in that wiki link several responses back, name it the same thing as the video, but with an '.mxml' extension, and the scanner should automatically import it when it scans for content. This mechanism will not currently do anything with the artwork. _______________________________________________ mythtv-users mailing list mythtv-users [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2197 / Virus Database: 2437/5234 - Release Date: 08/29/12 _______________________________________________ mythtv-users mailing list mythtv-users [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-users
|