This project has moved. For the latest updates, please go here.

Movie Tag in XML

Jun 12, 2014 at 3:14 PM
I'm using a Perl script found in these forums to generate an XML metadata file to accompany my video files recorded from DVBLink. I am trying to add a tag to these XML files to identify the video file as either a Movie or TV show. I can see in logs MCEBuddy is looking for

"Is Show Movie: False"

No matter what tag I add into my XML file referencing Movie MCEBuddy refusing to recognise it as a Movie. I am happy to post full, lengthy logs but wondered if this was a quick fix?
Coordinator
Jun 12, 2014 at 3:23 PM
What type of XMLFile are you using? (what format are you following), post the sample.


Jun 12, 2014 at 3:28 PM
The XML is generated with the Perl script so I think I could tweak the script to change the format if necessary. This is how it shows presently:

<?xml version="1.0" encoding="UTF-8"?>
<recording><channel>BBC Four HD</channel><title>Notes on a Scandal</title><description>Adaptation of Zoe Heller's novel about manipulative relationships. Self-styled 'old battleaxe' Barbara befriends new fellow teacher, Sheba, but with ulterior motives, and feels betrayed when the younger woman risks marriage and career by having an affair with underage pupil Steven.</description><startTime>2014-06-11 21:31</startTime><original_air_date>2014-06-11</original_air_date><genres><genre>1402518697</genre></genres></recording>
Coordinator
Jun 12, 2014 at 3:36 PM
you are using the nPVR XML format (this matters because tags differ for each XML format, nVR, SageTV, MediaPortal, ICETV etc).

for nPVR, add the following tags for movie type show

<genres>
<genre>Movie</genre>
</genres>

and for Sport type show

<genres>
<genre>Sport</genre>
</genres>

case is important.


Marked as answer by rboy1 on 6/12/2014 at 6:11 PM
Jun 12, 2014 at 4:07 PM
I think I may have been using the wrong case. Will test.
Jun 12, 2014 at 4:55 PM
Hmmmm. Didn't appear to work? Still says "Is Show Movie: False" and therefore the search criteria for the Film doesn't pick it up. I have taken an excerpt of the log - let me know if you want the whole thing to have a look:

2014-06-12T17:52:01 MCEBuddy.MetaData.VideoMetaData --> Checking for metadata title and series correction
INFORMATION> 2014-06-12T17:52:01 MCEBuddy.MetaData.VideoMetaData --> Skipping downloading Series details
2014-06-12T17:52:01 MCEBuddy.MetaData.VideoMetaData --> Updated Video Tags after downloading details ->
Title: Notes on a Scandal
SubTitle:
Description: Adaptation of Zoe Heller's novel about manipulative relationships. Self-styled 'old battleaxe' Barbara befriends new fellow teacher, Sheba, but with ulterior motives, and feels betrayed when the younger woman risks marriage and career by having an affair with underage pupil Steven.
Network: BBC Four HD
Parental Rating:
Media Credits:
Genres: Movie
Season: 0
Episode: 0
Banner:
Banner URL:
IMDB MovieId:
MovieDB MovieId:
TVDB SeriesId:
Is Show Movie: False
Is Show Sports: False
OriginalBroadcastDateTime: 2014-06-11T00:00:00
RecordedDateTime: 2014-06-11T21:31:00
SeriesPremiereDate: 1900-01-01T00:00:00
CopyProtected: False
Jun 12, 2014 at 4:56 PM
Ooops should also add the amended XML file:

<?xml version="1.0" encoding="UTF-8"?>
<recording><channel>BBC Four HD</channel><title>Notes on a Scandal</title><description>Adaptation of Zoe Heller's novel about manipulative relationships. Self-styled 'old battleaxe' Barbara befriends new fellow teacher, Sheba, but with ulterior motives, and feels betrayed when the younger woman risks marriage and career by having an affair with underage pupil Steven.</description><startTime>2014-06-11 21:31</startTime><original_air_date>2014-06-11</original_air_date><genres><genre>Movie</genre></genres></recording>
Coordinator
Jun 12, 2014 at 5:52 PM
What build are you using? For future reference please post a link to the full log file

Jun 12, 2014 at 6:28 PM
I'm using 2.3.15

I've pasted as much of the log as I can here:

(__http://pastebin.com/hSwMCLTE__)

The whole log is too massive.
Coordinator
Jun 13, 2014 at 1:03 AM
The log file has been deleted. Note, in future just zip and upload the entire zip file on dropbox

Using the latest 2.4.1 BETA build, it's working fine for me. I pasted your XML code into in a file and here is what I get my logs:

2014-06-12T20:57:47 MCEBuddy.MetaData.VideoMetaData --> Video Tags extracted ->
Title: Notes on a Scandal
SubTitle:
Description: Adaptation of Zoe Heller's novel about manipulative relationships. Self-styled 'old battleaxe' Barbara befriends new fellow teacher, Sheba, but with ulterior motives, and feels betrayed when the younger woman risks marriage and career by having an affair with underage pupil Steven.
Network: BBC Four HD
Parental Rating:
Media Credits:
Genres: Movie
Season: 0
Episode: 0
Banner:
Banner URL:
IMDB MovieId:
MovieDB MovieId:
TVDB SeriesId:
Is Show Movie: True
Is Show Sports: False
OriginalBroadcastDateTime: 2014-06-11T00:00:00
RecordedDateTime: 2014-06-11T21:31:00
SeriesPremiereDate: 1899-12-31T19:00:00
CopyProtected: False