Music Player Rework (2 Viewers)

Status
Not open for further replies.

kjarrig

MP Donator
  • Premium Supporter
  • December 29, 2009
    283
    55
    Home Country
    Iceland Iceland
    I was trying this, and using WASAPI it worked great, switched between songs, didn't play for a long time, but when I used ASIO4ALL, MP did always crash after the last song in the playlist was played, it took a few seconds after the last song, and I get the MediaPortal has stopped working etc.... Following is the debug list if you can use it. Tried this for a few times, with the same result. But the WASAPI sounds great!!

    Edit: MP freezes also with WASAPI after the last song in playlist.
     
    Last edited:

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    HI,
    I can confirm the result described by kjarrig. The crash after the last song in playlist. needed to ctrl alt del > End Proces to be able to continue.

    can you confirm the results from above hwahrmann?
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @hwahrmann, i have created a new branch and posted link in first post :) (Hope it's ok, the new bin is based on 1.3.0Beta)
     
    Last edited:

    edterbak

    Portal Pro
    March 4, 2008
    2,114
    1,176
    Home Country
    Netherlands Netherlands
    Hwahrmann,

    Could you give a little bit feedback on the reported issue's? Are they reproduced on your end as well? Is there someone giving attention to it? Being very curious :)

    Regards,
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Just Tested Wasapi Exclusive on my music share, it's working nice :)
    I can't test ASIO (no device message)
    In configuration.exe, it seems slow to navigate between option.
    Next try will see how it does after last item from playlist (Wasapi mode)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I just get a MP crash (BASS engine) :p

    Code:
    2012-12-15 11:22:25.079331 [Info.][MPMain(1)]: g_Player.Play(Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3 Music)
    2012-12-15 11:22:25.081331 [Debug][MPMain(1)]: PlayerFactory: Successfully created player instance for file - Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:22:25.084331 [Debug][MPMain(1)]: BASS: FadeOutStop of stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:22:25.099335 [Info.][MPMain(1)]: BASS: Channel Information
    2012-12-15 11:22:25.100335 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:22:25.102336 [Info.][MPMain(1)]: BASS: File: Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:22:25.103336 [Info.][MPMain(1)]: BASS: Type of Channels: BASS_CTYPE_STREAM_MP3
    2012-12-15 11:22:25.105336 [Info.][MPMain(1)]: BASS: Number of Channels: 2
    2012-12-15 11:22:25.107337 [Info.][MPMain(1)]: BASS: Channel Frequency: 44100
    2012-12-15 11:22:25.108337 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:22:25.110337 [Debug][MPMain(1)]: BASS: Registering Playback Events
    2012-12-15 11:22:25.112338 [Info.][MPMain(1)]: BASS: playback started
    2012-12-15 11:22:25.113338 [Info.][MPMain(1)]: g_Player.OnStarted() Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3 media:Music
    2012-12-15 11:22:31.131574 [Debug][(15)]: BASS: Stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3 freed
    2012-12-15 11:22:31.133573 [Debug][(15)]: BASS: Disposing Music Stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:23:14.653518 [Debug][PoolThread10(10)]: ThreadPool.ProcessQueue() : quitting (inUse:0, total:5)
    2012-12-15 11:23:14.667521 [Debug][PoolThread11(11)]: ThreadPool.ProcessQueue() : quitting (inUse:0, total:4)
    2012-12-15 11:23:14.668518 [Debug][PoolThread9(9)]: ThreadPool.ProcessQueue() : quitting (inUse:0, total:3)
    2012-12-15 11:23:14.670520 [Debug][PoolThread8(8)]: ThreadPool.ProcessQueue() : quitting (inUse:0, total:2)
    2012-12-15 11:25:53.931247 [Debug][(15)]: BASS: X-Fading out stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:25:57.932067 [Debug][(15)]: BASS: End of stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:25:57.936067 [Debug][(15)]: BASS: Stop of stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3.
    2012-12-15 11:25:57.937067 [Debug][(15)]: BASS: Performing Softstop of Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:26:01.938890 [Debug][(16)]: BASS: Fading of stream finished.
    2012-12-15 11:26:01.949893 [Debug][(15)]: BASS: Stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3 freed
    2012-12-15 11:26:01.951890 [Debug][(15)]: BASS: Disposing Music Stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:26:02.126929 [Info.][MPMain(1)]: g_Player.Process() player stopped...
    2012-12-15 11:26:02.129928 [Info.][MPMain(1)]: g_Player.OnEnded()
    2012-12-15 11:26:02.133928 [Debug][MPMain(1)]: BASS: Already stopped. Don't execute Stop a second time
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Also, when changing BASS to Wasapi or reverse, sound device change too (it seems that it didn't keep setting) :p
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hwahrmann,

    Could you give a little bit feedback on the reported issue's? Are they reproduced on your end as well? Is there someone giving attention to it? Being very curious :)

    Regards,


    I can confirm too (on latest test MP didn't crash yet but the track stay on end)

    Code:
    2012-12-15 11:30:04.522734 [Info.][MPMain(1)]: BASS: Initializing BASS audio engine...
    2012-12-15 11:30:04.524732 [Debug][MPMain(1)]: BASS: BASS audio engine was previously freed. Re-Init
    2012-12-15 11:30:04.526734 [Info.][MPMain(1)]: BASS: Using WASAPI device: Speakers (High Definition Audio Device)
    2012-12-15 11:30:04.542738 [Info.][MPMain(1)]: BASS: Device Information
    2012-12-15 11:30:04.543736 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:30:04.545737 [Info.][MPMain(1)]: BASS: Name: Speakers (High Definition Audio Device)
    2012-12-15 11:30:04.547738 [Info.][MPMain(1)]: BASS: Id: {0.0.0.00000000}.{5db83026-707a-4f27-89ee-dd0b740894cf}
    2012-12-15 11:30:04.548737 [Info.][MPMain(1)]: BASS: Type: BASS_WASAPI_TYPE_SPEAKERS
    2012-12-15 11:30:04.550738 [Info.][MPMain(1)]: BASS: Shared Mode Channels: 2
    2012-12-15 11:30:04.551738 [Info.][MPMain(1)]: BASS: Shared Mode Samplerate: 44100
    2012-12-15 11:30:04.553740 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:30:04.554738 [Info.][MPMain(1)]: BASS: Initialization done.
    2012-12-15 11:30:04.556739 [Debug][MPMain(1)]: PlayerFactory: Successfully created player instance for file - Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:30:04.583745 [Info.][MPMain(1)]: BASS: Channel Information
    2012-12-15 11:30:04.584745 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:30:04.586745 [Info.][MPMain(1)]: BASS: File: Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:30:04.587745 [Info.][MPMain(1)]: BASS: Type of Channels: BASS_CTYPE_STREAM_MP3
    2012-12-15 11:30:04.589746 [Info.][MPMain(1)]: BASS: Number of Channels: 2
    2012-12-15 11:30:04.590746 [Info.][MPMain(1)]: BASS: Channel Frequency: 44100
    2012-12-15 11:30:04.592748 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:30:04.593748 [Debug][MPMain(1)]: BASS: Registering Playback Events
    2012-12-15 11:30:04.601750 [Info.][MPMain(1)]: BASS: Found more output channels than input channels. Check for upmixing.
    2012-12-15 11:30:04.603750 [Info.][MPMain(1)]: BASS: No upmixing of Stereo selected
    2012-12-15 11:30:04.604749 [Debug][MPMain(1)]: BASS: Creating 2 channel mixer with sample rate of 44100
    2012-12-15 11:30:04.617753 [Info.][MPMain(1)]: BASS: WASAPI Device successfully initialised
    2012-12-15 11:30:04.619752 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:30:04.621754 [Info.][MPMain(1)]: BASS: Buffer Length: 20480
    2012-12-15 11:30:04.622754 [Info.][MPMain(1)]: BASS: Channels: 2
    2012-12-15 11:30:04.624756 [Info.][MPMain(1)]: BASS: Frequency: 44100
    2012-12-15 11:30:04.625755 [Info.][MPMain(1)]: BASS: Format: BASS_WASAPI_FORMAT_24BIT
    2012-12-15 11:30:04.627754 [Info.][MPMain(1)]: BASS: InitFlags: BASS_WASAPI_EXCLUSIVE, BASS_WASAPI_AUTOFORMAT
    2012-12-15 11:30:04.628755 [Info.][MPMain(1)]: BASS: Exclusive: True
    2012-12-15 11:30:04.630754 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:30:04.636756 [Info.][MPMain(1)]: BASS: playback started
    2012-12-15 11:30:04.640757 [Info.][MPMain(1)]: g_Player.OnStarted() Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3 media:Music
    2012-12-15 11:31:55.206479 [Debug][PoolThread12(12)]: ThreadPool.ProcessQueue() : quitting (inUse:0, total:3)
    2012-12-15 11:31:55.209478 [Debug][PoolThread9(9)]: ThreadPool.ProcessQueue() : quitting (inUse:0, total:2)
    2012-12-15 11:33:33.429658 [Debug][(15)]: BASS: X-Fading out stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:33:37.430482 [Debug][(15)]: BASS: End of stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:33:37.434481 [Debug][(15)]: BASS: Stop of stream Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3.
    2012-12-15 11:33:37.435481 [Debug][(15)]: BASS: Performing Softstop of Y:\Ian Van Dahl - Lost and Found\16 - Ian Van Dahl - State Of Mind.mp3
    2012-12-15 11:33:41.437305 [Debug][(14)]: BASS: Fading of stream finished.


    Now if i try to play another music, MP freeze (normal Wasapi was not released)

    Code:
    2012-12-15 11:36:51.113276 [Info.][MPMain(1)]: g_Player.OnChanged()
    2012-12-15 11:36:51.118277 [Info.][MPMain(1)]: g_Player.Play(Y:\Ian Van Dahl - Lost and Found\15 - Ian Van Dahl - To Fall In Love.mp3 Music)
    2012-12-15 11:36:51.119277 [Debug][MPMain(1)]: PlayerFactory: Successfully created player instance for file - Y:\Ian Van Dahl - Lost and Found\15 - Ian Van Dahl - To Fall In Love.mp3
    2012-12-15 11:36:51.140281 [Info.][MPMain(1)]: BASS: Channel Information
    2012-12-15 11:36:51.142282 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:36:51.143282 [Info.][MPMain(1)]: BASS: File: Y:\Ian Van Dahl - Lost and Found\15 - Ian Van Dahl - To Fall In Love.mp3
    2012-12-15 11:36:51.145283 [Info.][MPMain(1)]: BASS: Type of Channels: BASS_CTYPE_STREAM_MP3
    2012-12-15 11:36:51.146284 [Info.][MPMain(1)]: BASS: Number of Channels: 2
    2012-12-15 11:36:51.148284 [Info.][MPMain(1)]: BASS: Channel Frequency: 44100
    2012-12-15 11:36:51.149283 [Info.][MPMain(1)]: BASS: ---------------------------------------------
    2012-12-15 11:36:51.151284 [Debug][MPMain(1)]: BASS: Registering Playback Events
     

    Attachments

    • 11-36-27.png
      11-36-27.png
      628.3 KB
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom