Playlists from Spotify with User-Number

Hi

I’m ready to use Mopidy-Spotify with my Facebook-Spotify account. What looks crazy to me is that all the playlists from Spotify have the ending «by 116744716» or the user number where the playlist is from. For example one of my own playlists: «Sektion Kuchikäschtli - Affatanz by 116744716».
I’ve tried to edit the «canonical_username» setting in /var/lib/mopidy/spotify/settings, but it gets overwritten everytime I start mopidy. 116744716 is the number of my Facebook account.
Any idea how to fix it?

Thank you!
Martin

PS: Here is my mopidy deps:

Executable: /usr/bin/mopidy
Platform: Linux-3.2.40-armv7l-with-debian-8.0
Python: CPython 2.7.9 from /usr/lib/python2.7
Mopidy: 1.0.4 from /usr/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
  tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
    certifi: 2015.4.28 from /usr/local/lib/python2.7/dist-packages
    backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
Mopidy-MusicBox-Webclient: 2.0.0 from /usr/local/lib/python2.7/dist-packages
  setuptools: 15.2 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=0.19: 1.0.4 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 2015.4.28 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
Mopidy-ALSAMixer: 1.0.3 from /usr/share/mopidy
  Mopidy>=0.19: 1.0.4 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 2015.4.28 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
  pyalsaaudio: 0.7 from /usr/lib/python2.7/dist-packages
Mopidy-Mobile: 0.9.2 from /usr/local/lib/python2.7/dist-packages
  setuptools: 15.2 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=0.19: 1.0.4 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 2015.4.28 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
Mopidy-Mopify: 1.4.2 from /usr/local/lib/python2.7/dist-packages
  setuptools: 15.2 from /usr/local/lib/python2.7/dist-packages
  Mopidy>=0.19: 1.0.4 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 2015.4.28 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
  ConfigObj: 5.0.6 from /usr/local/lib/python2.7/dist-packages
    six: 1.8.0 from /usr/lib/python2.7/dist-packages
Mopidy-Spotify-Tunigo: 0.2.1 from /usr/share/mopidy
  Mopidy>=0.19.0: 1.0.4 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 2015.4.28 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
  mopidy-spotify>=1.2.0: 1.3.0 from /usr/share/mopidy
    Mopidy>=1.0: 1.0.4 from /usr/lib/python2.7/dist-packages
      Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
      tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
        certifi: 2015.4.28 from /usr/local/lib/python2.7/dist-packages
        backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
    pyspotify<1.999,>=1.9: 1.11 from /usr/lib/pymodules/python2.7
  tunigo: 0.1.3 from /usr/lib/python2.7/dist-packages
    requests>=2.0.0: 2.4.3 from /usr/lib/python2.7/dist-packages
Mopidy-Spotify: 1.3.0 from /usr/share/mopidy
  Mopidy>=1.0: 1.0.4 from /usr/lib/python2.7/dist-packages
    Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
    tornado>=2.3: 4.1 from /usr/local/lib/python2.7/dist-packages
      certifi: 2015.4.28 from /usr/local/lib/python2.7/dist-packages
      backports.ssl-match-hostname: 3.4.0.2 from /usr/local/lib/python2.7/dist-packages
  Pykka>=1.1: 1.2.0 from /usr/lib/python2.7/dist-packages
  pyspotify<1.999,>=1.9: 1.11 from /usr/lib/pymodules/python2.7
GStreamer: 0.10.36.0 from /usr/lib/python2.7/dist-packages/gst-0.10/gst
  Detailed information: 
    Python wrapper: gst-python 0.10.22.0
    Relevant elements:
      Found:
        uridecodebin
        souphttpsrc
        appsrc
        alsasink
        osssink
        oss4sink
        pulsesink
        id3demux
        id3v2mux
        lame
        mad
        mp3parse
        vorbisdec
        vorbisenc
        vorbisparse
        oggdemux
        oggmux
        oggparse
        flacdec
        flacparse
        shout2send
      Not found:
        flump3dec

I’ve never heard of this issue before. Mopidy-Spotify is only supposed to show "by " in a playlist name if the playlist is owned by another Spotify user, not on your own lists.

You should not edit anything in /var/lib/mopidy/spotify as that is libspotify’s internal state. The folder being named “settings” is just a peculiarity of libspotify.

Maybe it shows "by " because my username in the settings is my Facebook email adress. It did not work with the account number (116744716) as username. To login it only worked creating a device-password in the Facebook security settings, not on the Spotify page as supposed in the readme of mopidy-spotify. And even when the Spotify support said I had to use 116744716 as username it worked only with my email adress.

Maybe there the problem comes from? Is there a way to tell Mopidy-Spotify that 116744716 is my own username?

I’m a bit confused. You’re saying that your mopidy.conf looks like this?

[spotify]
username = facebook-email-address
password = facebook-device-password

There’s no way to tell Mopidy-Spotify what your username is. It gets that from libspotify.

I’m sorry :wink:
Yes, my mopidy.conf looks exacly like you have written.

Oh, it looks like beeing a common problem:

Maybe there’s a problem for libspotify with connecting to facebook. I will look into that. Thanks for the hint with libspotify!