tomahawk-player / tomahawk

Tomahawk, the multi-source music player
http://tomahawk-player.org
GNU General Public License v3.0
2.95k stars 367 forks source link

Subsonic: Connects, lists, but doesn't play anything #613

Open CreateWebNZ opened 7 years ago

CreateWebNZ commented 7 years ago

When I connect to my subsonic server, I can browse the entire collection, but as soon as I try to play any song, I get an error message stating that my audio device cannot be accessed. Local playback works just fine. Client: Tomahawk 0.8.4, Ubuntu 16.10, Server: Subsonic 6.0 (build a7857c) with self signed certificate, Ubuntu 16.04.

Here is the related log entry:

<i>on</i> My Generation - The Very Best Of The Who." Mi. Mär 22 2017 - 00:00:29 [8]: void AudioEnginePrivate::onStateChanged(Phonon::State, Phonon::State) Phonon::StoppedState Phonon::LoadingState true 4 Mi. Mär 22 2017 - 00:00:29 [8]: void AudioEnginePrivate::onStateChanged(Phonon::State, Phonon::State) Phonon::LoadingState Phonon::BufferingState true 4 Mi. Mär 22 2017 - 00:00:29 [8]: void AudioEngine::onAboutToFinish() Mi. Mär 22 2017 - 00:00:29 [8]: void AudioEnginePrivate::onStateChanged(Phonon::State, Phonon::State) Phonon::BufferingState Phonon::ErrorState true 4 Mi. Mär 22 2017 - 00:00:29 [1]: void AudioEngine::stop(AudioEngine::AudioErrorCode) 3 false Mi. Mär 22 2017 - 00:00:29 [5]: void AudioControls::onPlaybackStopped() Mi. Mär 22 2017 - 00:00:29 [1]: void AudioControls::onControlStateChanged() Mi. Mär 22 2017 - 00:00:29 [8]: bool AudioEngine::canGoNext() Mi. Mär 22 2017 - 00:00:29 [5]: bool AudioEngine::canGoNext() Catch up, but same track or can't move on because don't have next track or it wasn't resolved Mi. Mär 22 2017 - 00:00:29 [8]: bool Tomahawk::InfoSystem::InfoSystem::pushInfo(Tomahawk::InfoSystem::InfoPushData) type is 83 Mi. Mär 22 2017 - 00:00:29 [1]: Phonon Error: "" Phonon::NormalError Mi. Mär 22 2017 - 00:00:29 [0]: "Sorry, there is a problem accessing your audio device or the desired track, current track will be skipped. Make sure you have a suitable Phonon backend and required plugins installed." Mi. Mär 22 2017 - 00:00:29 [8]: void Tomahawk::InfoSystem::InfoSystemWorker::pushInfo(Tomahawk::InfoSystem::InfoPushData) type is 83 Mi. Mär 22 2017 - 00:00:29 [5]: void AudioEngine::play() Mi. Mär 22 2017 - 00:00:29 [5]: void AudioEngine::next() Mi. Mär 22 2017 - 00:00:29 [8]: bool AudioEngine::canGoNext() Mi. Mär 22 2017 - 00:00:29 [8]: void Tomahawk::InfoSystem::InfoSystemWorker::pushInfo(Tomahawk::InfoSystem::InfoPushData) number of matching plugins: 2 Mi. Mär 22 2017 - 00:00:29 [8]: void AudioEnginePrivate::onStateChanged(Phonon::State, Phonon::State) Phonon::ErrorState Phonon::StoppedState true 3 Mi. Mär 22 2017 - 00:00:29 [8]: virtual void Tomahawk::InfoSystem::FdoNotifyPlugin::pushInfo(Tomahawk::InfoSystem::InfoPushData) showing notification: true Mi. Mär 22 2017 - 00:00:30 [8]: void ScanManager::scanTimerTimeout() Mi. Mär 22 2017 - 00:01:30 [8]: void ScanManager::scanTimerTimeout() Mi. Mär 22 2017 - 00:02:31 [8]: void ScanManager::scanTimerTimeout() Mi. Mär 22 2017 - 00:03:30 [8]: void ScanManager::scanTimerTimeout() Mi. Mär 22 2017 - 00:04:30 [9]: void Tomahawk::InfoSystem::InfoSystemCache::pruneTimerFired() Pruning infosystemcache Mi. Mär 22 2017 - 00:04:30 [9]: void TomahawkUtils::Cache::pruneTimerFired() Pruning tomahawkcache Mi. Mär 22 2017 - 00:04:30 [8]: void ScanManager::scanTimerTimeout()

lycofron commented 4 years ago

To whomever encounters this problem: I had the same and it had driven me crazy. After too much research, in my case, it turned out it was simply a problem my ssl certificate installation. So, pick a ssl certificate diagnostics tool like https://www.digicert.com/help/ and check your installation is OK.

In my case, a misconfiguration of nginx had resulted in bad installation. After correcting my nginx config, everything worked as normal.