question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to add local tracks to local playlist

See original GitHub issue

Unable to add local tracks to local playlist

To Reproduce Steps to reproduce the behavior:

Make sure to create a new local playlist before trying to add a local track to the playlist

  1. Enable Test Mode (Settings > Debug > Test Mode).
  2. Go to β€˜Tracks’
  3. Select any track and click on β€˜β€¦β€™ next to the track name.
  4. Select ’ Add to Playlist’ and add the track to the selected playlist.
  5. Track is not added to the playlist - no error or confirmation message is returned.

Expected behavior Track is added to the local playlist

Console log

Test mode enabled, using un-minified code debug:134:11
Download the React DevTools for a better development experience: https://fb.me/react-devtools react-dom.development.js:24994
redux-persist/stateReconciler: rehydrated keys 'mopidy, lastfm, genius, google, snapcast, _persist' autoMergeLevel1.js:35:43
redux-persist/stateReconciler: rehydrated keys 'outputs, queue, queue_metadata, current_track, pinned, http_streaming_enabled, http_streaming_cachebuster, http_streaming_url, seeds_resolved, radio, current_tracklist, current_track_uri, stream_title, _persist' autoMergeLevel1.js:35:43
redux-persist/stateReconciler: rehydrated keys 'language, theme, smooth_scrolling_enabled, hotkeys_enabled, playback_controls_touch_enabled, allow_reporting, wide_scrollbar_enabled, slim_mode, suppressed_broadcasts, grid_glow_enabled, window_title, uri_schemes_search_enabled, initial_setup_complete, _persist' autoMergeLevel1.js:35:43
redux-persist/stateReconciler: rehydrated keys 'host, port, ssl, current_server, servers, mute, volume, play_state, uri_schemes, library_albums_uri, library_artists_uri, consume, random, repeat, _persist' autoMergeLevel1.js:35:43
redux-persist/stateReconciler: rehydrated keys 'country, locale, enabled, _persist' autoMergeLevel1.js:35:43
redux-persist/stateReconciler: rehydrated keys 'connected, username, client_id, version, config, connecting, commands, pinned, upgrading, _persist, connection_id' autoMergeLevel1.js:35:43
Restoring "mopidy:library:albums" and 3 items from database middleware.js:545:20
Loading more: 3 LazyLoadListener.js:51:20
"local:album:md5:7af582e4cd40f18359c0857842682c15" already in index library.js:104:14
[react-ga] ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually warn.js:2
Restoring "mopidy:library:playlists" and 1 items from database middleware.js:545:20
Uncaught (in promise) 
{…}
​
closeEvent: close { target: WebSocket, isTrusted: true, wasClean: true, … }
​
message: "WebSocket closed"
​
name: "ConnectionError"
​
stack: ""
​
<prototype>: Object { constructor: ConnectionError(message), stack: "" }

Restoring "mopidy:library:tracks" and 29 items from database middleware.js:545:20
mopidy:library:albums" already in index middleware.js:538:18
Loading more: 3 LazyLoadListener.js:51:20
"local:album:md5:7af582e4cd40f18359c0857842682c15" already in index library.js:104:14
mopidy:library:tracks" already in index middleware.js:538:18
[react-ga] ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually warn.js:2

Uncaught (in promise) 
{…}
​
closeEvent: close { target: WebSocket, isTrusted: true, wasClean: true, … }
​
message: "WebSocket closed"
​
name: "ConnectionError"
​
stack: ""
​
<prototype>: {…}
​​
constructor: ConnectionError(message)
​​​
arguments: null
​​​
caller: null
​​​
length: 1
​​​
name: ""
​​​
prototype: Object { constructor: ConnectionError(message), stack: "" }
​​​
<prototype>: function ()
​​
stack: ""
​​
<prototype>: Error.prototype
​​​
constructor: function Error()
​​​
message: ""
​​​
name: "Error"
​​​
stack: ""
​​​
toString: function toString()
​​​
<get stack()>: function stack()
​​​
<set stack()>: function stack()
​​​
<prototype>: Object { … }

[react-ga] ReactGA.initialize must be called first or GoogleAnalytics should be loaded manually warn.js:2

