Soundcloud stream plays only one track


#1

Hi,
I am using ncmpcpp + mopidy to play soundcloud. I’d like to play stream so that I select one track and it keeps playing the following tracks, but it doesn’t seem to be possible. I’ve found this bug and the last comment says it’s fixed in newer versions of ncmpcpp, but it isn’t working for me.
I am using mopidy 2.1 and ncmpcpp 0.8.2


#2

That bug is very specifically for single mode. Are you using single mode? Please post the exact steps to reproduce it.


#3

I have single mode disabled.
Steps to reproduce:

  • Open ncmpcpp
  • Press 2
  • Select Soundcloud
  • Select Stream
  • Play any track with Enter

And it only plays the selected track, it doesn’t skip to the next one


#4

What “stream” are you selecting? Is the current tracklist correctly populated after you select that '“stream”?


#5

Yes, it is correctly populated and I can play any of the tracks on the stream. I don’t get the same order as on Soundcloud’s website, but they’re the same tracks. I don’t really mind about the order.
You can check how it looks on my end


#6

So just be clear, this isn’t related to the linked bug in the OP.

Browsing your Soundcloud “Stream” will return a flat list of all the tracks (any playlists found will be flattened and the tracks contained within are also added to that one returned list). When you select one of those tracks to play it’s up to your particular client to add everything to the current tracklist or just the one track you selected. Is this behaviour configurable in your mpd client? Presumably you are experiencing this same behaviour when browsing all backends and not just soundcloud?


#7

Alright, I’ll get back to you on that.
I just installed tried ncmpc to see if the behavior was the same, and it is indeed.
I will try to find some documentation about ncmpcpp
I haven’t tried on another backend because I only use soundcloud and somafm (which is a group of radio station so it does work perfectly)


#8

I’m not familiar with ncmpcpp, am I looking at the current tracklist there or still the results of browsing “Stream”?

Could you try a webclient? mopidy-musicbox-webclient should work.


#9

Those are the results of stream. I am trying to setup mopidy-musicbox-webclient but all I get is this if I access localhost:6680. And I get a 404 error if I access http://localhost:6680/musicbox_webclient
I have tried Mopidy-Simple-Webclient but it doesn’t allow me to play anything, it says I don’t have any playlists
I’ve also tried to set the track on ncmpcpp and then to use mpc next, and it stops the current track so it might be a ncmpcpp limitation


#10

Right, well I was specifically asking:

With regards to installing, make sure you are using sudo pip install <blah> if you are running as a service else it won’t find it.


#11

Yes I do install everything with that command.
And the first picture I linked to, is the current tracklist of the [Stream]
I cannot link another screenshot because it seems I have been flagged as spammer


#12

I’ve removed the flag.

Can you provide the output of sudo mopidyctl deps?


#13

It says command not found, but here is the output of sudo mopidy deps. I installed mopidy via pip, and had to create the systemd service.

