Custom fields and a batch launch

Discussion in 'Moving Pictures' started by jazzor, May 13, 2013.

  1. jazzor

    jazzor Portal Member

    Joined:
    October 8, 2006
    Messages:
    39
    Likes Received:
    0
    Ratings:
    +0 / 0
    Hi guys and gals,



    I was wondering if there is a way to launch a *.bat file right before the movie starts?
    An if there is a way to use custom fields in the movingpictures database, which could be 'ECHO'ed in said .bat file?

    Thanks for your answers!
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RoChess
    • Premium Supporter

    RoChess Extension Developer

    Joined:
    March 10, 2006
    Messages:
    4,182
    Likes Received:
    1,304
    Ratings:
    +1,683 / 2
    @jazzor, can you eleborate on your actual end-goal purpose? You can for example use the HD external player and then pass %filename% and %fps% to your batch script. If that suits your need, then expanding the usage of other %values% is easier to ask for if you can explain a valid usage case that makes sense to the developers.
     
  4. jazzor

    jazzor Portal Member

    Joined:
    October 8, 2006
    Messages:
    39
    Likes Received:
    0
    Ratings:
    +0 / 0
    @RoChess:
    Okay, I'll try to explain: :)
    A friend and I want to try build a jukebox look-a-like htpc where we would have the possibility to choose the movies from within Mediaportal and the corresponding bluray or dvd gets automatically loaded and played.
    I thought, launching a .bat and passing a parameter (like the disk- d) to a control program for the jukebox itself would be the 'cleanest' way of doing the connection to the movingpictures database because it spare me a second database on the jukebox control. I'm not very into programming, my friend is more, but he never had anything to do with mediaportal, so I just had my thoughts :)
     
    Last edited: May 14, 2013
  5. fforde

    fforde Community Plugin Dev

    Joined:
    June 7, 2007
    Messages:
    2,666
    Likes Received:
    1,690
    Occupation:
    Software Engineer
    Location:
    Texas
    Ratings:
    +1,696 / 0
    Home Country:
    United States of America United States of America
    There is currently no mechanism to do what you are asking jazzor, it would require a modification or fork of the plugin to make this happen. This is an extremely niche change so I doubt anyone on the team will spend time on this (but I will let others speak for themselves). So your best bet is probably to either fork or to try submitting a patch.

    The jukebox is a neat idea for a HTPC built around nostalgia. I think a normal file server would be a better solution, but nostalgia can be a powerful thing. :p Good luck!
     
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!