Giter VIP home page Giter VIP logo

Comments (16)

woodruffw avatar woodruffw commented on August 21, 2024

I've updated to 0.8.4 from the PPA and the client gave me an option to accept the certificate. I can connect now, but I get this error on playback:

"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."

phonon-backend-gstreamer is installed.

from tomahawk.

jherskowitz avatar jherskowitz commented on August 21, 2024

Also try uninstalling gstreamer. https://tomahawk.uservoice.com/knowledgebase/articles/421065-why-won-t-tomahawk-play-streaming-songs

from tomahawk.

woodruffw avatar woodruffw commented on August 21, 2024

I uninstalled phonon-backend-gstreamer (phonon-backend-vlc is installed), no change.
I've also tried updating to the nightly (0.8.99), no luck.

Update: YouTube and SoundCloud both work, so it's not a complete audio failure.

from tomahawk.

muesli avatar muesli commented on August 21, 2024

Do you see something in the logfile related to the playback error? Are there any other phonon backends but vlc installed?

from tomahawk.

woodruffw avatar woodruffw commented on August 21, 2024

The logfile is full of entry clusters like this:

Sun Dec 6 2015 - 23:29:46 [1]: virtual void PlayableProxyModel::setCurrentIndex(const QModelIndex&) 
Sun Dec 6 2015 - 23:29:46 [8]: void AudioEngine::loadNextTrack() Got next item, loading track 
Sun Dec 6 2015 - 23:29:46 [5]: void AudioEngine::loadTrack(const result_ptr&) "https://pan.woodruffw.us:443/rest/stream.view?u=<username>&p=<password>&v=1.8.0&c=tomahawk&f=json&id=7" 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::stop() 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::setState(AudioOutput::AudioState) 
Sun Dec 6 2015 - 23:29:46 [5]: void AudioEngine::performLoadIODevice(const result_ptr&, const QString&) "https://pan.woodruffw.us:443/rest/stream.view?u=<username>&p=<password>&v=1.8.0&c=tomahawk&f=json&id=7" 
Sun Dec 6 2015 - 23:29:46 [0]: void HttpIODeviceReadyHandler::called() QNetworkReplyImpl(0x194d4f0) 
Sun Dec 6 2015 - 23:29:46 [5]: void AudioEngine::performLoadTrack(Tomahawk::result_ptr, QString, QSharedPointer<QIODevice>) "https://pan.woodruffw.us:443/rest/stream.view?u=<username>&p=<password>&v=1.8.0&c=tomahawk&f=json&id=7" 
Sun Dec 6 2015 - 23:29:46 [0]: void AudioEngine::performLoadTrack(Tomahawk::result_ptr, QString, QSharedPointer<QIODevice>) Starting new song: "https://pan.woodruffw.us:443/rest/stream.view?u=<username>&p=<password>&v=1.8.0&c=tomahawk&f=json&id=7" 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioControls::onControlStateChanged() 
Sun Dec 6 2015 - 23:29:46 [8]: bool AudioEngine::canGoNext() 
Sun Dec 6 2015 - 23:29:46 [8]: Enqueueing command to thread: Tomahawk::DatabaseWorker(0x7f50a4002200) 0 "loadsocialactions" 
Sun Dec 6 2015 - 23:29:46 [9]: virtual void Tomahawk::DatabaseCommand_LoadSocialActions::exec(Tomahawk::DatabaseImpl*) 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::setCurrentSource(MediaStream*) 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::setState(AudioOutput::AudioState) 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioEnginePrivate::onStateChanged(AudioOutput::AudioState, AudioOutput::AudioState) 0 4 4 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::setCurrentSource(MediaStream*) MediaStream::Final Url: "imem://" 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::play() 4 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::setState(AudioOutput::AudioState) 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioEnginePrivate::onStateChanged(AudioOutput::AudioState, AudioOutput::AudioState) 4 4 4 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::onVlcEvent(const libvlc_event_t*) LibVLC error: MediaPlayerEncounteredError. Stopping 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::setState(AudioOutput::AudioState) 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioEngine::onNowPlayingInfoReady(Tomahawk::InfoSystem::InfoType) Saving cover image to: "/tmp/∆ (alt-j)_An Awesome Wave_tomahawk_cover.png.i31820" 
Sun Dec 6 2015 - 23:29:46 [8]: bool Tomahawk::InfoSystem::InfoSystem::pushInfo(Tomahawk::InfoSystem::InfoPushData) type is 90 
Sun Dec 6 2015 - 23:29:46 [8]: void Tomahawk::InfoSystem::InfoSystemWorker::pushInfo(Tomahawk::InfoSystem::InfoPushData) type is  90 number of matching plugins:  2 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioEnginePrivate::onStateChanged(AudioOutput::AudioState, AudioOutput::AudioState) 4 3 4 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioEnginePrivate::onStateChanged(AudioOutput::AudioState, AudioOutput::AudioState) AudioOutput Error 
Sun Dec 6 2015 - 23:29:46 [0]: "Sorry, there is a problem accessing your audio device or the desired track, current track will be skipped." 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioEngine::stop(AudioEngine::AudioErrorCode) 3 false 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::stop() 
Sun Dec 6 2015 - 23:29:46 [8]: virtual void Tomahawk::InfoSystem::FdoNotifyPlugin::pushInfo(Tomahawk::InfoSystem::InfoPushData) showing notification: true 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::setState(AudioOutput::AudioState) 
Sun Dec 6 2015 - 23:29:46 [8]: void Tomahawk::InfoSystem::FdoNotifyPlugin::nowPlaying(const QVariant&) 
Sun Dec 6 2015 - 23:29:46 [1]: void AudioEnginePrivate::onStateChanged(AudioOutput::AudioState, AudioOutput::AudioState) 3 0 3 
Sun Dec 6 2015 - 23:29:46 [5]: void AudioControls::onPlaybackStopped() 
Sun Dec 6 2015 - 23:29:46 [8]: void Tomahawk::InfoSystem::FdoNotifyPlugin::nowPlaying(const QVariant&) sending message "<i></i>Tessellate
<i>by</i> ∆ (alt-j)
<i>on</i> An Awesome Wave." 

