Audio Renderer Changer | Page 5

Discussion in 'MediaPortal 1 Plugins' started by Thor2605, May 19, 2010.

  1. Thor2605
    • Premium Supporter

    Thor2605 MP Donator

    Joined:
    April 2, 2009
    Messages:
    1,640
    Likes Received:
    92
    Gender:
    Male
    Ratings:
    +105 / 0
    Home Country:
    Germany Germany
    AW: Audio Renderer Changer



    Hi ettore.b

    The regkey changing works as follows:
    You have to export your Reg-Tree directly through the registry or (if you use ffdshow) you could export it directly in decoder setup!
    This exported regkey has to be inserted by double clicking into the cell of the column regkey.

    Customizing is not possible. There the audiorenderer is shown when you change it. This is not a real OSD because process-plugins cannot have a OSD and if I'm programming an own one every skin designer has to support!
    But I'm working on a better OSD!

    Good luck!
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. RobinE

    RobinE Portal Member

    Joined:
    December 30, 2007
    Messages:
    38
    Likes Received:
    2
    Ratings:
    +2 / 0
    Home Country:
    Netherlands Netherlands
    Great plugin.:D

    Is it also posible to use it with online video's? For me it not working now.
     
  4. Thor2605
    • Premium Supporter

    Thor2605 MP Donator

    Joined:
    April 2, 2009
    Messages:
    1,640
    Likes Received:
    92
    Gender:
    Male
    Ratings:
    +105 / 0
    Home Country:
    Germany Germany
    AW: Audio Renderer Changer

    New Version available in first post!

    Changelog:
    - LAV-Audio Codec now works!
    - Bugfix: If Audio-Codec for DVD was another than in other sections the codec couldn't be found anymore in graph!

    Please test and report!
     
  5. Anthrax

    Anthrax Portal Pro

    Joined:
    February 15, 2007
    Messages:
    157
    Likes Received:
    46
    Location:
    pretty much in the center
    Ratings:
    +48 / 0
    Home Country:
    Germany Germany
    AW: Audio Renderer Changer

    Hello Thor2605 and everybody,

    first off my chest: nice plugin, simple, clean, focussed on a single purpose and just works as advertised ;-) :D

    One thing I'd like to suggest though would be the use of configurable MediaPortal Actions... (I'd even contribute on the code if your time is limited)
    This would make it easier for everyone with a (MCE) Remote to assign a button for your plugin.

    Just a few things would be needed in order to incorporate this functionality:

    1. override OnAction() and check for the user configured Action:
    Code (Text):
    1.  
    2. [pseudo code]
    3. public override void OnAction(MediaPortal.GUI.Library.Action action){
    4.      if (action == Settings.ConfiguredAction){
    5.           SwitchAudioRenderer(); //your switching magic here ;-)
    6.      }else{
    7.           base.OnAction(action);
    8.      }
    9. }
    2. Just add a ComboBox containing the values from the MediaPortal.GUI.Library.Action enumeration and let the user pick one

    3. we are done ;-)

    The Action enumeration can be found here: WebSVN - MediaPortal - Rev 28022 - /trunk/mediaportal/Core/guilib/Action.cs

    There are a lot of actions in there and everybody should be able to pick one which wouldn't be used otherwise like:
    ACTION_TOGGLE_MUSIC_GAP = 9886​
    which I use for the MySleepTimer...

    please let me know if you even consider thinking about it and if I could help you out with anything.

    cheers mates,
    Anthrax

    PS: I've done the same in the MySleepTimer plugin if you you want to have look: http://mp-plugins.svn.sourceforge.net/viewvc/mp-plugins/trunk/plugins/MySleepTimer/MySleepTimer/
    (but remember this was my first plugin so don't expect any best practices in there!!!) ;-)
     
  6. ravenrocks

    ravenrocks Portal Pro

    Joined:
    October 11, 2007
    Messages:
    351
    Likes Received:
    63
    Ratings:
    +87 / 0
    Re: AW: Audio Renderer Changer

    It doesnt work with latest 1.2beta svn(1.1.6.28079), its listed as incompatible.
     
  7. Thor2605
    • Premium Supporter

    Thor2605 MP Donator

    Joined:
    April 2, 2009
    Messages:
    1,640
    Likes Received:
    92
    Gender:
    Male
    Ratings:
    +105 / 0
    Home Country:
    Germany Germany
    AW: Audio Renderer Changer

    That could be!

    I don't support svn-versions of MePo!
     
  8. ravenrocks

    ravenrocks Portal Pro

    Joined:
    October 11, 2007
    Messages:
    351
    Likes Received:
    63
    Ratings:
    +87 / 0
    Ok, thats cool.
    Any chance I could get my hands on the source code?
     
  9. Thor2605
    • Premium Supporter

    Thor2605 MP Donator

    Joined:
    April 2, 2009
    Messages:
    1,640
    Likes Received:
    92
    Gender:
    Male
    Ratings:
    +105 / 0
    Home Country:
    Germany Germany
    AW: Audio Renderer Changer

    No sorry!

    I don't want to publish it on this state of deployment!

    But if I can find time I will upload a testversion for you...
     
  10. ravenrocks

    ravenrocks Portal Pro

    Joined:
    October 11, 2007
    Messages:
    351
    Likes Received:
    63
    Ratings:
    +87 / 0
    Allright, that would be much appreciated since thats the only plugin that makes me revert to 1.2beta non-svn.
     
  11. Thor2605
    • Premium Supporter

    Thor2605 MP Donator

    Joined:
    April 2, 2009
    Messages:
    1,640
    Likes Received:
    92
    Gender:
    Male
    Ratings:
    +105 / 0
    Home Country:
    Germany Germany
    AW: Audio Renderer Changer

    Sorry but it seems that I actually can't change anything!

    [assembly: CompatibleVersion("1.1.7.0")]
    [assembly: UsesSubsystem("MP.Plugins")]
    [assembly: UsesSubsystem("MP.Config")]
    [assembly: UsesSubsystem("MP.Filters")]

    This is required for the plugin and it seems that the svn actually has changings in one/more of these subsytems!
    If I change now all others can't load their plugin anymore...
     
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!