Audio Switcher - easily change audio device via context menu (using remote key) (1 Viewer)

Virtual

Portal Member
January 6, 2017
22
12
42
Italy Italy
the log level is on debug, now I see the audio switcher log info (es. at 2017-01-06 16:29:49,303).
I've tried with "wave" volume otherwise "master" ... but the results is the same ... now I will test with defaultwide skin, give me a couple of mins. :)

upload_2017-1-6_16-32-33.png
 

Rick164

Super User
  • Team MediaPortal
  • Super User
  • January 7, 2006
    1,335
    1,005
    Netherlands Netherlands
    Country flag
    Thanks, seeing only the .dll load so that would mean our initial startup startup is messing with OSD.

    With the new delay setting (see attached version) we can try something else, in AudioSwitch configuration raise startup delay setting to 60000 ms or longer depending on how fast Mediaportal starts, right after startup check if OSD works and then after 60s :)
    Best guess it's a timing issue with Mediaportal internally, when setting to delay to 0 here I get the same issue but with 15s delay it was fine.

    @mm1352000 @Sebastiii is there any easy way to detect if Mediaportal is fully started (i.e. all plugins loaded / presented home screen)?
     

    Attachments

    Last edited:

    Virtual

    Portal Member
    January 6, 2017
    22
    12
    42
    Italy Italy
    > in AudioSwitch configuration raise startup delay setting to 60000 ms or longer

    Sorry but I don't see this settings ... can you help me?

    upload_2017-1-6_16-48-18.png


    upload_2017-1-6_16-48-46.png
     

    Virtual

    Portal Member
    January 6, 2017
    22
    12
    42
    Italy Italy
    The OSD won't show up only if I select "master volume" in the configuration ... if I set "wave" the OSD appears correctly.
    Now I will try your v3
     

    Rick164

    Super User
  • Team MediaPortal
  • Super User
  • January 7, 2006
    1,335
    1,005
    Netherlands Netherlands
    Country flag
    Maybe it's something sound card specific then as master volume will work for most things.
     

    Virtual

    Portal Member
    January 6, 2017
    22
    12
    42
    Italy Italy
    with the last v3 the OSDis showed up correctly but the volume control only the default device when MP is loaded for the first time ... if I change the device, the audio switch to the new device but the volume still remain on the "old" device.
    I set 35s as initial delay but i don't see any differences :|
    MP still remain atteched to the inital device ... if I change the volume I can see that its value changes in the windows 10 audio device even if the default device has changed ... MP still remain attached to the old "default device" for the volume / skin sounds.
     

    Virtual

    Portal Member
    January 6, 2017
    22
    12
    42
    Italy Italy
    I do not know if it is simple ... or you might try to handle the volume events (if exists) and set the same value on all the devices (is a workaround to the problem).
     

    Rick164

    Super User
  • Team MediaPortal
  • Super User
  • January 7, 2006
    1,335
    1,005
    Netherlands Netherlands
    Country flag
    Hmm we might need to add something new to code for that, logs show 21 audio devices connected which seems excessive or is that correct?
    Will check Mediaportal docs a bit further here :)
     

    Rick164

    Super User
  • Team MediaPortal
  • Super User
  • January 7, 2006
    1,335
    1,005
    Netherlands Netherlands
    Country flag
    I do not know if it is simple ... or you might try to handle the volume events (if exists) and set the same value on all the devices (is a workaround to the problem).
    Yeah or make sure we also update the Mediaportal audio device as well which should be possible.
     

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

    OP Similar threads Forum Replies Date
    Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
    W [solved] Incorrect audio being reported Moving Pictures 4
    404 [solved] Live TV...video and audio freeze General Support 20
    ninja 12 Audio dropouts with Dolby / DTS watch/edit Videos 12
    bta489 [solved] DVB-T2 Recordings: Sometimes no Audio after muxing with mkvmerge Tools and other software 2
    T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
    azzuro [fixed] [WIP MP2.3] - Audio files not imported to MP MediaPortal 2 18
    S Remote button to change audio and subtitle on / off General 10
    F Audio render and font error in my logs General Support 2
    R [solved] Command / Shortcut for changing subtitles or audio Archive 5
    K Multichannel audio and subtitles for TV not properly supported General Support 4
    Glith Audio out of sync after pause. Rewind 15sec gets it into sync again. MediaPortal 1 Talk 0
    C ARC Audio Renderer Changer: wo kann man es konfigurieren? Video & DVD 15
    joecrow No Audio after MP Start/Resume from Sleep General Support 0
    C Ability to browse videos and audio by folder General 2
    Lichloathe Offline audio content General 9
    G How best to get cover art for tracks to show up on the Audio Menu (Latest Added, Unplayed)? General 9
    Ralph Holmes Wrong audio source in TV General 1
    CyberSimian [Proposal] Audio description MediaPortal 1 10
    ge2301 [fixed] [MP2-807] Problem when switching player in PiP mode with audio files MediaPortal 2 32
    cladinshadows85 [solved] Audio playing mutiple times over video and crashing General 8
    H Live TV info OSD not displaying number of audio channels General Support 3
    T Moving Pictures...seem to have 'lost' ability to display Movie info. (eg Resolution/Audio) Moving Pictures 2
    N [fixed] [MP2-786] Cannot play audio playlist with >=1000 entries 2.2 Archive 36
    B Media info shows audio is 5.1 MP shows 2.0 Watch / Listen Media 2
    Similar threads

























    Top Bottom