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
Plugin Development
Flag Mover: backup and restore watched flags
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="aspik" data-source="post: 1248553" data-attributes="member: 72523"><p>Hi all,</p><p></p><p>as you probably read in the 2.2 Pre-release news, there will be a plugin to transfer watched flags. This mini plugin has basically two functions:</p><p>- save watched series episodes and movies infos in two JSON files.</p><p>- restore watched flags to MP2, by reading those JSON files.</p><p></p><p>Example of watched episodes file:</p><p>[SPOILER="episodes"]</p><p>[CODE=XML][</p><p> {</p><p> "show_imdb":null,</p><p> "show_tvdb":262980,</p><p> "show_title":"House of Cards (US)",</p><p> "season":1,</p><p> "number":3</p><p> },</p><p> {</p><p> "show_imdb":null,</p><p> "show_tvdb":262980,</p><p> "show_title":"House of Cards (US)",</p><p> "season":1,</p><p> "number":4</p><p> },</p><p> {</p><p> "show_imdb":null,</p><p> "show_tvdb":317653,</p><p> "show_title":"Jean-Claude Van Johnson",</p><p> "season":1,</p><p> "number":2</p><p> },</p><p> {</p><p> "show_imdb":null,</p><p> "show_tvdb":317653,</p><p> "show_title":"Jean-Claude Van Johnson",</p><p> "season":1,</p><p> "number":3</p><p> }</p><p>][/CODE]</p><p>[/SPOILER]</p><p>Example of watched movies file:</p><p>[SPOILER="movies"]</p><p>[CODE=XML][</p><p> {</p><p> "imdb":"tt1490017",</p><p> "tmdb":null,</p><p> "title":"The Lego Movie",</p><p> "year":2014</p><p> },</p><p> {</p><p> "imdb":"tt0050083",</p><p> "tmdb":null,</p><p> "title":"12 Angry Men",</p><p> "year":1957</p><p> },</p><p> {</p><p> "imdb":"tt0298203",</p><p> "tmdb":null,</p><p> "title":"8 Mile",</p><p> "year":2002</p><p> }</p><p>][/CODE]</p><p>[/SPOILER]</p><p></p><p>Currently the files are saved into C:\ProgramData\Team MediaPortal\MP2-Client\FlagMover\[user_id]\. The restore option also expects its in this directory.</p><p>With this, the backup and restore operations are a bit limited, so I'm currently adding an option that the user will be able to choose the backup and restore directory.</p><p></p><p>[USER=109222]@Lehmden[/USER]</p><p>You had issues with the last version, could you please test this one a report, if they are now solved?</p><p></p><p>Install procedure:</p><p> extract the content of the attached archive into c:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\,</p><p></p><p>After that, start MP2 client and go to settings -> plugins, where you should see a new entry "Flag Mover".</p><p></p><p>EDIT:</p><p>attached two versions: one for MP2.1.3 and one for MP2.2.</p></blockquote><p></p>
[QUOTE="aspik, post: 1248553, member: 72523"] Hi all, as you probably read in the 2.2 Pre-release news, there will be a plugin to transfer watched flags. This mini plugin has basically two functions: - save watched series episodes and movies infos in two JSON files. - restore watched flags to MP2, by reading those JSON files. Example of watched episodes file: [SPOILER="episodes"] [CODE=XML][ { "show_imdb":null, "show_tvdb":262980, "show_title":"House of Cards (US)", "season":1, "number":3 }, { "show_imdb":null, "show_tvdb":262980, "show_title":"House of Cards (US)", "season":1, "number":4 }, { "show_imdb":null, "show_tvdb":317653, "show_title":"Jean-Claude Van Johnson", "season":1, "number":2 }, { "show_imdb":null, "show_tvdb":317653, "show_title":"Jean-Claude Van Johnson", "season":1, "number":3 } ][/CODE] [/SPOILER] Example of watched movies file: [SPOILER="movies"] [CODE=XML][ { "imdb":"tt1490017", "tmdb":null, "title":"The Lego Movie", "year":2014 }, { "imdb":"tt0050083", "tmdb":null, "title":"12 Angry Men", "year":1957 }, { "imdb":"tt0298203", "tmdb":null, "title":"8 Mile", "year":2002 } ][/CODE] [/SPOILER] Currently the files are saved into C:\ProgramData\Team MediaPortal\MP2-Client\FlagMover\[user_id]\. The restore option also expects its in this directory. With this, the backup and restore operations are a bit limited, so I'm currently adding an option that the user will be able to choose the backup and restore directory. [USER=109222]@Lehmden[/USER] You had issues with the last version, could you please test this one a report, if they are now solved? Install procedure: extract the content of the attached archive into c:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins\, After that, start MP2 client and go to settings -> plugins, where you should see a new entry "Flag Mover". EDIT: attached two versions: one for MP2.1.3 and one for MP2.2. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Flag Mover: backup and restore watched flags
Contact us
RSS
Top
Bottom