Executable: /usr/bin/mopidy
Platform: Linux-4.17.1-1-default-x86_64-with-glibc2.2.5
Python: CPython 2.7.15 from /usr/lib64/python2.7
Mopidy: 2.1.0 from /usr/lib64/python2.7/site-packages
requests>=2.0: 2.19.1 from /usr/lib/python2.7/site-packages
idna<2.8,>=2.5: 2.6 from /usr/lib/python2.7/site-packages
certifi>=2017.4.17: 2018.4.16 from /usr/lib/python2.7/site-packages
chardet<3.1.0,>=3.0.2: 3.0.4 from /usr/lib/python2.7/site-packages
urllib3<1.24,>=1.21.1: 1.22 from /usr/lib/python2.7/site-packages
tornado>=3.2: 5.0.2 from /usr/lib64/python2.7/site-packages
futures: 3.2.0 from /usr/lib/python2.7/site-packages
singledispatch: 3.4.0.3 from /usr/lib/python2.7/site-packages
six: 1.11.0 from /usr/lib/python2.7/site-packages
backports_abc>=0.4: 0.5 from /usr/lib/python2.7/site-packages
Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/site-packages
setuptools: 39.2.0 from /usr/lib/python2.7/site-packages
Mopidy-SoundCloud: 2.1.0 from /usr/lib64/python2.7/site-packages
Mopidy>=1.0: 2.1.0 from /usr/lib64/python2.7/site-packages
requests>=2.0: 2.19.1 from /usr/lib/python2.7/site-packages
idna<2.8,>=2.5: 2.6 from /usr/lib/python2.7/site-packages
certifi>=2017.4.17: 2018.4.16 from /usr/lib/python2.7/site-packages
chardet<3.1.0,>=3.0.2: 3.0.4 from /usr/lib/python2.7/site-packages
urllib3<1.24,>=1.21.1: 1.22 from /usr/lib/python2.7/site-packages
tornado>=3.2: 5.0.2 from /usr/lib64/python2.7/site-packages
futures: 3.2.0 from /usr/lib/python2.7/site-packages
singledispatch: 3.4.0.3 from /usr/lib/python2.7/site-packages
six: 1.11.0 from /usr/lib/python2.7/site-packages
backports_abc>=0.4: 0.5 from /usr/lib/python2.7/site-packages
Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/site-packages
setuptools: 39.2.0 from /usr/lib/python2.7/site-packages
Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/site-packages
requests>=2.0.0: 2.19.1 from /usr/lib/python2.7/site-packages
idna<2.8,>=2.5: 2.6 from /usr/lib/python2.7/site-packages
certifi>=2017.4.17: 2018.4.16 from /usr/lib/python2.7/site-packages
chardet<3.1.0,>=3.0.2: 3.0.4 from /usr/lib/python2.7/site-packages
urllib3<1.24,>=1.21.1: 1.22 from /usr/lib/python2.7/site-packages
setuptools: 39.2.0 from /usr/lib/python2.7/site-packages
Mopidy-SomaFM: 1.1.0 from /usr/lib/python2.7/site-packages
setuptools: 39.2.0 from /usr/lib/python2.7/site-packages
Mopidy>=1.1: 2.1.0 from /usr/lib64/python2.7/site-packages
requests>=2.0: 2.19.1 from /usr/lib/python2.7/site-packages
idna<2.8,>=2.5: 2.6 from /usr/lib/python2.7/site-packages
certifi>=2017.4.17: 2018.4.16 from /usr/lib/python2.7/site-packages
chardet<3.1.0,>=3.0.2: 3.0.4 from /usr/lib/python2.7/site-packages
urllib3<1.24,>=1.21.1: 1.22 from /usr/lib/python2.7/site-packages
tornado>=3.2: 5.0.2 from /usr/lib64/python2.7/site-packages
futures: 3.2.0 from /usr/lib/python2.7/site-packages
singledispatch: 3.4.0.3 from /usr/lib/python2.7/site-packages
six: 1.11.0 from /usr/lib/python2.7/site-packages
backports_abc>=0.4: 0.5 from /usr/lib/python2.7/site-packages
Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/site-packages
setuptools: 39.2.0 from /usr/lib/python2.7/site-packages
Pykka>=1.1: 1.2.1 from /usr/lib/python2.7/site-packages
requests>=2.0.0: 2.19.1 from /usr/lib/python2.7/site-packages
idna<2.8,>=2.5: 2.6 from /usr/lib/python2.7/site-packages
certifi>=2017.4.17: 2018.4.16 from /usr/lib/python2.7/site-packages
chardet<3.1.0,>=3.0.2: 3.0.4 from /usr/lib/python2.7/site-packages
urllib3<1.24,>=1.21.1: 1.22 from /usr/lib/python2.7/site-packages
GStreamer: 1.14.1.0 from /usr/lib64/python2.7/site-packages/gi
Detailed information:
Python wrapper: python-gi 3.28.3
Relevant elements:
Found:
uridecodebin
souphttpsrc
appsrc
alsasink
osssink
oss4sink
pulsesink
id3demux
id3v2mux
lamemp3enc
mpegaudioparse
mpg123audiodec
vorbisdec
vorbisenc
vorbisparse
oggdemux
oggmux
oggparse
flacdec
flacparse
Not found:
flump3dec
mad
shout2send