tehkillerbee / mopidy-tidal

Tidal Backend plugin for Mopidy
Apache License 2.0
93 stars 28 forks source link

Can't switch song #11

Closed tcpj closed 5 years ago

tcpj commented 6 years ago

I have installed latest mopidy and latest Mopidy-Tidal and every time i try to switch song, previous song starts all over again. In the end, i am able to play only one song, even local music.

Without this plugin, mopidy works flawlessly. Any clues, what could cause this? Here is my mopidy.conf

#   http://docs.mopidy.com/
#
# The initial commented out values reflect the defaults as of:
#   Mopidy 2.1.0
#   Mopidy-File 2.1.0
#   Mopidy-HTTP 2.1.0
#   Mopidy-Local 2.1.0
#   Mopidy-M3U 2.1.0
#   Mopidy-MPD 2.1.0
#   Mopidy-SoftwareMixer 2.1.0
#   Mopidy-Stream 2.1.0
#
# Available options and defaults might have changed since then,
# run `mopidy config` to see the current effective config and
# `mopidy --version` to check the current version.

[core]
#cache_dir = $XDG_CACHE_DIR/mopidy
#config_dir = $XDG_CONFIG_DIR/mopidy
#data_dir = $XDG_DATA_DIR/mopidy
#max_tracklist_length = 10000
#restore_state = false

[logging]
#color = true
#console_format = %(levelname)-8s %(message)s
#debug_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n  %(message)s
#debug_file = mopidy.log
#config_file =

[audio]
#mixer = software
#mixer_volume = 
#output = autoaudiosink
#buffer_time = 

[proxy]
#scheme = 
#hostname = 
#port = 
#username = 
#password = 

[mpd]
enabled = true
hostname = 127.0.0.1
port = 6600
password = uberpass
max_connections = 20
connection_timeout = 60
zeroconf = Mopidy MPD server on $hostname
command_blacklist = 
  listall
  listallinfo
  update
default_playlist_scheme = m3u

[http]
#enabled = true
#hostname = 127.0.0.1
#port = 6680
#static_dir =
#zeroconf = Mopidy HTTP server on $hostname

[stream]
#enabled = true
#protocols = 
#  http
#  https
#  mms
#  rtmp
#  rtmps
#  rtsp
#metadata_blacklist = 
#timeout = 5000

[m3u]
#enabled = true
#base_dir =
#default_encoding = latin-1
#default_extension = .m3u8
#playlists_dir =

[softwaremixer]
#enabled = true

[file]
enabled = true
media_dirs = 
  $XDG_MUSIC_DIR|Music
  ~/|Home
excluded_file_extensions = 
  .jpg
  .jpeg
show_dotfiles = false
follow_symlinks = false
metadata_timeout = 1000

[local]
enabled = true
library = json
media_dir = ~/Music
scan_timeout = 1000
scan_flush_threshold = 100
scan_follow_symlinks = false
excluded_file_extensions = 
  .directory
  .html
  .jpeg
  .jpg
  .log
  .nfo
  .png
  .txt

[tidal]
enabled = true
username = youcanrun@butyoucanthide.com
password = lolpasswordhere
quality = LOSSLESS
akatrevorjay commented 6 years ago

I just installed this extension, noticed the same thing. Lol.

What's really odd to me is that it is definitely getting a different FLAC uri for each track. Currently debugging further, because that's just strange.

Maybe it's a dynamic URI, but due to some other things I've noticed in it's behavior, I do not believe that to be the case. Notably, if I restart mopidy, play a new song, and let it finish, it does not repeat the same song I just played, but the song I tried to play from before, at which point then it gets stuck, haha

andmarti1424 commented 6 years ago

Is this fixed already? Thanks!

tcpj commented 6 years ago

Nope, but I found out what is going on. Mopidy uses gstreamer as backend, which takes URL of tidal track. But! For some reason it continues to play previous media. Funny thing this is happening only with tidal-mopidy. FOR NO OBVIOUS REASON!

tcpj commented 6 years ago

Today i noticed strange behavior. I am still unable to switch song manually, but song now switches automatically at the end.

sibblegp commented 6 years ago

I have this same issue. Wish this project was still maintained.