- March 28, 2008
- 256
- 78
*************************************************
EDIT 2019-04-29: New version, see Gitlad for change log. Thank you SINCowboy
So I took your advice and my ancient developer skills to make this tool:
Files · master · Raffe / MPTVSeries and MovingPictures to MP2 · GitLab
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:
NfoMovieMetadataExtractor
NFO Node - Lexical support
TV-Show artwork - Official Kodi Wiki
NFO files/TV shows - Official Kodi Wiki
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: DB Browser for SQLite
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 www.thetvdb.com.
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:
MediaPortal 2 | MediaPortal HTPC
You should find the source here:
Files · master · Raffe / MPTVSeries and MovingPictures to MP2 · GitLab
And some Autoit help in this forum: AutoIt Help and Support
/raffe
Some screenshots.
Moving Pictures Create Mode
Moving Pictures Delete Mode
Moving Pictures In Action
TV-Series Create Mode
TV-Series Delete Mode
TV-Series In Action
*************************************************
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 an export tool, to get info from MP-TVSeries & Moving Pictures databases and picture folders, and import support from that export to MP2, 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 MovPicNFO (edit: not this; MovingPictures Import Export GUI ) 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:
9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.avi, this is just the movie. In the same folder as the movie is in, I get these files with the tool:
9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.imdbid.txt contains
9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.nfo contains
9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.WatchStatus.xml contains
9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD_cover.jpg (cover picture)
9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD_fanart.jpg (fan art picture)
This is an example on what the tool do, but a new tool maybe
EDIT 2019-04-29: New version, see Gitlad for change log. Thank you SINCowboy
So I took your advice and my ancient developer skills to make this tool:
Files · master · Raffe / MPTVSeries and MovingPictures to MP2 · GitLab
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:
NfoMovieMetadataExtractor
NFO Node - Lexical support
TV-Show artwork - Official Kodi Wiki
NFO files/TV shows - Official Kodi Wiki
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: DB Browser for SQLite
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 www.thetvdb.com.
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:
MediaPortal 2 | MediaPortal HTPC
You should find the source here:
Files · master · Raffe / MPTVSeries and MovingPictures to MP2 · GitLab
And some Autoit help in this forum: AutoIt Help and Support
/raffe
Some screenshots.
Moving Pictures Create Mode

Moving Pictures Delete Mode

Moving Pictures In Action

TV-Series Create Mode

TV-Series Delete Mode

TV-Series In Action

*************************************************
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 an export tool, to get info from MP-TVSeries & Moving Pictures databases and picture folders, and import support from that export to MP2, 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 MovPicNFO (edit: not this; MovingPictures Import Export GUI ) 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:
9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.avi, this is just the movie. In the same folder as the movie is in, I get these files with the tool:
9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD.imdbid.txt contains
Code:
tt0472033
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:
<?xml version="1.0" encoding="UTF-8"?>
<movie>
<watched>True</watched>
</movie>
9.2009.(7.1AnimationAdventureDramaFantasySci-Fi)DVDRiP.AC3.XViD_fanart.jpg (fan art picture)
This is an example on what the tool do, but a new tool maybe
- 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
Last edited: