How to export NFO file only for some (or even one) video in DB?

Discussion in 'watch/edit Videos' started by Vasilich, October 8, 2015.

Tags:
  1. Vasilich
    • Team MediaPortal

    Vasilich Test Group

    Joined:
    August 30, 2009
    Messages:
    3,387
    Likes Received:
    605
    Gender:
    Male
    Occupation:
    Developer
    Location:
    Germany, Mayence
    Ratings:
    +1,163 / 2
    Home Country:
    Russian Federation Russian Federation
    Show System Specs
    There is a button "export info to NFO files" that is applied to all videos in db.
    But i want to export info to NFo only for some videos. is it possible?


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    7,781
    Likes Received:
    2,048
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +3,851 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Mediaportal MyVideo Context Menu has two Buttons:
    Code (Text):
    1. dlg.AddLocalizedString(1304); //Make nfo file
    2. dlg.AddLocalizedString(1306); //Make nfo files
    If look at the action, the first creates the NFO for the current movie and another for all.
     
    Last edited: October 8, 2015
    • Like Like x 1
  4. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    7,913
    Likes Received:
    2,089
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +3,661 / 12
    Home Country:
    France France
    Show System Specs
    in the logic, on folder, it create all nfos inside the folder,
    and one by one on file, but you need to be in "folder view"
     
  5. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    7,781
    Likes Received:
    2,048
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +3,851 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Not sure. There's the choice of either the current MovieID, or all ...
    Code (C):
    1.        case 1304: // Make nfo file
    2.           OnCreateNfoFile(movie.ID);
    3.           break;
    4.        
    5.         case 1306: // Make nfo files
    6.           OnCreateNfoFiles();
    7.           break;
    The condition of these items:
    Code (C):
    1. if (handler.CurrentLevelWhere == "title" ||
    2.           handler.CurrentLevelWhere == "recently added" ||
    3.           handler.CurrentLevelWhere == "recently watched" ||
    4.           handler.CurrentLevelWhere == "user groups")
    But maybe I was looking attentively ...
     
  6. azzuro
    • Team MediaPortal

    azzuro Test Group

    Joined:
    May 10, 2007
    Messages:
    7,913
    Likes Received:
    2,089
    Occupation:
    technician HVAC
    Location:
    France - IDF
    Ratings:
    +3,661 / 12
    Home Country:
    France France
    Show System Specs
    i can confirm at 50% my idea
    in title view ( database )

    upload_2015-10-8_14-29-1.png
    the 3 option : Create nfo file : create NFO only for the movie selected
    the 4 Option : Create nfos files for all movies: create NFO only for ALL movie

    about this one , files created are with the same name than video file :
    NFO
    poster
    fanart
    WARN it replace all files available, so it can replace the poster or fanart ...

    This option is only available on Database view, ( tested on folder )
     
    • Informative Informative x 1
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!