Coder Social home page Coder Social logo

Comments (6)

jodal avatar jodal commented on June 8, 2024

This error is from the network connection code trying to stop the MpdSession actor because the connection has ended, only to find it is already dead. What would be interesting here is to see why it is already dead. I suspect that is to be found earlier in the same log.

The current log excerpt gives us nothing to work on, unless the issue can be easily reproduced by adding any YouTube playlist to the tracklist.

from mopidy-youtube.

s-ol avatar s-ol commented on June 8, 2024

It happens for every youtube video I try to play, and the default-loglevel logs show nothing else.

from mopidy-youtube.

dz0ny avatar dz0ny commented on June 8, 2024

Can you confirm that your system can play youtube streams, by issuing following command:

gst-launch-0.10 playbin2 uri=$(echo "https://www.youtube.com/watch?v=RuY4MSh1V-I" | python2 -c 'import pafy,sys;print(pafy.new("".join(sys.stdin)).getbestaudio().url)')

from mopidy-youtube.

s-ol avatar s-ol commented on June 8, 2024

Will report back when I get home. It seems to be a python error though, it's thrown in if not data:.

from mopidy-youtube.

s-ol avatar s-ol commented on June 8, 2024

Sorry, I totally forgot about this. Heres the output from running your code (albeit with a different song, yours can't be played in germany):

gst-launch-0.10 playbin2 uri=(echo "https://www.youtube.com/watch?v=xc96GfmtBB0" | python2 -c 'import pafy,sys;print(pafy.new("".join(sys.stdin)).getbestaudio().url)') 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: MPEG-4 AAC decoder
WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2'.
Additional debug info:
gsturidecodebin.c(879): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20: Your GStreamer installation is missing a plug-in.
Additional debug info:
gstdecodebin2.c(3679): gst_decode_bin_expose (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

from mopidy-youtube.

s-ol avatar s-ol commented on June 8, 2024

Okay, I installed gstreamer0.1-bad-plugins - playback works now. Thanks!

from mopidy-youtube.

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.