This post is for Andy, who has offered to collect some My Movies v5.x metadata for a Title that has discs in a changer. I'm posting here instead of on the My Movies forum since their 14-year-old forum software thinks my <xml> code snippets are somehow dangerous and won't let me post them there.
Here is how to grab the metadata via the API. You will need to open a couple URL's, as shown below, and you will need to swap a few values in the URL's to match your environment.
First, I'll assume that you are opening these URL's on the same PC that is running the My Movies API (i.e. "
localhost"), but you can swap
localhost for the PC Name that has the API service running if that is more convenient.
Please note that the My Movies API only runs on a My Movies Desktop install (not Home Server), and runs inside of the "My Movies Tray Application" icon - so whichever PC of yours has the system tray icon is the target for opening these URL's. And make sure that the tray icon is running/visible, or else these steps will fail.
First, run the
GetTitleList command, which will bring back a list of your titles:
Code: Select all
http://localhost:51414/?command=GetTitleList&SortBy=ID&FieldList="ID,LocalTitle,"&APIKey=abcde
You'll need to replace the "
abcde" value for the
APIKey to match the API Key configured in MMCM on your system (
MMCM >
Tools >
Settings >
Remote Control Server). While you're in the settings, also make sure that "
Allow connections from remote control devices" is enabled.
And replace
localhost with the My Movies desktop PC name if you are not on that PC.
You should get data like this:
Code: Select all
<Response status="ok">
<Titles>
<Title id="1" recordChanged="8/8/2017 6:31:36 PM" personalDataChanged="12/31/2019 7:52:59 PM" worksAsTVSeries="false" localTitle="Eulogy"/>
<Title id="2" recordChanged="8/8/2017 6:31:42 PM" personalDataChanged="8/10/2019 10:36:50 PM" worksAsTVSeries="false" localTitle="Like Dandelion Dust"/>
From the Title List, choose an interesting Title (preferably one that has multiple discs in your changers), and use the id # in the next step:
Code: Select all
http://localhost:51414/?command=GetTitleAndPersonalData&ID=83&IncludeMediaInfo=True&ExcludeDiscTitles=False&APIKey=abcde
Again, replace the
APIKey value with your API Key, and
localhost if needed. Also replace the
ID=83 with the ID # you chose from step 1.
TIPS: Sometimes the API doesn't respond in a way that opens the URL successfully in a web browser. If you get an error message, often just try hitting Refresh in your web browser to try loading the page again.
The output you get from this 2nd step is essentially what goes into the mymovies.xml metadata files (formatting and content is slightly different, but very similar).
Please copy all and send to me. You can past here if you want. You can also save it as a file and post it, but to do so here will require a 256 prefix of text data at the top of the file to get around forum safety measures. For example, place this at the top of the metadata file:
Code: Select all
This is a 256+ character text string that is placed in from of XML data to prevent the forum software from treating it as dangerous code. Do not shorten this text string, if it isn't long enough it won't work. Here's some extra blah blah blah text just to make it long enough.
<Response status="ok">
<Title IsBoxSetParent="False" IsBoxSetChild="False">
<ID>83</ID>
Thanks,
Paul