home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
General
Export tool and import support from MP-TVSeries & Moving Pictures to MP2
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="raffe" data-source="post: 1253665" data-attributes="member: 71199"><p><span style="color: #0000ff">*************************************************</span></p><p><strong>EDIT</strong> 2019-04-29: New version, see Gitlad for change log. Thank you <span style="font-size: 15px"><strong><a href="https://forum.team-mediaportal.com/members/sincowboy.154817/" target="_blank">SINCowboy</a></strong></span></p><p></p><p>So I took your advice and my ancient developer skills to make this tool:</p><p><a href="https://gitlab.com/raffe1234/mptvseries-and-movingpictures-to-mp2/tree/master" target="_blank">Files · master · Raffe / MPTVSeries and MovingPictures to MP2 · GitLab</a></p><p></p><p>I think we all are surprised that it actually seems to work. If anyone else need a tool like this, try it. If it has errors, and it probably has, you are free to improve it <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>For info about what it does, read the README.md, the posts under or just test it.</p><p></p><p>I have tried to follow the picture and nfo guidelines here:</p><p><a href="https://www.team-mediaportal.com/wiki/display/MediaPortal2/NfoMovieMetadataExtractor" target="_blank">NfoMovieMetadataExtractor</a></p><p><a href="https://www.team-mediaportal.com/wiki/display/glossary/NFO+Node+-+Lexical+support" target="_blank">NFO Node - Lexical support</a></p><p><a href="https://kodi.wiki/view/TV-Show_artwork" target="_blank">TV-Show artwork - Official Kodi Wiki</a></p><p><a href="https://kodi.wiki/view/NFO_files/TV_shows" target="_blank">NFO files/TV shows - Official Kodi Wiki</a></p><p></p><p>For TV series it works best if you have:</p><p>1. One folder for each TV series, eg. maybe "The.Blacklist"</p><p>2. In the TV series folder you have one folder for each seson, eg. maybe "S01"</p><p></p><p>I also recommend using Trakt.</p><p></p><p>This tool will not alter any media files. It will make .nfo files and copy pictures from Moving Pictures and MPTVSeries to their media folders.</p><p></p><p>These .nfos and pictures may make it easier to move from MP1 to MP2.</p><p></p><p>You need to have this software on a computer that can find both the MP1 files and the media folders. You also need to have sqlite3_x64.dll in the same folder as the application.</p><p></p><p>If, or probably when, you get problems. Check the content of the database, maybe with the tool here: <a href="https://sqlitebrowser.org/" target="_blank">DB Browser for SQLite</a></p><p></p><p>Some examples: Is the filename to long in database (more than 260 char)? Do the online_series have empty rows? Etc...</p><p></p><p>Also check the folder, do the files have the right name, season & episode etc? Check with <a href="http://www.thetvdb.com" target="_blank">www.thetvdb.com</a>.</p><p></p><p>If nothing helps, maybe you need to install autoit and make your own error checks in the code. You may find some Media Portal help in this forum:</p><p><a href="https://forum.team-mediaportal.com/categories/mediaportal-2.528/" target="_blank">MediaPortal 2 | MediaPortal HTPC</a></p><p></p><p>You should find the source here:</p><p><a href="https://gitlab.com/raffe1234/mptvseries-and-movingpictures-to-mp2/tree/master" target="_blank">Files · master · Raffe / MPTVSeries and MovingPictures to MP2 · GitLab</a></p><p></p><p>And some Autoit help in this forum: <a href="https://www.autoitscript.com/forum/forum/43-autoit-help-and-support" target="_blank">AutoIt Help and Support</a></p><p></p><p>/raffe</p><p></p><p>Some screenshots.</p><p></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong>Moving Pictures Create Mode</strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><img src="https://i.imgur.com/jBCW2dK.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong>Moving Pictures Delete Mode</strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><img src="https://i.imgur.com/kdFq0GK.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><strong>Moving Pictures In Action</strong></strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><strong><img src="https://i.imgur.com/ecfjYSy.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </strong></strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><strong><strong>TV-Series Create Mode</strong></strong></strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><strong><strong><img src="https://i.imgur.com/5hkOcJU.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </strong></strong></strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><strong><strong><strong><strong><strong><strong>TV-Series Delete Mode</strong></strong></strong></strong></strong></strong></strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><strong><strong><strong><strong><strong><strong><img src="https://i.imgur.com/Hb6yD6M.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </strong></strong></strong></strong></strong></strong></strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong>TV-Series In Action</strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></span></span></p><p><span style="font-size: 26px"><span style="color: #0000ff"><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><strong><img src="https://i.imgur.com/ZrVOoQ5.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></strong></span></span></p><p><span style="color: #0000ff"><strong>*************************************************</strong></span></p><p><span style="color: #0000ff"></span></p><p>Hi!</p><p></p><p>I am struggling in my efforts to go from MP1 to MP2. The problem is that I have used MP1 for a long time and now have 2992 movies (some normal (maybe 2300), some obscure that are not in IMDB, some homemade) and 439 series (some normal (maybe 350), some homemade, some educational like PhotoShop courses) with about 12103 episodes.</p><p></p><p>If there was <strong>an export tool, to get info from MP-TVSeries & Moving Pictures databases and picture folders, and import support from that export to MP2</strong>, when I have MP1 and MP2 on the same PC (all databases and pictures on same PC), it would help tremendously as a start with getting everything into MP2.</p><p></p><p>When I have tried to go from MP1 to MP2, last time with MP2.2, I have first used <a href="https://www.team-mediaportal.com/extensions/movies-videos/movpicnfo" target="_blank">MovPicNFO</a> (edit: not this; <a href="https://www.team-mediaportal.com/extensions/tools/movingpictures-import-export-gui" target="_blank">MovingPictures Import Export GUI</a> ) to get "XML files containing all of the movie information and local media settings, as well as watched settings and custom filter (black / white), list settings" to the movie folder. "It will also copy all related cover art (cover, thumb, alternate covers, and backdrop)" to the movie folder. But it don't seem to work better when importing to MP2, I still have 30% of the children movies (a smaller movie folder) without pictures, and I still have very many series and episodes that don't work with this tool, left to get into MP2.</p><p></p><p>If there was a tool like "MovPicNfo" for both MP-TVSeries & Moving Pictures and support on MP2 to use this info to first populate the MP2 database, it would make everything much more easy. If the tool can't help with EVERYTHING, say I still have 100+ movies and 5 series to do manually (maybe there is a log where I can see problems), it would still be much less work. I would also guess this would make it easier for more people than me to migrate to MP2 and the first import maybe would go faster.</p><p></p><p>The files I get with the tool today looks something like this:</p><p><strong>9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.avi</strong>, this is just the movie. In the same folder as the movie is in, I get these files with the tool:</p><p><strong>9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.imdbid.txt</strong> contains</p><p>[code]tt0472033[/code]</p><p><strong>9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.nfo</strong> contains</p><p>[code]<?xml version="1.0" encoding="UTF-8"?></p><p><movie></p><p> <title>9</title></p><p> <sorttitle>9</sorttitle></p><p> <originaltitle>|9|Número 9|#9|9 - A Salvação|Devetka|Nueve|Numéro 9|</originaltitle></p><p> <rating>5.9</rating></p><p> <year>2009</year></p><p> <plot>A rag doll that awakens in a post-apocalyptic future holds the key to humanity's salvation.</plot></p><p> <tagline>(5) To Guide Us...</tagline></p><p> <runtime>79</runtime></p><p> <mpaa>PG-13</mpaa></p><p> <language>English</language></p><p> <id>tt0472033</id></p><p> <director>|Shane Acker|</director></p><p> <studios>|Focus Features|</studios></p><p> <watched>True</watched></p><p> <genre>Animation</genre></p><p> <genre>Action</genre></p><p> <genre>Adventure</genre></p><p> <genre>Fantasy</genre></p><p> <genre>Mystery</genre></p><p> <genre>Sci-Fi</genre></p><p> <genre>Thriller</genre></p><p> <actor></p><p> <name>Christopher Plummer</name></p><p> </actor></p><p> <actor></p><p> <name>Martin Landau</name></p><p> </actor></p><p> <actor></p><p> <name>John C. Reilly</name></p><p> </actor></p><p> <actor></p><p> <name>Crispin Glover</name></p><p> </actor></p><p> <actor></p><p> <name>Jennifer Connelly</name></p><p> </actor></p><p> <actor></p><p> <name>Fred Tatasciore</name></p><p> </actor></p><p> <actor></p><p> <name>Elijah Wood</name></p><p> </actor></p><p> <actor></p><p> <name>Alan Oppenheimer</name></p><p> </actor></p><p> <actor></p><p> <name>Tom Kane</name></p><p> </actor></p><p> <actor></p><p> <name>Helen Wilson</name></p><p> </actor></p><p> <writer></p><p> <name>Pamela Pettler</name></p><p> </writer></p><p> <writer></p><p> <name>Shane Acker</name></p><p> </writer></p><p></movie>[/code]</p><p><strong>9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.WatchStatus.xml </strong>contains</p><p>[code]<?xml version="1.0" encoding="UTF-8"?></p><p><movie></p><p> <watched>True</watched></p><p></movie>[/code]</p><p><strong>9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD_cover.jpg</strong> (cover picture)</p><p><strong>9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD_fanart.jpg</strong> (fan art picture)</p><p></p><p>This is an example on what the tool do, but a new tool maybe</p><ol> <li data-xf-list-type="ol">Only need to create one XML file and the pictures. <br /> </li> <li data-xf-list-type="ol">Would be nice with an error log, that gives a back log with info about which files I need to work manually with.<br /> </li> <li data-xf-list-type="ol">Also, if every file that the tool creates also contains unique characters in the file name, they could easily be deleted when they are not needed anymore. E.g. say the filenames would look like this:<br /> 9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.avi<br /> 9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.MP2SuperToolVer00123.nfo.txt<br /> 9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.MP2SuperToolVer00123.cover.jpg <br /> 9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.MP2SuperToolVer00123.fanart.jpg</li> </ol><p>/raffe</p></blockquote><p></p>
[QUOTE="raffe, post: 1253665, member: 71199"] [COLOR=#0000ff]*************************************************[/COLOR] [B]EDIT[/B] 2019-04-29: New version, see Gitlad for change log. Thank you [SIZE=4][B][URL='https://forum.team-mediaportal.com/members/sincowboy.154817/']SINCowboy[/URL][/B][/SIZE] So I took your advice and my ancient developer skills to make this tool: [URL='https://gitlab.com/raffe1234/mptvseries-and-movingpictures-to-mp2/tree/master']Files · master · Raffe / MPTVSeries and MovingPictures to MP2 · GitLab[/URL] I think we all are surprised that it actually seems to work. If anyone else need a tool like this, try it. If it has errors, and it probably has, you are free to improve it :) For info about what it does, read the README.md, the posts under or just test it. I have tried to follow the picture and nfo guidelines here: [URL='https://www.team-mediaportal.com/wiki/display/MediaPortal2/NfoMovieMetadataExtractor']NfoMovieMetadataExtractor[/URL] [URL='https://www.team-mediaportal.com/wiki/display/glossary/NFO+Node+-+Lexical+support']NFO Node - Lexical support[/URL] [URL='https://kodi.wiki/view/TV-Show_artwork']TV-Show artwork - Official Kodi Wiki[/URL] [URL='https://kodi.wiki/view/NFO_files/TV_shows']NFO files/TV shows - Official Kodi Wiki[/URL] For TV series it works best if you have: 1. One folder for each TV series, eg. maybe "The.Blacklist" 2. In the TV series folder you have one folder for each seson, eg. maybe "S01" I also recommend using Trakt. This tool will not alter any media files. It will make .nfo files and copy pictures from Moving Pictures and MPTVSeries to their media folders. These .nfos and pictures may make it easier to move from MP1 to MP2. You need to have this software on a computer that can find both the MP1 files and the media folders. You also need to have sqlite3_x64.dll in the same folder as the application. If, or probably when, you get problems. Check the content of the database, maybe with the tool here: [URL='https://sqlitebrowser.org/']DB Browser for SQLite[/URL] Some examples: Is the filename to long in database (more than 260 char)? Do the online_series have empty rows? Etc... Also check the folder, do the files have the right name, season & episode etc? Check with [URL='http://www.thetvdb.com']www.thetvdb.com[/URL]. If nothing helps, maybe you need to install autoit and make your own error checks in the code. You may find some Media Portal help in this forum: [URL='https://forum.team-mediaportal.com/categories/mediaportal-2.528/']MediaPortal 2 | MediaPortal HTPC[/URL] You should find the source here: [URL='https://gitlab.com/raffe1234/mptvseries-and-movingpictures-to-mp2/tree/master']Files · master · Raffe / MPTVSeries and MovingPictures to MP2 · GitLab[/URL] And some Autoit help in this forum: [URL='https://www.autoitscript.com/forum/forum/43-autoit-help-and-support']AutoIt Help and Support[/URL] /raffe Some screenshots. [SIZE=7][COLOR=#0000ff][B][B]Moving Pictures Create Mode[/B][/B] [B][B][IMG]https://i.imgur.com/jBCW2dK.png[/IMG] [/B][/B] [B][B]Moving Pictures Delete Mode[/B][/B] [B][B][IMG]https://i.imgur.com/kdFq0GK.png[/IMG] [/B][/B] [B][B][B]Moving Pictures In Action[/B][/B][/B] [B][B][B][IMG]https://i.imgur.com/ecfjYSy.png[/IMG] [/B][/B][/B] [B][B][B][B]TV-Series Create Mode[/B][/B][/B][/B] [B][B][B][B][IMG]https://i.imgur.com/5hkOcJU.png[/IMG] [/B][/B][/B][/B] [B][B][B][B][B][B][B][B]TV-Series Delete Mode[/B][/B][/B][/B][/B][/B][/B][/B] [B][B][B][B][B][B][B][B][IMG]https://i.imgur.com/Hb6yD6M.png[/IMG] [/B][/B][/B][/B][/B][/B][/B][/B] [B][B][B][B][B][B][B][B][B][B][B][B]TV-Series In Action[/B][/B][/B][/B][/B][/B][/B][/B][/B][/B][/B][/B] [B][B][B][B][B][B][B][B][B][B][B][B][IMG]https://i.imgur.com/ZrVOoQ5.png[/IMG] [/B][/B][/B][/B][/B][/B][/B][/B][/B][/B][/B][/B][/COLOR][/SIZE] [COLOR=#0000ff][B]*************************************************[/B] [/COLOR] Hi! I am struggling in my efforts to go from MP1 to MP2. The problem is that I have used MP1 for a long time and now have 2992 movies (some normal (maybe 2300), some obscure that are not in IMDB, some homemade) and 439 series (some normal (maybe 350), some homemade, some educational like PhotoShop courses) with about 12103 episodes. If there was [B]an export tool, to get info from MP-TVSeries & Moving Pictures databases and picture folders, and import support from that export to MP2[/B], when I have MP1 and MP2 on the same PC (all databases and pictures on same PC), it would help tremendously as a start with getting everything into MP2. When I have tried to go from MP1 to MP2, last time with MP2.2, I have first used [URL='https://www.team-mediaportal.com/extensions/movies-videos/movpicnfo']MovPicNFO[/URL] (edit: not this; [URL='https://www.team-mediaportal.com/extensions/tools/movingpictures-import-export-gui']MovingPictures Import Export GUI[/URL] ) to get "XML files containing all of the movie information and local media settings, as well as watched settings and custom filter (black / white), list settings" to the movie folder. "It will also copy all related cover art (cover, thumb, alternate covers, and backdrop)" to the movie folder. But it don't seem to work better when importing to MP2, I still have 30% of the children movies (a smaller movie folder) without pictures, and I still have very many series and episodes that don't work with this tool, left to get into MP2. If there was a tool like "MovPicNfo" for both MP-TVSeries & Moving Pictures and support on MP2 to use this info to first populate the MP2 database, it would make everything much more easy. If the tool can't help with EVERYTHING, say I still have 100+ movies and 5 series to do manually (maybe there is a log where I can see problems), it would still be much less work. I would also guess this would make it easier for more people than me to migrate to MP2 and the first import maybe would go faster. The files I get with the tool today looks something like this: [B]9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.avi[/B], this is just the movie. In the same folder as the movie is in, I get these files with the tool: [B]9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.imdbid.txt[/B] contains [code]tt0472033[/code] [B]9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.nfo[/B] contains [code]<?xml version="1.0" encoding="UTF-8"?> <movie> <title>9</title> <sorttitle>9</sorttitle> <originaltitle>|9|Número 9|#9|9 - A Salvação|Devetka|Nueve|Numéro 9|</originaltitle> <rating>5.9</rating> <year>2009</year> <plot>A rag doll that awakens in a post-apocalyptic future holds the key to humanity's salvation.</plot> <tagline>(5) To Guide Us...</tagline> <runtime>79</runtime> <mpaa>PG-13</mpaa> <language>English</language> <id>tt0472033</id> <director>|Shane Acker|</director> <studios>|Focus Features|</studios> <watched>True</watched> <genre>Animation</genre> <genre>Action</genre> <genre>Adventure</genre> <genre>Fantasy</genre> <genre>Mystery</genre> <genre>Sci-Fi</genre> <genre>Thriller</genre> <actor> <name>Christopher Plummer</name> </actor> <actor> <name>Martin Landau</name> </actor> <actor> <name>John C. Reilly</name> </actor> <actor> <name>Crispin Glover</name> </actor> <actor> <name>Jennifer Connelly</name> </actor> <actor> <name>Fred Tatasciore</name> </actor> <actor> <name>Elijah Wood</name> </actor> <actor> <name>Alan Oppenheimer</name> </actor> <actor> <name>Tom Kane</name> </actor> <actor> <name>Helen Wilson</name> </actor> <writer> <name>Pamela Pettler</name> </writer> <writer> <name>Shane Acker</name> </writer> </movie>[/code] [B]9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.WatchStatus.xml [/B]contains [code]<?xml version="1.0" encoding="UTF-8"?> <movie> <watched>True</watched> </movie>[/code] [B]9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD_cover.jpg[/B] (cover picture) [B]9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD_fanart.jpg[/B] (fan art picture) This is an example on what the tool do, but a new tool maybe [LIST=1] [*]Only need to create one XML file and the pictures. [*]Would be nice with an error log, that gives a back log with info about which files I need to work manually with. [*]Also, if every file that the tool creates also contains unique characters in the file name, they could easily be deleted when they are not needed anymore. E.g. say the filenames would look like this: 9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.avi 9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.MP2SuperToolVer00123.nfo.txt 9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.MP2SuperToolVer00123.cover.jpg 9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.MP2SuperToolVer00123.fanart.jpg [/LIST] /raffe [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
Export tool and import support from MP-TVSeries & Moving Pictures to MP2
Contact us
RSS
Top
Bottom