Flag Mover: backup and restore watched flags | Page 2

Discussion in 'Plugin Development' started by aspik, September 23, 2018.

  1. aspik
    • Team MediaPortal

    aspik Development Group

    Joined:
    April 14, 2008
    Messages:
    1,270
    Likes Received:
    348
    Ratings:
    +572 / 1
    Thinking about it, I guess the only way is to filter out the double entries. I'll post tonight a version for 2.1.3

    I forgot to add, that in this dialog I only display "fixed" and removable drivers. I'm not using any resource path accessors from MP2 nor network locations.



    Expanding the directory tree resizes the dialog and it looks not very nice. If someone (maybe ge2301 ;)) wants to make it prettier I'm open to any suggestions :) I already can provide the number of collected episodes/movies and number of watched episodes/movies.
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. aspik
    • Team MediaPortal

    aspik Development Group

    Joined:
    April 14, 2008
    Messages:
    1,270
    Likes Received:
    348
    Ratings:
    +572 / 1
    added both versions to the first post (I read somewhere that it is better to keep this uploads in one place ;))

    When I get some positive feedback, I'll add this plugin to our plugins repo/section.
     
    • Like Like x 1
  4. Lehmden
    • Team MediaPortal

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,723
    Likes Received:
    2,137
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,587 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Hi.
    Really appreciate this, thanks.
     
  5. henso
    • Team MediaPortal

    henso Development Group

    Joined:
    February 16, 2012
    Messages:
    1,871
    Likes Received:
    430
    Gender:
    Male
    Ratings:
    +664 / 0
    Home Country:
    Denmark Denmark
    I haven't checked but I think it's the same bug. IIRC the code I fixed it in has not been changed since 2.1.3 before that.
    I don't think it makes sense to fix it in 2.1.3 now. So I think you are stuck with either filtering the episodes manually by distinct or loading the media items without the external identifier aspect.
     
    • Agree Agree x 1
  6. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,457
    Likes Received:
    1,103
    Gender:
    Male
    Ratings:
    +2,366 / 21
    Home Country:
    Germany Germany
    Show System Specs
    Hi @aspik,

    I tested the functionality for 2.2 and all works well. A few comments:
    • I don't think that there is the need to offer a directory selection.
      • Instead a standard path could be used, e.g. the local MP2 Client ProgramData directory.
      • Alternatively you could default to a standard path and offer the directory choice to change it on top.
    • The file name used should be displayed for those who would like to export to a mobile storage device
      • IMHO there is no need to, given the fully implemented user management
      • "Copying" the watched flag from user A to user B would just require to export under user A, then switch to user B and import again.
    I believe that 2.1.3 users would have not more than one machine where they would like to migrate the status to 2.2. These users wouldn't need any flag mover. Only users who have a strict separation of watched status per machine could benefit from a 2.1.3 version, yet as a one-time effect only. Therefore I wouldn't invest too much effort into upgrading/pretty up the 2.1.3 version.
     
    • Thank You! Thank You! x 1
  7. aspik
    • Team MediaPortal

    aspik Development Group

    Joined:
    April 14, 2008
    Messages:
    1,270
    Likes Received:
    348
    Ratings:
    +572 / 1
    Thanks!
    I think that's a good idea.
    Agree.
    Also agree. First I didn't want make a 2.1.3 version at all, but then I checked what's need to by changed compared to the 2.2 version and saw that there were minor changes and decided to build a version for 2.1.3.

    After all, this plugin is just a "side product" of the Trakt plugin. If it works I'll not invest more time in it, besides add those two suggestions.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!