Uncaught (in promise) 
{…}
​
closeEvent: close
​​
bubbles: false
​​
cancelBubble: false
​​
cancelable: false
​​
code: 1005
​​
composed: false
​​
currentTarget: null
​​
defaultPrevented: false
​​
eventPhase: 0
​​
explicitOriginalTarget: WebSocket
​​​
binaryType: "blob"
​​​
bufferedAmount: 0
​​​
extensions: ""
​​​
onclose: ()
​​​​
length: 1
​​​​
name: "bound "
​​​​
<prototype>: function ()
​​​
onerror: ()
​​​​
length: 1
​​​​
name: "bound "
​​​​
<prototype>: function ()
​​​
onmessage: function ()
​​​
onopen: function ()
​​​
protocol: ""
​​​
readyState: 3
​​​
url: "ws://pirateaudio.local:6680/mopidy/ws/"
​​​
<prototype>: WebSocketPrototype { close: close(), send: send(), url: Getter, … }
​​
isTrusted: true
​​
originalTarget: WebSocket { url: "ws://pirateaudio.local:6680/mopidy/ws/", readyState: 3, bufferedAmount: 0, … }
​​
reason: ""
​​
returnValue: true
​​
srcElement: WebSocket { url: "ws://pirateaudio.local:6680/mopidy/ws/", readyState: 3, bufferedAmount: 0, … }
​​
target: WebSocket { url: "ws://pirateaudio.local:6680/mopidy/ws/", readyState: 3, bufferedAmount: 0, … }
​​
timeStamp: 568533
​​
type: "close"
​​
wasClean: true
​​
<get isTrusted()>: isTrusted()
​​​
length: 0
​​​
name: "get isTrusted"
​​​
<prototype>: function ()
​​
<prototype>: CloseEventPrototype
​​​
code: 
​​​
constructor: ()
​​​​
length: 1
​​​​
name: "CloseEvent"
​​​​
prototype: CloseEventPrototype { wasClean: Getter, code: Getter, reason: Getter, … }
​​​​
Symbol(Symbol.hasInstance): function Symbol.hasInstance()
​​​​
<prototype>: function ()
​​​
reason: 
​​​
wasClean: 
​​​
Symbol(Symbol.toStringTag): "CloseEvent"
​​​
<get code()>: function code()
​​​
<get reason()>: function reason()
​​​
<get wasClean()>: function wasClean()
​​​
<prototype>: EventPrototype { composedPath: composedPath(), stopPropagation: stopPropagation(), stopImmediatePropagation: stopImmediatePropagation(), … }
​
message: "WebSocket closed"
​
name: "ConnectionError"
​
stack: ""
​
<prototype>: {…}
​​
constructor: ConnectionError(message)
​​​
arguments: null
​​​
caller: null
​​​
length: 1
​​​
name: ""
​​​
prototype: {…}
​​​​
constructor: function ConnectionError(message)
​​​​
stack: ""
​​​​
<prototype>: Error.prototype
​​​​​
constructor: function Error()
​​​​​
message: ""
​​​​​
name: "Error"
​​​​​
stack: ""
​​​​​
toString: function toString()
​​​​​
<get stack()>: function stack()
​​​​​
<set stack()>: function stack()
​​​​​
<prototype>: Object { … }
​​​
<prototype>: ()
​​​​
apply: function apply()
​​​​
arguments: 
​​​​
bind: function bind()
​​​​
call: function call()
​​​​
caller: 
​​​​
constructor: function Function()
​​​​
length: 0
​​​​
name: ""
​​​​
toString: function toString()
​​​​
Symbol(Symbol.hasInstance): function Symbol.hasInstance()
​​​​
<get arguments()>: function arguments()
​​​​
<set arguments()>: function arguments()
​​​​
<get caller()>: function caller()
​​​​
<set caller()>: caller()
​​​​​
length: 1
​​​​​
name: "set caller"
​​​​​
<prototype>: function ()
​​​​
<prototype>: Object { … }
​​
stack: ""
​​
<prototype>: Error.prototype { stack: "", … }


Screenshots Screenshot after reloading the Playlists section to check if any tracks were added.

Screen Shot 2020-11-23 at 6 52 07 PM

Environment details:

  • OS: macOS 11.0.1 (20B29)
  • Browser Firefox 83.0 (64-bit), Safari Version 14.0.1 (16610.2.11.51.8)
  • Iris version 3.54.2

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jaedbcommented, Dec 3, 2020

Resolved in 3.55.0

0reactions
robceecommented, Nov 29, 2020

@robcee are you able to create a new issue report for that? I suspect your experience is unrelated to this issue (which occurs when a track is added to a playlist, rather than navigating to the Playlists menu).

I think so, though I’m not entirely sure how I got into this state. I will take a crack at it.

filed as issue #662.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot add some local files to a playlist
If that's the case it's a good idea to change the source of the local files. Simply create a new folder in a...
Read more >
Trouble Syncing Spotify Local Files? Here's How You Can Fix ...
Open the Spotify app on your desktop and click on the downwards arrow next to your name at the top right corner. Β·...
Read more >
Spotify Local Files Not Working: How to Fix (3 Best Methods)
Go to Spotify desktop > Choose "Settings" > Find the "Local Files" section > toggle on "Show Local Files" > Click the "ADD...
Read more >
Spotify Can't Play Local Files? Fixed! - Tunelf
Log into your Spotify account with the same WIFI connecting to your computer. Navigate to Settings > Local Files. Turn on the Enable...
Read more >
Local filed won't add to playlist : r/spotify - Reddit
I am trying to add local files from my desktop, and for some reason I can't add them to any playlist, they are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found