# Soundcloud stream plays only one track

**URL:** <https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598>\
**Category:** Misc\
**Created:** [June 22, 2018, 7:13am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598 "2018-06-22T07:13:14Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolneng](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/coolneng/32/962_2.png) [@coolneng](https://discourse.mopidy.com/u/coolneng)\
**Post date:** [June 22, 2018, 7:13am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/1 "2018-06-22T07:13:14Z")

</div>

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](https://github.com/mopidy/mopidy/issues/916) 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

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [June 22, 2018, 7:58am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/2 "2018-06-22T07:58:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![coolneng](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/coolneng/32/962_2.png) [@coolneng](https://discourse.mopidy.com/u/coolneng)\
**Post date:** [June 22, 2018, 8:06am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/3 "2018-06-22T08:06:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [June 22, 2018, 8:36am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/4 "2018-06-22T08:36:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![coolneng](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/coolneng/32/962_2.png) [@coolneng](https://discourse.mopidy.com/u/coolneng)\
**Post date:** [June 22, 2018, 8:50am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/5 "2018-06-22T08:50:18Z")

</div>

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](https://i.imgur.com/wRJBwst.png) how it looks on my end

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [June 22, 2018, 8:56am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/6 "2018-06-22T08:56:11Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![coolneng](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/coolneng/32/962_2.png) [@coolneng](https://discourse.mopidy.com/u/coolneng)\
**Post date:** [June 22, 2018, 9:07am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/7 "2018-06-22T09:07:40Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [June 22, 2018, 9:09am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/8 "2018-06-22T09:09:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![coolneng](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/coolneng/32/962_2.png) [@coolneng](https://discourse.mopidy.com/u/coolneng)\
**Post date:** [June 22, 2018, 9:37am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/9 "2018-06-22T09:37:07Z")

</div>

Those are the results of stream. I am trying to setup mopidy-musicbox-webclient but all I get is [this](https://i.imgur.com/SsLZDwW.png) if I access localhost:6680. And I get a 404 error if I access [http://localhost:6680/musicbox\_webclient](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

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [June 22, 2018, 11:14am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/10 "2018-06-22T11:14:44Z")

</div>

Right, well I was specifically asking:

> [@kingosticks](#):
>
> Is the **current tracklist** correctly populated after you select that '“stream”?

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.

---

<div class="post-metadata">

**Author:** ![coolneng](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/coolneng/32/962_2.png) [@coolneng](https://discourse.mopidy.com/u/coolneng)\
**Post date:** [June 22, 2018, 11:23am UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/11 "2018-06-22T11:23:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [June 22, 2018, 12:06pm UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/12 "2018-06-22T12:06:15Z")

</div>

I’ve removed the flag.

Can you provide the output of `sudo mopidyctl deps`?

---

<div class="post-metadata">

**Author:** ![coolneng](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/coolneng/32/962_2.png) [@coolneng](https://discourse.mopidy.com/u/coolneng)\
**Post date:** [June 22, 2018, 12:30pm UTC](https://discourse.mopidy.com/t/soundcloud-stream-plays-only-one-track/2598/13 "2018-06-22T12:30:33Z")

</div>

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