The relevant lines seem to be

Sun Dec 6 2015 - 23:29:46 [1]: void AudioOutput::onVlcEvent(const libvlc_event_t*) LibVLC error: MediaPlayerEncounteredError. Stopping 

and

Sun Dec 6 2015 - 23:29:46 [1]: void AudioEnginePrivate::onStateChanged(AudioOutput::AudioState, AudioOutput::AudioState) AudioOutput Error 
Sun Dec 6 2015 - 23:29:46 [0]: "Sorry, there is a problem accessing your audio device or the desired track, current track will be skipped." 

I uninstalled phonon-backend-gstreamer to no effect.
Interestingly, uninstalling phonon-backend-vlc and keeping phonon-backend-gstreamer causes the error to disappear, but no audio is actually produced (and the playback bar doesn't indicate any streaming).

from tomahawk.

woodruffw avatar woodruffw commented on August 21, 2024

I also found a file ~/vlc-log.txt that may have been created during the error. It contains lines clustered like this:

-- logger module started --
main error: cannot pre fill buffer
main error: cannot pre fill buffer
main error: cannot pre fill buffer
main error: cannot pre fill buffer
-- logger module stopped --

from tomahawk.

woodruffw avatar woodruffw commented on August 21, 2024

Anything I can do to follow up on this?
Seeing how the problem has changed, I can open a new a new issue if that would be clearer.

from tomahawk.

dschmidt avatar dschmidt commented on August 21, 2024

Sorry, we're all a bit busy right now. I am currently fixing OSX builds, after that I will try to look into resolver issues.

from tomahawk.

woodruffw avatar woodruffw commented on August 21, 2024

No worries 😄

from tomahawk.

dfr0 avatar dfr0 commented on August 21, 2024

Perfect, i'm waiting for the same problem fix, thx so much all.

from tomahawk.

dschmidt avatar dschmidt commented on August 21, 2024

@woodruffw @dfr0 is there a chance you could provide me with a user on your subsonic installation, so I can test? Just email me ( [email protected] ) or find me on IRC (#tomahawk on Freenode, domme there too)

from tomahawk.

woodruffw avatar woodruffw commented on August 21, 2024

@dschmidt
Sorry for the late response.

I can't provide access to my installation (there are currently unpatched security holes in Subsonic that I haven't disclosed yet), but there's a public demo available here that should work with Tomahawk.

from tomahawk.

dschmidt avatar dschmidt commented on August 21, 2024

It should but doesn't work!

from tomahawk.

dschmidt avatar dschmidt commented on August 21, 2024

s/!/?/

from tomahawk.

woodruffw avatar woodruffw commented on August 21, 2024

Go figure. I'll take some time to set up a testing instance later today.

from tomahawk.

unhammer avatar unhammer commented on August 21, 2024

@woodruffw do you get search results though? I see that the log shows things like "84 results returned" but the UI shows no hits. Also on the default subsonic cert here, accepted through the UI (which didn't show the fingerprint!)

EDIT: I believe my issue is different, #488

from tomahawk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.