- WD Community
- :
- WD TV Products
- :
- WD TV Live Hub
- :
- Hub Themes
- :
- Metadata Multiple Genres Batch Process
- WD Community
- News & Assistance
- Announcements
- New to Community
- Forum Feedback
- Off-Topic
- Software & Apps
- WD Software
- WD Mobile Apps
- Software & Accessory Ideas
- WD TV Live Streaming
- Live Streaming Discussions
- Live Streaming Firmware
- Live Streaming Ideas
- Live Streaming Issues
- WD TV Live Hub
- Hub Discussions
- Hub Firmware
- Hub Themes
- WD TV Live Hub Ideas
- WD TV Live Hub Issue Reporting
- WD TV Play
- WD TV Play
- Live & Live Plus
- Live Discussions
- Live Firmware
- Elements Play
- Elements Play
- External Drives
- Mac Externals
- PC Externals
- Portable Drives
- External Drive Ideas
- Network Devices
- Networking Devices
- Live Duo
- Sentinel
- My Book Live
- Other Network Drives
- Network Product Ideas
- Internal Drives
- Desktop & Portable
- Internal Drive Ideas
- Anuncios
- Noticias
- Nuevo a La Comunidad
- Los Productos de WD
- Software y Accesorios
- Reproductores Multimedia
- Unidades de Red
- Unidades Externas
- Unidades Internas
- Ankuendigungen
- Neuigkeiten
- Neu in der Community
- WD Produkte
- WD Programme
- WD TV Media Player
- Netzwerk Laufwerke
- Externe Laufwerke
- Interne Laufwerke
- Annunci
- Annunci e Novita'
- Nuovo per La Comunita'
- Prodotti WD
- Programmi & Accessori
- Riproduttori Multimediali
- Dischi di Rete
- Dischi Esterni
- Dischi Interni
- WD TV Legacy
- Hub Network
- Live Networking
- WD TV HD
- WD TV Mini
- Software
- WD Photos
- Other Software & Accessories
- Hard Drives
- WD ShareSpace
- Other Externals
- Other Internal Drives
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Metadata Multiple Genres Batch Process
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 06:03 AM
Batch Process Movie XMLs with Multi Genres. (for hundreds/thousands of movies)
Requirements:
* Movie XMLs Generated with Thumbgen 1.2.9.1
* "Textrep" free software
http://www.download25.com/install/free-text-blocks
Important: Spacing,Indentation and Case are Crucial
Before Proceeding, Backup your Movie XML's in case you make a mistake !
Launch "TEXTREP":
Path = "Your Movies" eg. C:\MOVIES
"Tick" include 'Subfolders' and 'Case Sensitive'
File Mask = *.xml
Make sure you Movie XMLs are 'Archived' and not 'Read Only'
STEP 1. Find What:
</mpaa>
<genre>
Replace With:
</mpaa>
<?xml version="1.0" encoding="utf-8"?>
<details>
<title>300</title>
<originaltitle>300</originaltitle>
<overview>Based on Frank Miller's graphic novel, "300" concerns the 480 B.C. Battle of Thermopylae, where the King of Sparta led his army against the advancing Persians; the battle is said to have inspired all of Greece to band together against the Persians, and helped usher in the world's first democracy.</overview>
<year>09.12.2006</year>
<plot>Based on Frank Miller's graphic novel, "300" concerns the 480 B.C. Battle of Thermopylae, where the King of Sparta led his army against the advancing Persians; the battle is said to have inspired all of Greece to band together against the Persians, and helped usher in the world's first democracy.</plot>
<runtime>117</runtime>
<trailer></trailer>
<rating>7.8</rating>
<mpaa>R</mpaa>
<imdb_id>tt0416449</imdb_id>
<mpaa>R</mpaa>
<genre>Action</genre>
<genre>Adventure</genre>
<genre>Fantasy</genre>
<genre>History</genre>
<actor>
<name>Gerard Butler</name>
</actor>
<actor>
<name>Lena Headey</name>
</actor>
<actor>
<name>David Wenham</name>
</actor>
<director>Zack Snyder</director>
<studio>Warner Bros. Pictures / Legendary Pictures / Virtual Studios / Hollywood Gang Productions / Atmosphere Entertainment MM</studio>
<url cache="tmdb-.xml" function="GetTMDBThumbsById" />
<prevtitle>300.mkv</prevtitle>
<prevgenre>N/A</prevgenre>
</details>
RESULT:
<trailer></trailer>
<rating>7.8</rating>
<mpaa>R</mpaa>
<imdb_id>tt0416449</imdb_id>
<mpaa>R</mpaa>Action</genre>
<genre>Adventure</genre>
<genre>Fantasy</genre>
<genre>History</genre>
<actor>
<name>Gerard Butler</name>
</actor>
STEP2. Find What:
</genre>
<genre>
Replace With:
/ (*NOTE - There is a Space Before and After the Foward Slash)
<trailer></trailer>
<rating>7.8</rating>
<mpaa>R</mpaa>
<imdb_id>tt0416449</imdb_id>
<mpaa>R</mpaa>Action</genre>
<genre>Adventure</genre>
<genre>Fantasy</genre>
<genre>History</genre>
<actor>
<name>Gerard Butler</name>
</actor>
RESULT:
<trailer></trailer>
<rating>7.8</rating>
<mpaa>R</mpaa>
<imdb_id>tt0416449</imdb_id>
<mpaa>R</mpaa>Action / Adventure / Fantasy / History</genre>
<actor>
<name>Gerard Butler</name>
</actor>
STEP3. Find What:
</mpaa>
Replace With:
</mpaa><genre>
<trailer></trailer>
<rating>7.8</rating>
<mpaa>R</mpaa>
<imdb_id>tt0416449</imdb_id>
<mpaa>R</mpaa>Action / Adventure / Fantasy / History</genre>
<actor>
<name>Gerard Butler</name>
</actor>
RESULT:
trailer></trailer>
<rating>7.8</rating>
<mpaa>R</mpaa><genre>
<imdb_id>tt0416449</imdb_id>
<mpaa>R</mpaa><genre>Action / Adventure / Fantasy / History</genre>
<actor>
<name>Gerard Butler</name>
</actor>
STEP4. Find What:
<genre>
<imdb_id>
Replace With:
<imdb_id>
trailer></trailer>
<rating>7.8</rating>
<mpaa>R</mpaa><genre>
<imdb_id>tt0416449</imdb_id>
<mpaa>R</mpaa><genre>Action / Adventure / Fantasy / History</genre>
<actor>
<name>Gerard Butler</name>
</actor>
RESULT:
<trailer></trailer>
<rating>7.8</rating>
<mpaa>R</mpaa><imdb_id>tt0416449</imdb_id>
<mpaa>R</mpaa><genre>Action / Adventure / Fantasy / History</genre>
<actor>
<name>Gerard Butler</name>
</actor>
FINISHED
A 4 Step Batch Procedure for lots of Movies which takes a second or two, to process.
Re: Metadata Multiple Genres Batch Process
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 06:14 AM
After doing this how does the "Filter / Genre" behave?
Re: Metadata Multiple Genres Batch Process
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 06:47 AM
Says "Unknown" ...
A Workaround... create Genre Folders for your Movies eg. Action , Horror , Comedy etc.
If you dont want do that, then disregard the Batch Process Method and leave your XML's with a Single Genre.
Re: Metadata Multiple Genres Batch Process
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 11:04 AM - edited 02-06-2012 11:09 AM
Wish I'd known about this method about a month ago Joey...I manually editted around 800 xml files!! ![]()
Nevertheless this method will also be very useful for people who may want to use my WIP Theme.
Is there anyway to add Movie plot to the end of genre info, as this will need to be carried out to achieve plot info display using my Preview View?
Thanks
Re: Metadata Multiple Genres Batch Process
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 11:37 AM
What would be the purpose for doing this?
Would it be worthwhile requesting TG to implement this feature built in?
Running Firmware 3.05 with ALASKA RESURFACE.
Please vote for Wall mode with Trailer and
BlackBerry Smartphone/ BlackBerry PlayBook application
Re: Metadata Multiple Genres Batch Process
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 04:04 PM
Yes it would be nice if Thumbgen had the feature to combine the Genres.
The Thumbgen Author was asked the main question... (plus an additional question)
http://forum.wdlxtv.com/viewtopic.php?f=25&t=6490&
He answered the 'additional question' .. but not the 'main question'.
Re: Metadata Multiple Genres Batch Process
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 05:15 PM
You can combine the Genres in Thumbgen. It just won't do it manually, in the Genre box under Movie Information, just change it from
Action,Adventure,Thriler (or whatever it is)
To
Action / Adventure / Thriller
Then click on the green check mark, then generate.
Re: Metadata Multiple Genres Batch Process
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 05:27 PM
Yes, you do it that way as well... assuming you wish to redo all your movies xml and tgmd files.
The Batch process is for the hundreds/thousands of movie xml's you've already previously generated.
Re: Metadata Multiple Genres Batch Process
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 06:08 PM
Yes, true. But I was referring to drizzt09's question:
drizzt09 wrote:What would be the purpose for doing this?
Would it be worthwhile requesting TG to implement this feature built in?
Re: Metadata Multiple Genres Batch Process
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
02-06-2012 10:14 PM
JoeySmyth wrote:Says "Unknown" ...
A Workaround... create Genre Folders for your Movies eg. Action , Horror , Comedy etc.
If you dont want do that, then disregard the Batch Process Method and leave your XML's with a Single Genre.
Im not sure what firmware you're on but my combined Genres show up just fine with the sort filter. I should mention I'm on the latest firmware and also did a cache clear and reset of the machine after editing the xml.
Thanks for the Textrep process ![]()
| Forums | Ideas | News and Announcements | Register | Sign in | Help | Forum Guidelines | |

