jaedb / Iris

Discover, explore and manage your music library across multiple sources with this beautiful web-based interface. Iris is a Mopidy frontend extension.
Apache License 2.0
1.14k stars 132 forks source link

MyMusic is not populated with local library #286

Closed kdjordjev closed 6 years ago

kdjordjev commented 6 years ago

Expected behavior

Expect Artist/Album/Tracks to be populated with the metadata from the local files

Actual behavior

All items under My Music empty within the interface. I am only able to browse the library through the Browse/Local Media button. I can play the media from there without an issue

Steps to replicate

1. 2.

Tested environment(s)

Operating systems affected

Browsers affected

Screen sizes affected

Additional details, debug data, logs, etc

Before you submit

[core] cache_dir = /var/cache/mopidy config_dir = /etc/mopidy data_dir = /var/lib/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 = /var/log/mopidy/mopidy-debug.log config_file = /etc/mopidy/logging.conf

[audio] mixer = software mixer_volume = output = lamemp3enc ! shout2send mount=mopidy.mp3 ip=127.0.0.1 port=8000 password= buffer_time =

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

[tunein] enabled = true timeout = 5000

[scrobbler] enabled = true username = password =

[pandora] enabled = true api_host = tuner.pandora.com/services/json/ partner_encryption_key = 6#26FRL$ZWD partner_decryption_key = R=U!LH$O2B# partner_username = android partner_password = AC7IBG09A3DTSYM4R41UJWL07VLN8JI7 partner_device = android-generic username = password = preferred_audio_quality = highQuality sort_order = a-z auto_setup = true cache_time_to_live = 86400 event_support_enabled = false double_click_interval = 2.50 on_pause_resume_click = thumbs_up on_pause_next_click = thumbs_down on_pause_previous_click = sleep on_pause_resume_pause_click = delete_station

[moped] enabled = true

[local-images] enabled = true library = json base_uri = /images/ image_dir = album_art_files = .jpg .jpeg *.png

[iris] enabled = true country = US locale = en_US spotify_authorization_url = https://jamesbarnsley.co.nz/auth_spotify.php lastfm_authorization_url = https://jamesbarnsley.co.nz/auth_lastfm.php snapcast_enabled = false snapcast_host = localhost snapcast_port = 1705

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

[http] enabled = true hostname = 0.0.0.0 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 = /var/lib/mopidy/playlists

[softwaremixer] enabled = true

[file] enabled = true media_dirs = /mnt/Music excluded_file_extensions = show_dotfiles = false follow_symlinks = false metadata_timeout = 1000

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

[spotify] enabled = false ; Extension disabled due to config errors. username = ; Must be set. password = ; Must be set. client_id = ; Must be set. client_secret = ; Must be set. bitrate = 160 volume_normalization = true private_session = false timeout = 10 allow_cache = true allow_network = true allow_playlists = true search_album_count = 20 search_artist_count = 10 search_track_count = 50 toplist_countries =

jaedb commented 6 years ago

Do you see any errors in your browser? If you enable Test mode (Settings > Debug > Test mode) you'll get more verbose output.

It might sound like a silly question, but have you got All selected in your Sources dropdown?

kdjordjev commented 6 years ago

Hello @jaedb Thanks for your reply. Yes i did select "All sources" I enabled the "Debug" option as you suggested and Overlay the data (see below) It reports "0" for the Artists, etc.

Sorry i am new to this... What do i need to do to enable it? I did run "sudo mopidyctl local scan" to scan the files. anything else i can do? Appreciate your time

image

burnbabyburn commented 6 years ago

Tested with Iris 3.18 and 3.19 and can confirm this issue

local media is found by mopidy but not displayed in Iris. Music can be accessed through "browse->local media" only. I also tried searching local music in the artist or album category and got an empty result

jaedb commented 6 years ago

The Debug info panel shows the state of the asset indexes (ie how many records are loaded for each), so it isn't an indication of how many records should have been loaded. Open Discover > New releases (if Spotify is enabled) and you'll see the Albums counter will start growing as these are loaded.

Can you please navigate to My Music > Browse > Local Media > Albums and paste the full URL? It may be possible that the URL structure has been changed (either in your local config, or by an updated to Mopidy-Local), breaking this view.

kdjordjev commented 6 years ago

i changed the local library from default JASON to SQL-light and everything is functional now Thanks