MP 1.23 First time click TV or Recorded TV fails, 2nd ... it will work (1 Viewer)

blackss69

New Member
October 21, 2017
3
1
78
United States of America United States of America
Country flag
I had to replace my MP1 PC. Old one worked successfully 1.23 with latest Slow Ring Windows Insider. Have WD 5TB USB 3.0 drive for recordings.

Now problem. Replaced PC, updated to same Slow Ring Windows Insider and reinstalled MP 1.23, WMP 12, etc. All same software levels as old PC. Now I have a problem with watching TV or playing Recorded TV. When I do either the first time MP will only go back to TV screen (TV on, etc) or will only play for 2 to 4 seconds. The 2nd or 3rd or ... times I try it plays successfully. Everything else on MP works successfully. I did do the fix for DB on Music files. I tried Titan and DefautWide HD and have the same problem. These are dedicated single server systems. I reinstalled MP1.23 from scratch and added feature WMP 12 and same problem. I am using the same files on WD USB 3.0 drive after a successful Import. New TV Recording do the same thing. Both of the systems us the same closed captioning Core CC Parser.

Just to add the failing PC has a AMD Radeon Vega 8 Graphics with default settings.

If I play one of the .ts files outside of MP it plays successfully.
 

Attachments

Last edited:

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Hi!

    The log files show...

    1. Play a recording:
    [2020-01-08 09:56:45,681] [Log ] [MPMain ] [INFO ] - PlayRecording:D:\MediaPortal\Recorded TV\Sesame Street - OETA-HD - 2020-01-03.ts - using rtsp mode:False

    2. Playback starts:
    [2020-01-08 09:56:48,267] [Log ] [MPMain ] [INFO ] - g_Player.OnStarted() D:\MediaPortal\Recorded TV\Sesame Street - OETA-HD - 2020-01-03.ts media:Recording

    3. Playback stops a few seconds later:
    [2020-01-08 09:56:51,401] [Log ] [MPMain ] [DEBUG] - Main: Stop playback
    [2020-01-08 09:56:51,404] [Log ] [MPMain ] [DEBUG] - g_Player.doStop() keepTimeShifting = False keepExclusiveModeOn = False

    The reason playback stops...?
    MP receives a notification from Windows that an audio renderer (output) - presumably the renderer that was being used to play the recording - was disconnected/removed:
    [2020-01-08 09:56:51,401] [Log ] [MPMain ] [INFO ] - Main: Audio Renderer 4 - LG TV (AMD High Definition Audio Device) removed

    Another notification saying that the audio renderer is connected again is received a few seconds later:
    [2020-01-08 09:56:53,525] [Log ] [MPMain ] [INFO ] - Main: Audio Renderer 4 - LG TV (AMD High Definition Audio Device) connected

    (...and the cycle repeats:)
    [collapse][2020-01-08 09:57:06,451] [Log ] [MPMain ] [INFO ] - PlayRecording:D:\MediaPortal\Recorded TV\Sesame Street - OETA-HD - 2020-01-03.ts - using rtsp mode:False
    ...
    [2020-01-08 09:57:08,544] [Log ] [MPMain ] [INFO ] - g_Player.OnStarted() D:\MediaPortal\Recorded TV\Sesame Street - OETA-HD - 2020-01-03.ts media:Recording
    ...
    [2020-01-08 09:57:11,641] [Log ] [MPMain ] [INFO ] - Main: Audio Renderer 4 - LG TV (AMD High Definition Audio Device) removed
    [2020-01-08 09:57:11,642] [Log ] [MPMain ] [DEBUG] - Main: Stop playback
    ...
    [2020-01-08 09:57:13,514] [Log ] [MPMain ] [INFO ] - Main: Audio Renderer 4 - LG TV (AMD High Definition Audio Device) connected
    [/collapse]

    MP can't play video without audio, and it can't play audio without an audio device connected. I'm not able to tell you why Windows is sending MP these notifications, though in my experience the notifications aren't uncommon shortly after initial system boot or resume (perhaps the OS has to hand-shake with the AV receiver or TV).

    There's only one possible workaround I'm aware of, and that is to disable "Stop playback on removal of an audio renderer" here:
    Startup and Resume Settings

    The "Stop playback..." setting defaults to "on" for safety (avoidance of crashes etc.). If disabling it appears to solve the problem then happy days. If it doesn't solve the problem, or you get crashes after disabling it, you may need to investigate different versions of drivers for audio devices (or video/graphics devices, in the case of HDMI audio) etc.
     

    blackss69

    New Member
    October 21, 2017
    3
    1
    78
    United States of America United States of America
    Country flag
    Thanks for the quick response. I changed "Stop playback...." to off. The first time you play you can notice a pause in audio but then resumes successfully. The next time you play you do not have the pause. It appears this willl give me a good solution. I'll check on audio drivers and see if any have been updated (Windows thinks I'm current). I'll do more testing but for now things are OK. Thanks
     

    Invisible

    MP Donator
  • Premium Supporter
  • December 28, 2008
    52
    6
    Ba-Wü
    Germany Germany
    Country flag
    Hi,
    I had the same issue, after resume it stops the first time and also lost the current position and restarts from beginning. The curious is, it happens also after switching to a newer hardware (yet a Intel NUC 8i3).

    Thanks to all here, this issue is also solved for me :):)
     

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

    OP Similar threads Forum Replies Date
    N [Finished] [MP2-781] Enable one-click deletion of grouped TV recordings MediaPortal 2 70
    P Clicking on channel in epg goes nothing General 2
    1gkar LiveTV Records Causing 100% Drive Activity Television (MyTV frontend and TV-Server) 9
    toricred Recordings Change : to _ in Series Name General 0
    P Recording films that have an "intermission" General 3
    H MP2 database won't keep in synch with recordings General 8
    toricred Only Show Actual Recordings General 1
    ajs How recreate Recording thumbs TV-Server 4
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    CyberSimian [Proposal] Tool to display time of next recording MediaPortal 1 0
    Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
    R [solved] Unable to delete single recording General 2
    R Correct setting for recordings on shared folder General 0
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    S Shortcuts MP1 My Recorded & TV Guide General 10
    F How to reset tv recordings database General 5
    P Recordings not showing up unless re-imported and not possible to delete General 0
    X Recording import hängt Allgemeines Support- und Diskussionsforum 0
    F Recording starts at second time only MediaPortal 1 Talk 6
    T TV Recording Schedule General 2
    T Unwanted recording Newcomers Forum 18
    bta489 [solved] DVB-T2 Recordings: Sometimes no Audio after muxing with mkvmerge Tools and other software 2
    N Play a TV recording needs a double selection - twice ok on remote Television (MyTV frontend and TV-Server) 2
    G Occasional Black screen on Live TV and Recorded TV Watch / Listen Media 5
    Similar threads

























    Top Bottom