Volume control (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    I will build a new installer (V460) @marttoma are you able to test, i was able to reproduce it and it seems that the step are correct with remote but from keyboard, it use the step define in config :)
    In fact i will explain what happen, MP has a config for stepping volume (Win7 style / custom etc) so when using the keyboard it use those default volume table but when it comes from remote it doesn't.
    When i have done the rework for CSCore, i have match the volume table from MP.

    And in fact to achieve like it is done from OS value (2 by 2) it can be done by using custom volume table, but to make it work like before, i have reinsert old code, the point is i have surely try to add this old code and i'm sure why i didn't keep it maybe i spot a bug but today i wasn't able to reproduce a bug for it so looks good :p
     

    marttoma

    MP Donator
  • Premium Supporter
  • March 24, 2014
    282
    88
    Praha
    Czech Republic Czech Republic
    V460 uploaded :p
    It works with V460 (in case of MCE the volume step for Windows OSD is 2 now, in case of multimedia keyboard the volume step for Windows OSD is 2 as well now), many thanks. BTW, I did not know MP is using config file for volume steps, if such file contains parameters I can change manualy, then I can try it, where I can find it?

    Does V460 has fix volume step for MCE remote or it use the config file?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Hi,

    This is great :)

    So all value is hardcoded except the custom one (and i think if used, it will be stored in mediaportal.xml) :

    upload_2018-2-4_8-15-47.png


    When selecting custom :

    upload_2018-2-4_8-16-1.png


    So this is here that we can custom it like we want, still the value goes from 0 to 65535 :p
    So the default custom value have 16 values, it mean 100/16 = 6 and this is what we are getting when i have rework to CSCore, when doing Volume down or Volume up, it goes from 6 to 6.

    So if you spot something odd on V460, then i can change the value hardcoded value from 2 to 2 instead of 6 to 6. (I think it could be the best way to do that, because i'm pretty sure there will be something odd, i didn't remember what exactly but for now it seems ok so will see :p)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Ok finally, i have done a rework to fix the regression :)

    I have added a Win10 selection that match a new hardcoded volume table by step from 2 of 2 :p
    It will also make it works for normal keyboard :p and OSD if 'show Volume OSD' is set will match the step of 2 of 2 :)
    Will upload V461 asap :p

    upload_2018-2-4_9-41-31.png
     

    marttoma

    MP Donator
  • Premium Supporter
  • March 24, 2014
    282
    88
    Praha
    Czech Republic Czech Republic
    So if you spot something odd on V460, then i can change the value hardcoded value from 2 to 2 instead of 6 to 6
    Many thanks for explanation, I already forgot this setting. I was trying in past (probably in MP 1.14-1.16) to use this customized values (with Windows OSD) and I remember it did not work well, but from this time I dont know as I was happy with step of 2:)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    For the step of i have used those hardcoded value :)
    Code:
     0,1310,2620,3930,5240,6550,7860,9170,10480,11790,13100,14410,15720,17030,18340,19650,20960,22270,23580,24890,26200,27510,28820,30130,31440,
                      32750,34060,35370,36680,37990,39300,40610,41920,43230,44540,45850,47160,48470,49780,51090,52400,53710,55020,56330,57640,58950,60260,61570,
                      62880,64190,65535
    But not need to set a custom value for step of 2 now like Win10 settings did the trick :p
     

    marttoma

    MP Donator
  • Premium Supporter
  • March 24, 2014
    282
    88
    Praha
    Czech Republic Czech Republic
    Done V461 update :p
    I tested with these resuts:
    • in case of Windows 7 selection in MP config tool, the volume step is 2 when MP is running
    • in case of Windows 10 (new option in V461) selection in MP config tool, the volume step is 2 when MP is running

    I have Windows 10 only. In my case there are no differences in setting between Windows 7 and Windows 10.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Yep i have let the old code for win7 selection so it will use the step of 2 too but based on returned value, instead of Win10 option, it will use the new hardcoded table :)
     
    Last edited:

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    coolblue [solved] Double Volume Control with RC6 IR General 4
    S Mini Display MP 1.24 no Volume OSD no action for keys Mini Display 0
    R Normalise sound volume somehow? Television (MyTV frontend and TV-Server) 5
    brena MCE Remote Disable Volume Mapping Input / Output interfaces 0
    Rob Hexenmeister Erratic volume bars and development ideas General Support 17
    R [solved] Hide Windows 10 volume OSD Feature Requests 3
    H MP 1.21 Volume OSD for 1039 MCE remote and MCE keyboard not working 1.21 74
    J Media Portal changes master volume level General Support 7
    mp2-ulrich [solved] volume not adjustable General 12
    henrysinn Remote - W10 Gyro by Pepper Jobs General 8
    G Remote control suggestions? MediaPortal 1 Talk 16
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    T TV Player Controls WMC Skin 0
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
    Rob Hexenmeister Playing with hyperlinkParameter and List Control indexes General Support 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    T Can Emprex 3009ARF III MCE Remote Control be used to toggle Fullscreen/Windowed mode?? Remotes 7
    N [Proposal] Make text input using remote control easier MediaPortal 2 4
    Rob Hexenmeister Current control ID General Support 10
    N [Proposal] Make text input possible with remote control in SMS style MediaPortal 2 1
    N [Finished] [MP2-789] MCE remote control Recorded TV and My Pictures buttons do not work MediaPortal 2 17
    Rob Hexenmeister [solved] Latests Media Handler - Skinning an updating window or control Fanart Handler 26
    N How to input text with the remote control General 3
    milagroso Remote control with EventGhost - I'm stuck, need help General 3
    Similar threads

























    Top Bottom