Closed Hajuskin closed 1 year ago
The uri is calculated automatically and can‘t be overridden. I think this should be improved. Your setup and setups with a reverse proxy breaks this feature. A config option should be added.
With above commit you can configure the uri, with the mympd_uri
config option, it defaults to auto
.
echo "http://<mympd host>:<mympd port>" > /var/lib/mympd/config/mympd_uri
And restart myMPD.
Please test.
I can't get the devel branch docker image to work ...
myMPD gets stuck on splash screen (Initialisiere myMPD). For a very short time there is a error message showing up when reloading the page:
JavaScript error: Uncaught TyoeErr: cannot read properties of undefined (reading 'filter')
((https://192.168.1.3:8084/js/combined.js: 7)
The log doesn't seem to show any error:
2023-01-10T20:55:36.935448576Z DEBUG mympd myMPD started as user id 0
2023-01-10T20:55:36.939884139Z NOTICE mympd Cache dir: "/var/cache/mympd" created
2023-01-10T20:55:36.939901910Z DEBUG mympd Checking ownership of "/var/cache/mympd"
2023-01-10T20:55:36.939905347Z INFO mympd Changed ownership of "/var/cache/mympd" to "mympd"
2023-01-10T20:55:36.939908617Z NOTICE mympd Work dir: "/var/lib/mympd"
2023-01-10T20:55:36.939910932Z DEBUG mympd Checking ownership of "/var/lib/mympd"
2023-01-10T20:55:36.939913186Z NOTICE mympd Config dir: "/var/lib/mympd/config"
2023-01-10T20:55:36.939915455Z DEBUG mympd Checking ownership of "/var/lib/mympd/config"
2023-01-10T20:55:36.939917712Z INFO mympd Got environment variable "MYMPD_LOGLEVEL" with value "7"
2023-01-10T20:55:36.939920052Z DEBUG mympd Read 7 bytes from file
2023-01-10T20:55:36.939922299Z DEBUG mympd State http_host: 0.0.0.0
2023-01-10T20:55:36.939924519Z DEBUG mympd Read 4 bytes from file
2023-01-10T20:55:36.939926983Z DEBUG mympd State http_port: 8085
2023-01-10T20:55:36.939929228Z DEBUG mympd Read 4 bytes from file
2023-01-10T20:55:36.939931405Z DEBUG mympd State ssl: true
2023-01-10T20:55:36.939933573Z DEBUG mympd Read 4 bytes from file
2023-01-10T20:55:36.939935728Z DEBUG mympd State ssl_port: 8084
2023-01-10T20:55:36.939937889Z DEBUG mympd Read 0 bytes from file
2023-01-10T20:55:36.939940036Z DEBUG mympd State ssl_san:
2023-01-10T20:55:36.939942197Z DEBUG mympd Read 5 bytes from file
2023-01-10T20:55:36.939944371Z DEBUG mympd State custom_cert: false
2023-01-10T20:55:36.939946544Z DEBUG mympd Read 0 bytes from file
2023-01-10T20:55:36.939948770Z DEBUG mympd State pin_hash:
2023-01-10T20:55:36.942105982Z DEBUG mympd Read 0 bytes from file
2023-01-10T20:55:36.942117843Z DEBUG mympd State acl:
2023-01-10T20:55:36.942120839Z DEBUG mympd Read 12 bytes from file
2023-01-10T20:55:36.942123323Z DEBUG mympd State scriptacl: +127.0.0.0/8
2023-01-10T20:55:36.942125646Z DEBUG mympd Read 3 bytes from file
2023-01-10T20:55:36.942137508Z DEBUG mympd State lualibs: all
2023-01-10T20:55:36.942140267Z DEBUG mympd Read 2 bytes from file
2023-01-10T20:55:36.942155548Z DEBUG mympd State covercache_keep_days: 31
2023-01-10T20:55:36.942157765Z DEBUG mympd Read 1 bytes from file
2023-01-10T20:55:36.942159992Z DEBUG mympd State loglevel: 5
2023-01-10T20:55:36.942162168Z DEBUG mympd Read 23 bytes from file
2023-01-10T20:55:36.942164387Z DEBUG mympd State mympd_uri: http://192.168.1.3:8085
2023-01-10T20:55:36.942166796Z INFO mympd Got environment variable "MYMPD_LOGLEVEL" with value "7"
2023-01-10T20:55:36.942177765Z NOTICE mympd Setting loglevel to DEBUG
2023-01-10T20:55:36.942180228Z NOTICE mympd Starting myMPD 10.2.0
2023-01-10T20:55:36.942182399Z INFO mympd Libmympdclient 1.0.17 based on libmpdclient 2.21.0
2023-01-10T20:55:36.942184648Z INFO mympd Mongoose 7.8
2023-01-10T20:55:36.942186816Z INFO mympd Lua 5.4.4
2023-01-10T20:55:36.942188982Z INFO mympd Libid3tag 0.16.2
2023-01-10T20:55:36.942191243Z INFO mympd FLAC 12.0.0
2023-01-10T20:55:36.942193415Z INFO mympd OpenSSL 3.0.7 1 Nov 2022
2023-01-10T20:55:36.942195634Z DEBUG mympd Setting dns server to udp://192.168.1.3:53
2023-01-10T20:55:36.942197900Z NOTICE mympd Listening on http://0.0.0.0:8085
2023-01-10T20:55:36.942206330Z NOTICE mympd Listening on https://0.0.0.0:8084
2023-01-10T20:55:36.942208924Z NOTICE mympd Serving files from "/var/lib/mympd/empty"
2023-01-10T20:55:36.942211242Z NOTICE mympd Dropping privileges to user "mympd"
2023-01-10T20:55:36.942532669Z NOTICE mympd SSL cert dir: "/var/lib/mympd/ssl"
2023-01-10T20:55:36.945955361Z NOTICE mympd CA certificate and private key found
2023-01-10T20:55:36.945969195Z DEBUG mympd Certificate /var/lib/mympd/ssl/ca.pem expires in 3635 days
2023-01-10T20:55:36.947899591Z NOTICE mympd Server certificate and private key found
2023-01-10T20:55:36.947911793Z DEBUG mympd Certificate /var/lib/mympd/ssl/server.pem expires in 350 days
2023-01-10T20:55:36.948168286Z NOTICE mympd Empty dir: "/var/lib/mympd/empty"
2023-01-10T20:55:36.948472843Z NOTICE mympd Pics dir: "/var/lib/mympd/pics"
2023-01-10T20:55:36.948716163Z NOTICE mympd Backgrounds dir: "/var/lib/mympd/pics/backgrounds"
2023-01-10T20:55:36.949762330Z NOTICE mympd Thumbnails dir: "/var/lib/mympd/pics/thumbs"
2023-01-10T20:55:36.949774048Z NOTICE mympd Scripts dir: "/var/lib/mympd/scripts"
2023-01-10T20:55:36.949777478Z NOTICE mympd Smartpls dir: "/var/lib/mympd/smartpls"
2023-01-10T20:55:36.949780104Z NOTICE mympd State dir: "/var/lib/mympd/state"
2023-01-10T20:55:36.949782622Z NOTICE mympd Default partition dir: "/var/lib/mympd/state/default"
2023-01-10T20:55:36.949852861Z NOTICE mympd Tags cache dir: "/var/lib/mympd/tags"
2023-01-10T20:55:36.950024675Z NOTICE mympd Webradio dir: "/var/lib/mympd/webradios"
2023-01-10T20:55:36.950133409Z NOTICE mympd Covercache dir: "/var/cache/mympd/covercache" created
2023-01-10T20:55:36.950204471Z NOTICE mympd Webradiodb cache dir: "/var/cache/mympd/webradiodb" created
2023-01-10T20:55:36.950209493Z NOTICE mympd Starting mympd api thread
2023-01-10T20:55:36.950259064Z NOTICE mympd Starting webserver thread
2023-01-10T20:55:36.950334804Z NOTICE mympd myMPD is ready
2023-01-10T20:55:36.950407390Z DEBUG webserver Using certificate: /var/lib/mympd/ssl/server.pem
2023-01-10T20:55:36.950414910Z DEBUG webserver Using private key: /var/lib/mympd/ssl/server.key
2023-01-10T20:55:36.951479036Z NOTICE mympdapi Reading global states
2023-01-10T20:55:36.951557129Z DEBUG mympdapi Read 15 bytes from file
2023-01-10T20:55:36.951629884Z DEBUG mympdapi State mpd_host: /run/mpd/socket
2023-01-10T20:55:36.952023565Z DEBUG mympdapi Read 4 bytes from file
2023-01-10T20:55:36.952132179Z DEBUG mympdapi State mpd_port: 6600
2023-01-10T20:55:36.952260495Z DEBUG mympdapi Read 0 bytes from file
2023-01-10T20:55:36.952359340Z DEBUG mympdapi State mpd_pass:
2023-01-10T20:55:36.952524378Z DEBUG mympdapi Read 4 bytes from file
2023-01-10T20:55:36.952648938Z DEBUG mympdapi State mpd_binarylimit: 8192
2023-01-10T20:55:36.952832181Z DEBUG mympdapi Read 5 bytes from file
2023-01-10T20:55:36.952904533Z DEBUG mympdapi State mpd_timeout: 30000
2023-01-10T20:55:36.953062854Z DEBUG mympdapi Read 5 bytes from file
2023-01-10T20:55:36.953167225Z DEBUG mympdapi State mpd_keepalive: false
2023-01-10T20:55:36.953325561Z DEBUG mympdapi Read 34 bytes from file
2023-01-10T20:55:36.953453776Z DEBUG mympdapi State tag_list: Artist,Album,Title,Track,Date,Disc
2023-01-10T20:55:36.953602422Z DEBUG mympdapi Read 23 bytes from file
2023-01-10T20:55:36.953746179Z DEBUG mympdapi State tag_list_search: Artist,Album,Title,Date
2023-01-10T20:55:36.953947927Z DEBUG mympdapi Read 23 bytes from file
2023-01-10T20:55:36.954022194Z DEBUG mympdapi State tag_list_browse: Artist,Album,Title,Date
2023-01-10T20:55:36.954144707Z DEBUG mympdapi Read 5 bytes from file
2023-01-10T20:55:36.954267670Z DEBUG mympdapi State smartpls: false
2023-01-10T20:55:36.954401190Z DEBUG mympdapi Read 0 bytes from file
2023-01-10T20:55:36.954513074Z DEBUG mympdapi State smartpls_sort:
2023-01-10T20:55:36.954659586Z DEBUG mympdapi Read 10 bytes from file
2023-01-10T20:55:36.954777253Z DEBUG mympdapi State smartpls_prefix: myMPDsmart
2023-01-10T20:55:36.954949448Z DEBUG mympdapi Read 5 bytes from file
2023-01-10T20:55:36.955056842Z DEBUG mympdapi State smartpls_interval: 14400
2023-01-10T20:55:36.955209125Z DEBUG mympdapi Read 0 bytes from file
2023-01-10T20:55:36.955333621Z DEBUG mympdapi State smartpls_generate_tag_list: Genre
2023-01-10T20:55:36.955479799Z DEBUG mympdapi Read 3 bytes from file
2023-01-10T20:55:36.955600845Z DEBUG mympdapi State last_played_count: 200
2023-01-10T20:55:36.955767058Z DEBUG mympdapi Read 43 bytes from file
2023-01-10T20:55:36.955908512Z DEBUG mympdapi State cols_queue_current: ["Pos","Title","Artist","Album","Duration"]
2023-01-10T20:55:36.956048235Z DEBUG mympdapi Read 37 bytes from file
2023-01-10T20:55:36.956255782Z DEBUG mympdapi State cols_search: ["Title","Artist","Album","Duration"]
2023-01-10T20:55:36.956305339Z DEBUG mympdapi Read 31 bytes from file
2023-01-10T20:55:36.956420867Z DEBUG mympdapi State cols_browse_database_album_detail_info: ["Album","AlbumArtist","Genre"]
2023-01-10T20:55:36.956557227Z DEBUG mympdapi Read 28 bytes from file
2023-01-10T20:55:36.956666418Z DEBUG mympdapi State cols_browse_database_album_detail: ["Track","Title","Duration"]
2023-01-10T20:55:36.956812587Z DEBUG mympdapi Read 23 bytes from file
2023-01-10T20:55:36.956930532Z DEBUG mympdapi State cols_browse_database_album_list: ["Album","AlbumArtist"]
2023-01-10T20:55:36.957115182Z DEBUG mympdapi Read 43 bytes from file
2023-01-10T20:55:36.957228150Z DEBUG mympdapi State cols_browse_playlist_detail: ["Pos","Title","Artist","Album","Duration"]
2023-01-10T20:55:36.957370471Z DEBUG mympdapi Read 43 bytes from file
2023-01-10T20:55:36.957475797Z DEBUG mympdapi State cols_browse_filesystem: ["Pos","Title","Artist","Album","Duration"]
2023-01-10T20:55:36.957609564Z DEBUG mympdapi Read 45 bytes from file
2023-01-10T20:55:36.957796269Z DEBUG mympdapi State cols_playback: ["Artist","Album","Duration","Lyrics","Date"]
2023-01-10T20:55:36.957907142Z DEBUG mympdapi Read 45 bytes from file
2023-01-10T20:55:36.958038190Z DEBUG mympdapi State cols_queue_last_played: ["Pos","Title","Artist","Album","LastPlayed"]
2023-01-10T20:55:36.958169866Z DEBUG mympdapi Read 32 bytes from file
2023-01-10T20:55:36.958310580Z DEBUG mympdapi State cols_queue_jukebox: ["Pos","Title","Artist","Album"]
2023-01-10T20:55:36.958433783Z DEBUG mympdapi Read 37 bytes from file
2023-01-10T20:55:36.958565322Z DEBUG mympdapi State cols_browse_radio_webradiodb: ["Name","Country","Language","Genre"]
2023-01-10T20:55:36.958694720Z DEBUG mympdapi Read 36 bytes from file
2023-01-10T20:55:36.958826411Z DEBUG mympdapi State cols_browse_radio_radiobrowser: ["name","country","language","tags"]
2023-01-10T20:55:36.958955907Z DEBUG mympdapi Read 12 bytes from file
2023-01-10T20:55:36.959095111Z DEBUG mympdapi State coverimage_names: cover,folder
2023-01-10T20:55:36.959221680Z DEBUG mympdapi Read 18 bytes from file
2023-01-10T20:55:36.959363550Z DEBUG mympdapi State thumbnail_names: cover-sm,folder-sm
2023-01-10T20:55:36.959507902Z DEBUG mympdapi Read 6 bytes from file
2023-01-10T20:55:36.959648354Z DEBUG mympdapi State music_directory: /music
2023-01-10T20:55:36.959791397Z DEBUG mympdapi Read 10 bytes from file
2023-01-10T20:55:36.959919731Z DEBUG mympdapi State playlist_directory: /playlists
2023-01-10T20:55:36.960094192Z DEBUG mympdapi Read 11 bytes from file
2023-01-10T20:55:36.960254226Z DEBUG mympdapi State booklet_name: booklet.pdf
2023-01-10T20:55:36.960363354Z DEBUG mympdapi Read 1 bytes from file
2023-01-10T20:55:36.960468470Z DEBUG mympdapi State volume_min: 0
2023-01-10T20:55:36.960623227Z DEBUG mympdapi Read 3 bytes from file
2023-01-10T20:55:36.960793429Z DEBUG mympdapi State volume_max: 100
2023-01-10T20:55:36.960904645Z DEBUG mympdapi Read 1 bytes from file
2023-01-10T20:55:36.961146566Z DEBUG mympdapi State volume_step: 5
2023-01-10T20:55:36.961349141Z DEBUG mympdapi Read 969 bytes from file
2023-01-10T20:55:36.961553547Z DEBUG mympdapi State webui_settings: {"clickSong":"appendPlay","clickRadiobrowser":"replacePlay","clickRadioFavorites":"replacePlay","clickQueueSong":"play","clickPlaylist":"replacePlay","clickFilesystemPlaylist":"view","clickQuickPlay":"replacePlay","notificationPlayer":false,"notificationQueue":true,"notificationGeneral":true,"notificationDatabase":true,"notificationPlaylist":true,"notificationScript":true,"notifyPage":true,"notifyWeb":false,"mediaSession":false,"uiFooterQueueSettings":true,"uiFooterPlaybackControls":"both","uiMaxElementsPerPage":100,"uiSmallWidthTagRows":true,"uiQuickPlayButton":true,"uiQuickRemoveButton":false,"enableHome":true,"enableScripting":true,"enableTrigger":true,"enableTimer":true,"enableMounts":true,"enablePartitions":false,"uiTheme":"theme-dark","uiThumbnailSize":175,"uiBgColor":"#060708","uiBgImage":"","uiBgCover":true,"uiBgCssFilter":"grayscale(100%) opacity(20%)","uiLocale":"default","uiStartupView":"Playback","enableLyrics":true,"enableLocalPlayback":true}
2023-01-10T20:55:36.961871039Z DEBUG mympdapi Read 3 bytes from file
2023-01-10T20:55:36.962066746Z DEBUG mympdapi State lyrics_uslt_ext: txt
2023-01-10T20:55:36.962231727Z DEBUG mympdapi Read 3 bytes from file
2023-01-10T20:55:36.962478790Z DEBUG mympdapi State lyrics_sylt_ext: lrc
2023-01-10T20:55:36.962753518Z DEBUG mympdapi Read 6 bytes from file
2023-01-10T20:55:36.962880995Z DEBUG mympdapi State lyrics_vorbis_uslt: LYRICS
2023-01-10T20:55:36.963152999Z DEBUG mympdapi Read 12 bytes from file
2023-01-10T20:55:36.963284940Z DEBUG mympdapi State lyrics_vorbis_sylt: SYNCEDLYRICS
2023-01-10T20:55:36.963441747Z DEBUG mympdapi Read 0 bytes from file
2023-01-10T20:55:36.963704043Z DEBUG mympdapi State listenbrainz_token:
2023-01-10T20:55:36.964005364Z DEBUG mympdapi Read 312 bytes from file
2023-01-10T20:55:36.964242446Z DEBUG mympdapi State navbar_icons: [{"ligature":"home","title":"Home","options":["Home"]},{"ligature":"equalizer","title":"Playback","options":["Playback"]},{"ligature":"queue_music","title":"Queue","options":["Queue"]},{"ligature":"library_music","title":"Browse","options":["Browse"]},{"ligature":"search","title":"Search","options":["Search"]}]
2023-01-10T20:55:36.964258153Z NOTICE mympdapi "default": Reading partition states from directory "/var/lib/mympd/state/default"
2023-01-10T20:55:36.964560509Z DEBUG mympdapi Read 5 bytes from file
2023-01-10T20:55:36.964857620Z DEBUG mympdapi State auto_play: false
2023-01-10T20:55:36.964969608Z DEBUG mympdapi Read 1 bytes from file
2023-01-10T20:55:36.965160644Z DEBUG mympdapi State jukebox_mode: 0
2023-01-10T20:55:36.965293687Z DEBUG mympdapi Read 8 bytes from file
2023-01-10T20:55:36.965545224Z DEBUG mympdapi State jukebox_playlist: Database
2023-01-10T20:55:36.965821742Z DEBUG mympdapi Read 1 bytes from file
2023-01-10T20:55:36.965943736Z DEBUG mympdapi State jukebox_queue_length: 1
2023-01-10T20:55:36.966103927Z DEBUG mympdapi Read 2 bytes from file
2023-01-10T20:55:36.966306545Z DEBUG mympdapi State jukebox_last_played: 24
2023-01-10T20:55:36.966900485Z DEBUG mympdapi Read 1 bytes from file
2023-01-10T20:55:36.967096863Z DEBUG mympdapi State jukebox_unique_tag: 0
2023-01-10T20:55:36.967225548Z DEBUG mympdapi Read 5 bytes from file
2023-01-10T20:55:36.967457043Z DEBUG mympdapi State jukebox_ignore_hated: false
2023-01-10T20:55:36.967764851Z DEBUG mympdapi Read 7 bytes from file
2023-01-10T20:55:36.967907869Z DEBUG mympdapi State highlight_color: #61aa09
2023-01-10T20:55:36.968171448Z DEBUG mympdapi Read 4 bytes from file
2023-01-10T20:55:36.968288943Z DEBUG mympdapi State mpd_stream_port: 8088
2023-01-10T20:55:36.968452432Z DEBUG mympdapi Read 0 bytes from file
2023-01-10T20:55:36.968585908Z DEBUG mympdapi State stream_uri:
2023-01-10T20:55:36.968881339Z INFO mympdapi Read 4 home icon(s) from disc
2023-01-10T20:55:36.969151823Z INFO mympdapi Read 0 timer(s) from disc
2023-01-10T20:55:36.969431496Z INFO mympdapi Read 0 triggers(s) from disc
2023-01-10T20:55:36.969438967Z INFO mympdapi Reading caches from disc
2023-01-10T20:55:36.969593097Z DEBUG mympdapi Read 50 bytes from file
2023-01-10T20:55:36.969869991Z DEBUG mympdapi AlbumArtist for uri "H/Herb Alpert & The Tijuana Brass/1965 - !!Going Places!!/01 Tijuana Taxi.mp3" is empty, falling back to Artist
2023-01-10T20:55:36.969884352Z DEBUG mympdapi AlbumArtist for uri "J/J.J. Cale/1983 - #8/01 Money Talks.mp3" is empty, falling back to Artist
.
.
.
2023-01-10T20:55:39.635027058Z DEBUG mpdworker AlbumArtist for uri "Ю/Юрий Визбор/1973 - Коллекционное издание/01 Милая Моя.mp3" is empty, falling back to Artist
2023-01-10T20:55:39.635029687Z DEBUG mpdworker AlbumArtist for uri "Ю/Юрий Визбор/1977 - Концерт В ДК Москворечье/08 Ты у меня одна.mp3" is empty, falling back to Artist
2023-01-10T20:55:39.635032265Z INFO mpdworker Added 6155 albums to album cache
2023-01-10T20:55:39.635034492Z WARN mpdworker Skipped 1 songs for album cache
2023-01-10T20:55:39.635036688Z INFO mpdworker Added 0 songs to sticker cache
2023-01-10T20:55:39.635038874Z INFO mpdworker Cache updated successfully
2023-01-10T20:55:39.635041780Z DEBUG mpdworker Push websocket notify to queue: "{"jsonrpc":"2.0","method":"notify","params":{"facility":"database","severity":"info","message":"Updated album cache","data":{}}}"
2023-01-10T20:55:39.635044835Z INFO mpdworker Saving album cache
2023-01-10T20:55:39.660988507Z INFO mpdworker Skipped sticker cache creation, stickers are disabled
2023-01-10T20:55:39.661008528Z DEBUG mpdworker Push websocket notify to queue: "{"jsonrpc":"2.0","method":"update_cache_finished","params":{}}"
2023-01-10T20:55:39.661011843Z INFO mpdworker "default": Disconnecting from mpd
2023-01-10T20:55:39.661014211Z NOTICE mpdworker Stopping mpd_worker thread
2023-01-10T20:55:39.661016424Z DEBUG mpdworker Sticker cache is NULL not freeing anything
2023-01-10T20:55:39.661018648Z DEBUG mpdworker Album cache is NULL not freeing anything
2023-01-10T20:55:39.673638312Z DEBUG webserver Got websocket notify
2023-01-10T20:55:39.673751179Z DEBUG webserver No websocket client connected, discarding message: {"jsonrpc":"2.0","method":"notify","params":{"facility":"database","severity":"info","message":"Updated album cache","data":{}}}
2023-01-10T20:55:39.724087948Z DEBUG webserver Got websocket notify
2023-01-10T20:55:39.724119044Z DEBUG webserver No websocket client connected, discarding message: {"jsonrpc":"2.0","method":"update_cache_finished","params":{}}
2023-01-10T20:55:39.739216282Z DEBUG mympdapi "default": Leaving mpd idle mode
2023-01-10T20:55:39.739297768Z DEBUG mympdapi "default": Handle API request "INTERNAL_API_ALBUMCACHE_CREATED"
2023-01-10T20:55:39.739337349Z DEBUG mympdapi "default": MYMPD API request (-1)(0) INTERNAL_API_ALBUMCACHE_CREATED: {"jsonrpc":"2.0","id":0,"method":"INTERNAL_API_ALBUMCACHE_CREATED","params":{}}
2023-01-10T20:55:39.739349189Z INFO mympdapi Clearing jukebox queues
2023-01-10T20:55:39.739356558Z DEBUG mympdapi Freeing album cache
2023-01-10T20:55:39.754519285Z INFO mympdapi Album cache was replaced
2023-01-10T20:55:39.754567143Z DEBUG mympdapi "default": Entering mpd idle mode
2023-01-10T20:55:39.905407477Z DEBUG mympdapi "default": Leaving mpd idle mode
2023-01-10T20:55:39.905516186Z DEBUG mympdapi "default": Handle API request "INTERNAL_API_STICKERCACHE_SKIPPED"
2023-01-10T20:55:39.905535043Z DEBUG mympdapi "default": MYMPD API request (-1)(0) INTERNAL_API_STICKERCACHE_SKIPPED: {"jsonrpc":"2.0","id":0,"method":"INTERNAL_API_STICKERCACHE_SKIPPED","params":{}}
2023-01-10T20:55:39.905549269Z DEBUG mympdapi "default": Entering mpd idle mode
2023-01-10T20:55:40.461155146Z DEBUG webserver New connection id "3" from [0:0:0:0:0:0:0:0]:54640, connections: 3
2023-01-10T20:55:40.461218229Z DEBUG webserver Init tls with cert "/var/lib/mympd/ssl/server.pem" and key "/var/lib/mympd/ssl/server.key" for connection "3"
2023-01-10T20:55:40.471254414Z INFO webserver HTTP request (3): GET /ws/default
2023-01-10T20:55:40.471384654Z INFO webserver "default": New Websocket connection established (3)
2023-01-10T20:55:40.486269316Z DEBUG webserver New connection id "4" from [0:0:0:0:0:0:0:0]:54641, connections: 4
2023-01-10T20:55:40.486328390Z DEBUG webserver Init tls with cert "/var/lib/mympd/ssl/server.pem" and key "/var/lib/mympd/ssl/server.key" for connection "4"
2023-01-10T20:55:40.507140213Z INFO webserver HTTP request (4): POST /api/default
2023-01-10T20:55:40.507201201Z DEBUG webserver "default": API request (4): {"jsonrpc":"2.0","id":0,"method":"MYMPD_API_PLAYER_STATE","params":{}}
2023-01-10T20:55:40.507217474Z INFO webserver "default": API request (4): MYMPD_API_PLAYER_STATE
2023-01-10T20:55:40.509759492Z DEBUG mympdapi "default": Leaving mpd idle mode
2023-01-10T20:55:40.509848255Z DEBUG mympdapi "default": Handle API request "MYMPD_API_PLAYER_STATE"
2023-01-10T20:55:40.509865778Z DEBUG mympdapi "default": MYMPD API request (4)(0) MYMPD_API_PLAYER_STATE: {"jsonrpc":"2.0","id":0,"method":"MYMPD_API_PLAYER_STATE","params":{}}
2023-01-10T20:55:40.510677614Z DEBUG mympdapi Now 1673384140, start time 1673383841, scrobble time 0, end time 1673384148
2023-01-10T20:55:40.510720457Z DEBUG mympdapi "default": Push response to web_server_queue for connection 4: {"jsonrpc":"2.0","id":0,"result":{"method":"MYMPD_API_PLAYER_STATE","state":"pause","volume":53,"songPos":1510,"elapsedTime":299,"totalTime":307,"currentSongId":1511,"kbitrate":0,"queueLength":1895,"queueVersion":2,"nextSongPos":876,"nextSongId":877,"lastSongId":-1,"partition":"default","AudioFormat":{"sampleRate":44100,"bits":24,"channels":2},"updateState":0,"updateCacheState":false,"lastError":""}}
2023-01-10T20:55:40.510774938Z DEBUG mympdapi "default": Entering mpd idle mode
2023-01-10T20:55:40.557873436Z DEBUG webserver "default": Got API response for id "4"
2023-01-10T20:55:40.557937386Z DEBUG webserver "default": Sending response to conn_id 4 (length: 403): {"jsonrpc":"2.0","id":0,"result":{"method":"MYMPD_API_PLAYER_STATE","state":"pause","volume":53,"songPos":1510,"elapsedTime":299,"totalTime":307,"currentSongId":1511,"kbitrate":0,"queueLength":1895,"queueVersion":2,"nextSongPos":876,"nextSongId":877,"lastSongId":-1,"partition":"default","AudioFormat":{"sampleRate":44100,"bits":24,"channels":2},"updateState":0,"updateCacheState":false,"lastError":""}}
2023-01-10T20:55:40.557961092Z DEBUG webserver Sending 403 bytes to 4
2023-01-10T20:55:40.578519285Z INFO webserver HTTP request (4): POST /api/default
2023-01-10T20:55:40.578586244Z DEBUG webserver "default": API request (4): {"jsonrpc":"2.0","id":0,"method":"MYMPD_API_SETTINGS_GET","params":{}}
2023-01-10T20:55:40.578606144Z INFO webserver "default": API request (4): MYMPD_API_SETTINGS_GET
2023-01-10T20:55:40.661379358Z DEBUG mympdapi "default": Leaving mpd idle mode
2023-01-10T20:55:40.661429632Z DEBUG mympdapi "default": Handle API request "MYMPD_API_SETTINGS_GET"
2023-01-10T20:55:40.661442283Z DEBUG mympdapi "default": MYMPD API request (4)(0) MYMPD_API_SETTINGS_GET: {"jsonrpc":"2.0","id":0,"method":"MYMPD_API_SETTINGS_GET","params":{}}
2023-01-10T20:55:40.661850693Z DEBUG mympdapi "default": Push response to web_server_queue for connection 4: {"jsonrpc":"2.0","id":0,"result":{"method":"MYMPD_API_SETTINGS_GET","mympdVersion":"10.2.0","mpdHost":"/run/mpd/socket","mpdPort":6600,"mpdPass":"dontsetpassword","mpdTimeout":30000,"mpdKeepalive":false,"mpdBinarylimit":8192,"pin":false,"debugMode":false,"coverimageNames":"cover,folder","thumbnailNames":"cover-sm,folder-sm","loglevel":7,"smartpls":false,"smartplsSort":"","smartplsPrefix":"myMPDsmart","smartplsInterval":14400,"lastPlayedCount":200,"musicDirectory":"/music","playlistDirectory":"/playlists","bookletName":"booklet.pdf","volumeMin":0,"volumeMax":100,"volumeStep":5,"lyricsUsltExt":"txt","lyricsSyltExt":"lrc","lyricsVorbisUslt":"LYRICS","lyricsVorbisSylt":"SYNCEDLYRICS","colsQueueCurrent":["Pos","Title","Artist","Album","Duration"],"colsSearch":["Title","Artist","Album","Duration"],"colsBrowseDatabaseAlbumDetailInfo":["Album","AlbumArtist","Genre"],"colsBrowseDatabaseAlbumDetail":["Track","Title","Duration"],"colsBr...
2023-01-10T20:55:40.661863154Z DEBUG mympdapi "default": Entering mpd idle mode
2023-01-10T20:55:40.681064314Z DEBUG webserver "default": Got API response for id "4"
2023-01-10T20:55:40.681123501Z DEBUG webserver "default": Sending response to conn_id 4 (length: 4273): {"jsonrpc":"2.0","id":0,"result":{"method":"MYMPD_API_SETTINGS_GET","mympdVersion":"10.2.0","mpdHost":"/run/mpd/socket","mpdPort":6600,"mpdPass":"dontsetpassword","mpdTimeout":30000,"mpdKeepalive":false,"mpdBinarylimit":8192,"pin":false,"debugMode":false,"coverimageNames":"cover,folder","thumbnailNames":"cover-sm,folder-sm","loglevel":7,"smartpls":false,"smartplsSort":"","smartplsPrefix":"myMPDsmart","smartplsInterval":14400,"lastPlayedCount":200,"musicDirectory":"/music","playlistDirectory":"/playlists","bookletName":"booklet.pdf","volumeMin":0,"volumeMax":100,"volumeStep":5,"lyricsUsltExt":"txt","lyricsSyltExt":"lrc","lyricsVorbisUslt":"LYRICS","lyricsVorbisSylt":"SYNCEDLYRICS","colsQueueCurrent":["Pos","Title","Artist","Album","Duration"],"colsSearch":["Title","Artist","Album","Duration"],"colsBrowseDatabaseAlbumDetailInfo":["Album","AlbumArtist","Genre"],"colsBrowseDatabaseAlbumDetail":["Track","Title","Duration"],"colsBrowseDa...
2023-01-10T20:55:40.681183833Z DEBUG webserver Sending 4273 bytes to 4
2023-01-10T20:55:40.689828975Z INFO webserver HTTP connection 3 closed
2023-01-10T20:55:40.707660735Z INFO webserver HTTP request (4): GET /
2023-01-10T20:55:40.758303187Z INFO webserver HTTP request (4): GET /css/combined.css
2023-01-10T20:55:40.762569629Z DEBUG webserver New connection id "5" from [0:0:0:0:0:0:0:0]:54642, connections: 4
2023-01-10T20:55:40.762624590Z DEBUG webserver Init tls with cert "/var/lib/mympd/ssl/server.pem" and key "/var/lib/mympd/ssl/server.key" for connection "5"
2023-01-10T20:55:40.768234022Z INFO webserver HTTP request (4): GET /js/combined.js
2023-01-10T20:55:40.820978826Z INFO webserver HTTP request (4): POST /api/default
2023-01-10T20:55:40.821038139Z DEBUG webserver "default": API request (4): {"jsonrpc":"2.0","id":0,"method":"MYMPD_API_SETTINGS_GET","params":{}}
2023-01-10T20:55:40.821054802Z INFO webserver "default": API request (4): MYMPD_API_SETTINGS_GET
2023-01-10T20:55:40.963470845Z DEBUG mympdapi "default": Leaving mpd idle mode
2023-01-10T20:55:40.963608090Z DEBUG mympdapi "default": Handle API request "MYMPD_API_SETTINGS_GET"
2023-01-10T20:55:40.963660032Z DEBUG mympdapi "default": MYMPD API request (4)(0) MYMPD_API_SETTINGS_GET: {"jsonrpc":"2.0","id":0,"method":"MYMPD_API_SETTINGS_GET","params":{}}
2023-01-10T20:55:40.965503831Z DEBUG mympdapi "default": Push response to web_server_queue for connection 4: {"jsonrpc":"2.0","id":0,"result":{"method":"MYMPD_API_SETTINGS_GET","mympdVersion":"10.2.0","mpdHost":"/run/mpd/socket","mpdPort":6600,"mpdPass":"dontsetpassword","mpdTimeout":30000,"mpdKeepalive":false,"mpdBinarylimit":8192,"pin":false,"debugMode":false,"coverimageNames":"cover,folder","thumbnailNames":"cover-sm,folder-sm","loglevel":7,"smartpls":false,"smartplsSort":"","smartplsPrefix":"myMPDsmart","smartplsInterval":14400,"lastPlayedCount":200,"musicDirectory":"/music","playlistDirectory":"/playlists","bookletName":"booklet.pdf","volumeMin":0,"volumeMax":100,"volumeStep":5,"lyricsUsltExt":"txt","lyricsSyltExt":"lrc","lyricsVorbisUslt":"LYRICS","lyricsVorbisSylt":"SYNCEDLYRICS","colsQueueCurrent":["Pos","Title","Artist","Album","Duration"],"colsSearch":["Title","Artist","Album","Duration"],"colsBrowseDatabaseAlbumDetailInfo":["Album","AlbumArtist","Genre"],"colsBrowseDatabaseAlbumDetail":["Track","Title","Duration"],"colsBr...
2023-01-10T20:55:40.965544918Z DEBUG mympdapi "default": Entering mpd idle mode
2023-01-10T20:55:40.972663819Z DEBUG webserver "default": Got API response for id "4"
2023-01-10T20:55:40.972760283Z DEBUG webserver "default": Sending response to conn_id 4 (length: 4273): {"jsonrpc":"2.0","id":0,"result":{"method":"MYMPD_API_SETTINGS_GET","mympdVersion":"10.2.0","mpdHost":"/run/mpd/socket","mpdPort":6600,"mpdPass":"dontsetpassword","mpdTimeout":30000,"mpdKeepalive":false,"mpdBinarylimit":8192,"pin":false,"debugMode":false,"coverimageNames":"cover,folder","thumbnailNames":"cover-sm,folder-sm","loglevel":7,"smartpls":false,"smartplsSort":"","smartplsPrefix":"myMPDsmart","smartplsInterval":14400,"lastPlayedCount":200,"musicDirectory":"/music","playlistDirectory":"/playlists","bookletName":"booklet.pdf","volumeMin":0,"volumeMax":100,"volumeStep":5,"lyricsUsltExt":"txt","lyricsSyltExt":"lrc","lyricsVorbisUslt":"LYRICS","lyricsVorbisSylt":"SYNCEDLYRICS","colsQueueCurrent":["Pos","Title","Artist","Album","Duration"],"colsSearch":["Title","Artist","Album","Duration"],"colsBrowseDatabaseAlbumDetailInfo":["Album","AlbumArtist","Genre"],"colsBrowseDatabaseAlbumDetail":["Track","Title","Duration"],"colsBrowseDa...
2023-01-10T20:55:40.972797062Z DEBUG webserver Sending 4273 bytes to 4
2023-01-10T20:55:41.011437472Z INFO webserver HTTP request (4): GET /sw.js
2023-01-10T20:55:41.017599437Z INFO webserver HTTP request (4): GET /mympd.webmanifest
2023-01-10T20:55:41.045872897Z INFO webserver HTTP request (5): GET /css/combined.css
2023-01-10T20:55:41.045931268Z INFO webserver HTTP request (4): GET /
2023-01-10T20:55:41.047928033Z DEBUG webserver New connection id "6" from [0:0:0:0:0:0:0:0]:54643, connections: 5
2023-01-10T20:55:41.047972815Z DEBUG webserver Init tls with cert "/var/lib/mympd/ssl/server.pem" and key "/var/lib/mympd/ssl/server.key" for connection "6"
2023-01-10T20:55:41.067582638Z INFO webserver HTTP request (4): GET /js/combined.js
2023-01-10T20:55:42.766865118Z INFO webserver HTTP request (4): GET /sw.js
2023-01-10T20:56:07.084201200Z DEBUG mympdapi Timer with id 2 triggered
2023-01-10T20:56:07.084268265Z INFO mympdapi Start timer_handler_smartpls_update
2023-01-10T20:56:07.134526298Z DEBUG mympdapi "default": Leaving mpd idle mode
2023-01-10T20:56:07.134622743Z DEBUG mympdapi "default": Handle API request "MYMPD_API_SMARTPLS_UPDATE_ALL"
2023-01-10T20:56:07.134642160Z DEBUG mympdapi "default": MYMPD API request (-1)(0) MYMPD_API_SMARTPLS_UPDATE_ALL: {"jsonrpc":"2.0","id":0,"method":"MYMPD_API_SMARTPLS_UPDATE_ALL","params":{"force":false}}
2023-01-10T20:56:07.134659352Z NOTICE mympdapi Starting mpd_worker thread for MYMPD_API_SMARTPLS_UPDATE_ALL
2023-01-10T20:56:07.135262778Z DEBUG mympdapi "default": Entering mpd idle mode
2023-01-10T20:56:07.135312398Z NOTICE mpdworker "default": Connecting to socket "/run/mpd/socket"
2023-01-10T20:56:07.139172306Z DEBUG mpdworker "default": No password set
2023-01-10T20:56:07.139222143Z NOTICE mpdworker "default": Connected to MPD
2023-01-10T20:56:07.139237425Z INFO mpdworker "default": Enabling keepalive
2023-01-10T20:56:07.139249583Z INFO mpdworker "default": Setting timeout to 30000 ms
2023-01-10T20:56:07.139315294Z INFO mpdworker "default": Setting interesting mpd tag types
2023-01-10T20:56:07.139466138Z INFO mpdworker MPD WORKER API request (-1)(0) MYMPD_API_SMARTPLS_UPDATE_ALL: {"jsonrpc":"2.0","id":0,"method":"MYMPD_API_SMARTPLS_UPDATE_ALL","params":{"force":false}}
2023-01-10T20:56:07.139490996Z INFO mpdworker "default": Disconnecting from mpd
2023-01-10T20:56:07.139644883Z NOTICE mpdworker Stopping mpd_worker thread
2023-01-10T20:56:07.139655562Z DEBUG mpdworker Sticker cache is NULL not freeing anything
2023-01-10T20:56:07.139659391Z DEBUG mpdworker Album cache is NULL not freeing anything
2023-01-10T20:56:37.083146127Z DEBUG mympdapi Timer with id 1 triggered
2023-01-10T20:56:37.083224367Z INFO mympdapi Start timer_handler_covercache_crop
2023-01-10T20:56:37.133778053Z DEBUG mympdapi "default": Leaving mpd idle mode
2023-01-10T20:56:37.134044910Z DEBUG mympdapi "default": Handle API request "MYMPD_API_COVERCACHE_CROP"
2023-01-10T20:56:37.134095398Z DEBUG mympdapi "default": MYMPD API request (-1)(0) MYMPD_API_COVERCACHE_CROP: {"jsonrpc":"2.0","id":0,"method":"MYMPD_API_COVERCACHE_CROP","params":{}}
2023-01-10T20:56:37.134113464Z NOTICE mympdapi Cleaning covercache "/var/cache/mympd/covercache"
2023-01-10T20:56:37.134126910Z DEBUG mympdapi Remove files older than 1670705797 sec
2023-01-10T20:56:37.134425392Z NOTICE mympdapi Deleted 0 files from covercache
2023-01-10T20:56:37.134471673Z DEBUG mympdapi "default": Entering mpd idle mode
This is a javascript error, the log can't show anything.
I can not reproduce this error. Have you tried clearing your browser cache and/or removing the settings and start a clean myMPD instance?
The javascript error can not easily debuged, because of the minification of the javascript file. I added a feature that minify release assets only for the master branch.
Please test again with the new devel container build. Error should appear again, but the error message should be better to interpret.
Fresh install, cleared browser cache, just a slightly different error message:
JavaScript error: Uncaught TypeErr: cannot read properties of undefined (reading 'filter')
((https://192.168.1.3:8084/js/combined.js: 10441)
This helps. You have disabled the AlbumArtist tag?
Fix is pushed to devel.
Looks fine with the new build! And yes, AlbumArtist is not selected in mpd.conf
Great!
myMPD version: 10.1.7
Describe the bug
First of all, I can easily avoid this by connecting to mpd by ip address, so it's not a really important problem for me. So the problem is that I can't load a webradio favorite when I'm connected to mpd via socket, it fails with "MPD error: No such playlist".
Looking at the log I can see that myMPD tries to load the webradio playlist:
In the mpd log it shows that "mympd://webradio" is substututed wirh "http://localhost:8085/browse/webradios":
Looking for the playlist on localhost fails because I'm running mpd and myMPD in different docker containers, while the socket is located on a shared volume. So I wonder if it is possible to load the playlist over the socket connection or to somehow overide localhost with mpd's actual ip address.