Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


External USB drive not detected under mOode 7.4.1
#11
(01-04-2022, 06:04 PM)Tim Curtis Wrote: The log entry below indicates MPD crashed during indexing. This would suggest some sort of resource issue, use of 64-bit kernel,  or possibly a corrupt song file or directory that caused the crash.

Code:
20220104 113427 watchdog: Error: MPD restarted (check syslog for errors)

It's not really obviously to me whats might be the cause. I have a couple of ext4 USB sticks and they work just fine.

Same here, even in an experiment with same volume label (T and J's Radio) and aarch64 kernel.

I'm not sure about the shifting target here. Ownership/Permissions were odd and are now different; the most recent post suggests the volume label has changed. Insufficient information to repro exactly.

Here's the beginning of the output from listing my test USB thumbdrive with an ext4 filesystem

Code:
pi@rpi3bplcd:~ $ ls -lR /media
/media:
total 4
drwxr-xr-x 4 pi pi 4096 Jan  4 10:24 "T and J's Radio"

"/media/T and J's Radio":
total 20
drwxrwxr-x 4 pi   pi    4096 Jan  4 10:04 GoodMusic
drwx------ 2 root root 16384 Jan  4 10:01 lost+found

"/media/T and J's Radio/GoodMusic":
total 8
drwxr-xr-x 2 pi pi 4096 Aug  8 16:15 brubeck-dave-1954-jazz-goes-to-college-side-a-blp-cr-02
drwxr-xr-x 2 pi pi 4096 Aug  8 16:17 byrd-charlie-1968-sketches-of-brazil-side-a-archive-04

"/media/T and J's Radio/GoodMusic/brubeck-dave-1954-jazz-goes-to-college-side-a-blp-cr-02":
total 293500
-rw-r--r-- 1 pi pi   758392 Aug  8 12:42 'Brubeck College cover.jpg'
-rw-r--r-- 1 pi pi 65320680 Aug  8 12:49 'Brubeck, Dave (1954) - Jazz Goes to College, side A (BLP)-cr-01.flac'
-rw-r--r-- 1 pi pi 72323791 Aug  8 12:49 'Brubeck, Dave (1954) - Jazz Goes to College, side A (BLP)-cr-02.flac'
...

Note: the permissions and ownership of the lost+found directory cause an access error when mpd tries to read it, which is of no consequence for moOde/MPD and the actual music directories.

Regards,
Kent
Reply
#12
In all my attempts to resolve the issue, I tried updating permissions and renamed the Music folder to just "Music" in case the apostrophe was causing issues.

I understand that you are referring to MPD issues, but MPD itself it working. MPD Remote (android app) pointed to my MoOde instance I can access and play my entire music library via MPD.

What else is needed for MoOde to see the MPD library when it is clearly there.

I switched to 32-bit, restarted, and ran the Update Library again (on 32-bit):

mpd log shows songs being added:

Code:
Jan 04 14:09 : update: added USB/Music/Faith No More/Sol Invictus - FLAC/06 - Rise Of The Fall.flac
Jan 04 14:09 : update: added USB/Music/Faith No More/Sol Invictus - FLAC/09 - Matador.flac
Jan 04 14:09 : update: added USB/Music/Faith No More/Sol Invictus - FLAC/08 - Motherfucker.flac
Jan 04 14:09 : update: added USB/Music/Faith No More/Sol Invictus - FLAC/04 - Separation Anxiety.flac
Jan 04 14:09 : update: added USB/Music/Faith No More/Sol Invictus - FLAC/02 - Superhero.flac
Jan 04 14:09 : update: added USB/Music/Faith No More/Sol Invictus - FLAC/03 - Sunny Side Up.flac
Jan 04 14:09 : update: added USB/Music/Faith No More/Sol Invictus - FLAC/10 - From The Dead.flac

and MoOde:
Code:
20220104 140522 worker: -- Music sources
20220104 140522 worker: USB source (Music)
20220104 140522 worker: NAS and UPnP sources (none configured)
20220104 140522 worker: -- Other
20220104 140522 worker: USB volume knob (Off)
20220104 140522 worker: Shellinabox SSH started
20220104 140522 worker: USB auto-mounter (udisks-glue)
20220104 140522 worker: LED0 (On)
20220104 140522 worker: LED1 (On)
20220104 140522 worker: Saved MPD vol level (0)
20220104 140522 worker: Preamp volume level (0)
20220104 140522 worker: MPD volume level (64) restored
20220104 140522 worker: ALSA Headphone volume (100%)
20220104 140522 worker: Auto-play (Off)
20220104 140522 worker: Maintenance interval (3 hours)
20220104 140522 worker: Screen saver activation (Never)
20220104 140522 worker: Session permissions (OK)
20220104 140522 worker: Watchdog started
20220104 140522 worker: Ready
20220104 140812 worker: Job update_library
20220104 140812 mpdindex: Start
20220104 140812 thmcache: Start
20220104 140812 thmcache: Priority: Embedded cover
20220104 140812 thmcache: Res,Qual: Auto
20220104 140812 thmcache: Px ratio: 1
20220104 140812 thmcache: Th width: 100
20220104 140812 thmcache: Thm qual: 75
20220104 140812 thmcache: Scanning: NAS, SDCARD, UPNP, Music
20220104 140826 thmcache: flac: /var/lib/mpd/music/USB/Music/Wu-Tang Clan/Wu-Tang Forever/Wu-Tang Forever (Disc 1) FLAC/11 - It's Yourz.flac
20220104 140826 thmcache: flac: Zend media exception: Not a valid FLAC bitstream
20220104 140826 thmcache: flac: /var/lib/mpd/music/USB/Music/Wu-Tang Clan/Wu-Tang Forever/Wu-Tang Forever (Disc 2) FLAC/16 - The Closing.flac
20220104 140826 thmcache: flac: Zend media exception: Not a valid FLAC bitstream
20220104 140826 thmcache: flac: /var/lib/mpd/music/USB/Music/Yngwie Malmsteen/Magnum Opus/(11) [Yngwie Malmsteen] Amberdawn.flac
20220104 140826 thmcache: flac: Zend media exception: Not a valid FLAC bitstream
20220104 140826 thmcache: Done: 968 folders scanned, 7 thumbs created, 961 already in cache.
20220104 141110 mpdindex: Done: indexed 446 artists, 953 albums, 11817 songs
20220104 141110 worker: Job update_library done


I'm still only seeing the SOMA FM Streaming Source and the single Audio Test file on the SDCard when I access the MoOde Web Interface.

I did delete browser cache for MoOde and Update my Library again to no avail.

What else can I offer to help troubleshoot? I appreciate the help!

Updated to include Screenshot of the MoOde Interface


Attached Files Thumbnail(s)
   
Reply
#13
Try from a Windows or Mac desktop using Chrome or Safari and have the Browser javascript console open to see if there are any errors. Make sure there are no Browser plugins loaded that might block javascript or other content.

Look in /var/local/www/ and verify libcache_all exists.
Verify that worker.php is running: pgrep -l worker.php
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#14
(01-04-2022, 08:17 PM)Tim Curtis Wrote: Try from a Windows or Mac desktop using Chrome or Safari and have the Browser javascript console open to see if there are any errors. Make sure there are no Browser plugins loaded that might block javascript or other content.

Look in /var/local/www/ and verify libcache_all exists.
Verify that worker.php is running: pgrep -l worker.php

Ok, Running a fresh install of Chrome with no added extensions on Windows.

Screenshot with the Console open (attached). Not sure what I'm looking for there, but there is one error in reference to a js file.


Code:
pi@TandJ-Radio:~ $ ls -l /var/local/www
total 4944
drwxr-xr-x 2 root staff    4096 Dec 17 10:48 commandw
-rwxrwxrwx 1 root root        0 Jan  4 14:05 currentsong.txt
drwxrwxrwx 2 root staff    4096 Jan  4 14:05 db
drwxr-xr-x 5 root staff    4096 Dec 17 10:48 imagesw
-rwxrwxrwx 1 root root  5031104 Jan  4 14:22 libcache_all.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_folder.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_format.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_hdonly.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_lossless.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_lossy.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_tag.json
-rwxrwxrwx 1 root root       32 Dec 17 11:38 playhistory.log
-rwxrwxrwx 1 root root     9815 Jan  4 14:05 sysinfo.txt

Looks like libcache_all.json is there and not empty.
Code:
pi@TandJ-Radio:~ $ cat /var/local/www/libcache_all.json | head -n 10
[{"file":"SDCARD\/Stereo Test\/LRMonoPhase4.flac","tracknum":"1","title":"LR Channel And Phase","disc":"1","artist":["Koz"],"album_artist":"Koz","composer":"Composer tag missing","year":"1997","time":"39","album":"Stereo Test","genre":["Utilities"],"time_mmss":"00:39","last_modified":"2020-12-08T03:36:53Z","encoded_at":"16\/48 FLAC,h","comment":"","mb_albumid":"0"},{"file":"USB\/Music\/10,000 Maniacs\/MTV Unplugged\/01 These Are Days.mp3","tracknum":"1","title":"These Are Days","disc":"1","artist":["10,000 Maniacs"],"album_artist":"10,000 Maniacs","composer":"Rob Buck\/Natalie Merchant","year":"1993","time":"294","album":"MTV Unplugged","genre":["Pop"],"time_mmss":"04:54","last_modified":"2012-12-01T12:56:02Z","encoded_at":"MP3,l","comment":"","mb_albumid":"0"},{"file":"USB\/Music\/10,000 Maniacs\/MTV Unplugged\/02 Eat For Two.mp3","tracknum":"2","title":"Eat For Two","disc":"1","artist":["10,000 Maniacs"],"album_artist":"10,000 Maniacs","composer":"Natalie Merchant","year":"1993","time":"263","album":"MTV Unplugged","genre":["Pop"],"time_mmss":"04:23","last_modified":"2012-12-01T12:56:42Z","encoded_at":"MP3,l","comment":"","mb_albumid":"0"},{"file":"USB\/Music\/10,000 Maniacs\/MTV Unplugged\/03 Candy Everybody Wants.mp3","tracknum":"3","title":"Candy Everybody Wants","disc":"1","artist":["10,000 Maniacs"],"album_artist":"10,000 Maniacs","composer":"Natalie Merchant\/Dennis Drew","year":"1993","time":"200","album":"MTV Unplugged","genre":["Pop"],"time_mmss":"03:20","last_modified":"2012-12-01T12:57:12Z","encoded_at":"MP3,l","comment":"","mb_albumid":"0"},{"file":"USB\/Music\/10,000 Maniacs\/MTV Unplugged\/04 I'm Not The Man.mp3","tracknum":"4","title":"I'm Not The Man","disc":"1","artist":["10,000 Maniacs"],"album_artist":"10,000 Maniacs","composer":"Natalie Merchant","year":"1993","time":"226","album":"MTV Unplugged","genre":["Pop"],"time_mmss":"03:46","last_modified

And worker.php is running:

Code:
pi@TandJ-Radio:~ $ pgrep -l worker.php
591 worker.php


Attached Files Thumbnail(s)
   
Reply
#15
(01-04-2022, 08:59 PM)tokenwizard Wrote:
(01-04-2022, 08:17 PM)Tim Curtis Wrote: Try from a Windows or Mac desktop using Chrome or Safari and have the Browser javascript console open to see if there are any errors. Make sure there are no Browser plugins loaded that might block javascript or other content.

Look in /var/local/www/ and verify libcache_all exists.
Verify that worker.php is running: pgrep -l worker.php

Ok, Running a fresh install of Chrome with no added extensions on Windows.

Screenshot with the Console open (attached). Not sure what I'm looking for there, but there is one error in reference to a js file.


Code:
pi@TandJ-Radio:~ $ ls -l /var/local/www
total 4944
drwxr-xr-x 2 root staff    4096 Dec 17 10:48 commandw
-rwxrwxrwx 1 root root        0 Jan  4 14:05 currentsong.txt
drwxrwxrwx 2 root staff    4096 Jan  4 14:05 db
drwxr-xr-x 5 root staff    4096 Dec 17 10:48 imagesw
-rwxrwxrwx 1 root root  5031104 Jan  4 14:22 libcache_all.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_folder.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_format.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_hdonly.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_lossless.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_lossy.json
-rwxrwxrwx 1 root root        0 Jan  4 14:22 libcache_tag.json
-rwxrwxrwx 1 root root       32 Dec 17 11:38 playhistory.log
-rwxrwxrwx 1 root root     9815 Jan  4 14:05 sysinfo.txt

Looks like libcache_all.json is there and not empty.
Code:
pi@TandJ-Radio:~ $ cat /var/local/www/libcache_all.json | head -n 10
[{"file":"SDCARD\/Stereo Test\/LRMonoPhase4.flac","tracknum":"1","title":"LR Channel And Phase","disc":"1","artist":["Koz"],"album_artist":"Koz","composer":"Composer tag missing","year":"1997","time":"39","album":"Stereo Test","genre":["Utilities"],"time_mmss":"00:39","last_modified":"2020-12-08T03:36:53Z","encoded_at":"16\/48 FLAC,h","comment":"","mb_albumid":"0"},{"file":"USB\/Music\/10,000 Maniacs\/MTV Unplugged\/01 These Are Days.mp3","tracknum":"1","title":"These Are Days","disc":"1","artist":["10,000 Maniacs"],"album_artist":"10,000 Maniacs","composer":"Rob Buck\/Natalie Merchant","year":"1993","time":"294","album":"MTV Unplugged","genre":["Pop"],"time_mmss":"04:54","last_modified":"2012-12-01T12:56:02Z","encoded_at":"MP3,l","comment":"","mb_albumid":"0"},{"file":"USB\/Music\/10,000 Maniacs\/MTV Unplugged\/02 Eat For Two.mp3","tracknum":"2","title":"Eat For Two","disc":"1","artist":["10,000 Maniacs"],"album_artist":"10,000 Maniacs","composer":"Natalie Merchant","year":"1993","time":"263","album":"MTV Unplugged","genre":["Pop"],"time_mmss":"04:23","last_modified":"2012-12-01T12:56:42Z","encoded_at":"MP3,l","comment":"","mb_albumid":"0"},{"file":"USB\/Music\/10,000 Maniacs\/MTV Unplugged\/03 Candy Everybody Wants.mp3","tracknum":"3","title":"Candy Everybody Wants","disc":"1","artist":["10,000 Maniacs"],"album_artist":"10,000 Maniacs","composer":"Natalie Merchant\/Dennis Drew","year":"1993","time":"200","album":"MTV Unplugged","genre":["Pop"],"time_mmss":"03:20","last_modified":"2012-12-01T12:57:12Z","encoded_at":"MP3,l","comment":"","mb_albumid":"0"},{"file":"USB\/Music\/10,000 Maniacs\/MTV Unplugged\/04 I'm Not The Man.mp3","tracknum":"4","title":"I'm Not The Man","disc":"1","artist":["10,000 Maniacs"],"album_artist":"10,000 Maniacs","composer":"Natalie Merchant","year":"1993","time":"226","album":"MTV Unplugged","genre":["Pop"],"time_mmss":"03:46","last_modified

And worker.php is running:

Code:
pi@TandJ-Radio:~ $ pgrep -l worker.php
591 worker.php

Here's a twist...
I clicked this (I assume) play random album folder which wasn't visible when running in Firefox because the bottom portion of the MoOde interface was chopped off for some reason.

Ween I clicked this button, it pulled in this Korn album from my library and started playing! So it IS able to access my music and it DOES recognize it is there, it just doesn't show it on the main MoOde page. Am I missing something? Shouldn't there be a "Music" folder here with all of these Soma FM Streaming Sources? (See attached)


Attached Files Thumbnail(s)
   
Reply
#16
Thats a screen shot of Playback View. What does Library Tag, Album or Folder views look like?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
Quote:which wasn't visible when running in Firefox because the bottom portion of the MoOde interface was chopped off for some reason.

Use the zoom control in Firefox to show the whole screen.( ctrl+mouse wheel or Zoom from the Firefox menu)

 
Just to check Smile , if you are new to MoOde ? have you read the Quick help in the menu ? ( accessed by clicking on the 'M' top right in the main page) Because your quote below seems to indicate you are looking for the playlist on the main page to be populated with all your files ? 
If you click on the large artwork on the right of the main page this will take you to the library where you can select files to be added to the playlist ?

"But when I go back to the main page, even after a Restart of the System, none of the local music files are showing. I'm still only seeing the included Streaming Sources and the one Audio Test file on the SDCard."

"I also don't see any other way to "Browse" the Music Library."

Just click/tap anywhere on the Korn Album art (or any album art) shown in your screenshot.. Wink  and you will be taken to the Music Library.

There is a popup that explains this navigation on first run and requires you to dismiss it...perhaps you missed  that not having the browser showing the full MoOde Player page ?

Cheers, Bob.
----------
bob
Reply
#18
(01-05-2022, 12:10 AM)DRONE7 Wrote:
Quote:which wasn't visible when running in Firefox because the bottom portion of the MoOde interface was chopped off for some reason.

Use the zoom control in Firefox to show the whole screen.( ctrl+mouse wheel or Zoom from the Firefox menu)

 
Just to check Smile , if you are new to MoOde ? have you read the Quick help in the menu ? ( accessed by clicking on the 'M' top right in the main page) Because your quote below seems to indicate you are looking for the playlist on the main page to be populated with all your files ? 
If you click on the large artwork on the right of the main page this will take you to the library where you can select files to be added to the playlist ?

"But when I go back to the main page, even after a Restart of the System, none of the local music files are showing. I'm still only seeing the included Streaming Sources and the one Audio Test file on the SDCard."

"I also don't see any other way to "Browse" the Music Library."

Just click/tap anywhere on the Korn Album art (or any album art) shown in your screenshot.. Wink  and you will be taken to the Music Library.

There is a popup that explains this navigation on first run and requires you to dismiss it...perhaps you missed  that not having the browser showing the full MoOde Player page ?

Cheers, Bob.


Blush Jeez,
I must have missed that initial popup somehow. In Firefox, even zooming out on the page does not show all the controls like it does in Chrome. Not sure why, but I zoomed all the way out to 30% and the artwork, volume/track progress rings, and Streaming Sources on the left are all the same size as they are at 100% zoom.

Either way, this was my fault as I missed the need to click the album art space to access the library. I didn't understand why I was seeing some sources along the left side (that I had not populated in any playlist) and not the USB sources.

Apologies for tying you up over something so trivial.
Reply


Forum Jump: