Thank you for your donation!


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


moOde 5.4 Beta 2 is available
#61
(07-18-2019, 03:52 AM)Tim Curtis Wrote: No spinner icon would suggest an issue.

You will need to open an SSH terminal and run the commands below to see what's going on.

Code:
ls -l /mnt/UPNP

cat /var/log/mpd/log

moOde has a built in SSH terminal, just open System config and scroll to Local Services, SSH term server. Turn it on then open it. Userid=pi, password=moodeaudio

OK last night nothing happened with the index, as you said no spinner means something's up.
Here is the output from the commands:
Code:
pi@Pi4B-1:~ $ ls -l /mnt/UPNP
total 2                                                                                                                                        
-r--r--r-- 1 root root  70 Jan  1  2000  devices                                                                                              
dr-xr-xr-x 6 root root 512 Jan  1  2000 'Id-B827EBE4A8AE (NoConversion)'
dr-xr-xr-x 5 root root 512 Jan  1  2000 'Id-B827EBE4A8AE (NoConversion) [proxy]'

i@Pi4B-1:~ $ cat /var/log/mpd/log
Jul 17 19:55 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
Jul 17 19:59 : player: played "http://stream-tx3.radioparadise.com/aac-320"                                                                    
Jul 17 20:01 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
Jul 17 20:05 : player: played "http://stream.wqxr.org/wqxr"                                                                                    
Jul 17 20:05 : player: played "http://stream-tx3.radioparadise.com/aac-320"                                                                    
Jul 17 20:06 : player: played "http://37.130.228.60:8090/"                                                                                     
Jul 17 20:07 : player: played "http://stream1.opb.org/kmhd.mp3"                                                                                
Jul 17 20:07 : player: played "http://stream.4zzzfm.org.au:789"                                                                                
Jul 17 20:07 : ffmpeg/http: HTTP error 403 Forbidden                                                                                          
Jul 17 20:07 : exception: avformat_open_input() failed: Server returned 403 Forbidden (access denied)                                          
Jul 17 20:07 : exception: Failed to decode http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourfm.m
3u8                                                                                                                                            
Jul 17 20:07 : player: played "http://a.files.bbci.co.uk/media/live/manifesto/audio/simulcast/hls/uk/sbr_high/ak/bbc_radio_fourfm.m3u8"        
Jul 17 20:07 : player: played "http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p"                                                       
Jul 17 20:07 : player: played "http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_p"                                                       
Jul 17 20:08 : player: played "http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio3_mf_p"                                                       
Jul 17 20:08 : player: played "http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p"                                                     
Jul 17 20:08 : player: played "http://cbc_r2_vcr.akacast.akamaistream.net/7/773/451661/v1/rc.akacast.akamaistream.net/cbc_r2_vcr"              
Jul 17 20:08 : player: played "https://prod-18-234-41-31.wostreaming.net/ppm-jazz24aac-ibc1?session-id=123c7a3ddc8bf87808d64b6999e30ba5"       
Jul 17 20:12 : player: played "http://199.189.87.9:10999/flac"                                                                                 
Jul 17 20:20 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
Jul 17 20:22 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 20:27 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 20:27 : player: played "http://10.0.1.186:52100/Music/F6787.m4a"                                                                        
Jul 17 20:31 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 20:31 : player: played "http://10.0.1.186:52100/Music/F7507.m4a"                                                                        
Jul 17 20:34 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 20:34 : player: played "http://10.0.1.186:52100/Music/F12192.m4a"                                                                       
Jul 17 20:39 : player: played "http://10.0.1.186:52100/Music/F5263.m4a"                                                                        
Jul 17 20:42 : player: played "http://10.0.1.186:52100/Music/F2648.dsf"                                                                        
Jul 17 20:48 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 20:48 : player: played "http://10.0.1.186:52100/Music/F431.dsf"                                                                         
Jul 17 20:52 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 20:52 : player: played "http://10.0.1.186:52100/Music/F6288.m4a"                                                                        
Jul 17 20:56 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 20:56 : player: played "http://10.0.1.186:52100/Music/F4848.m4a"                                                                        
Jul 17 20:59 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:00 : player: played "http://10.0.1.186:52100/Music/F3784.m4a"                                                                        
Jul 17 21:02 : player: played "http://10.0.1.186:52100/Music/F10389.m4a"                                                                       
Jul 17 21:07 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:07 : player: played "http://10.0.1.186:52100/Music/F15541.dsf"                                                                       
Jul 17 21:12 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:12 : player: played "http://10.0.1.186:52100/Music/F10828.m4a"                                                                       
Jul 17 21:17 : player: played "http://10.0.1.186:52100/Music/F5732.m4a"                                                                        
Jul 17 21:23 : player: played "http://10.0.1.186:52100/Music/F352.dsf"                                                                         
Jul 17 21:25 : player: played "http://10.0.1.186:52100/Music/F2554.dsf"                                                                        
Jul 17 21:28 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:28 : player: played "http://10.0.1.186:52100/Music/F12.dsf"                                                                          
Jul 17 21:32 : player: played "http://10.0.1.186:52100/Music/F12705.m4a"                                                                       
Jul 17 21:37 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:37 : player: played "http://10.0.1.186:52100/Music/F1870.dsf"                                                                        
Jul 17 21:41 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:41 : player: played "http://10.0.1.186:52100/Music/F8551.m4a"                                                                        
Jul 17 21:43 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:43 : player: played "http://10.0.1.186:52100/Music/F9668.m4a"                                                                        
Jul 17 21:46 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:46 : player: played "http://10.0.1.186:52100/Music/F6263.m4a"                                                                        
Jul 17 21:50 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:50 : player: played "http://10.0.1.186:52100/Music/F10771.m4a"                                                                       
Jul 17 21:53 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:54 : player: played "http://10.0.1.186:52100/Music/F10484.m4a"                                                                       
Jul 17 21:58 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 21:59 : player: played "http://10.0.1.186:52100/Music/F11237.m4a"                                                                       
Jul 17 22:01 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 22:01 : player: played "http://10.0.1.186:52100/Music/F9593.m4a"                                                                        
Jul 17 22:05 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 22:05 : player: played "http://10.0.1.186:52100/Music/F7470.m4a"                                                                        
Jul 17 22:08 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 22:08 : player: played "http://10.0.1.186:52100/Music/F6155.m4a"                                                                        
Jul 17 22:12 : player: played "http://10.0.1.186:52100/Music/F9770.m4a"                                                                        
Jul 17 22:15 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 22:15 : player: played "http://10.0.1.186:52100/Music/F4282.m4a"                                                                        
Jul 17 22:18 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 22:19 : player: played "http://10.0.1.186:52100/Music/F10287.m4a"                                                                       
Jul 17 22:25 : player: played "http://10.0.1.186:52100/Music/F8863.m4a"                                                                        
Jul 17 22:27 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
Jul 17 22:28 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac                                                                          
Jul 17 22:28 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
Jul 17 22:44 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 22:45 : player: played "http://10.0.1.186:52100/Music/F1486.dsf"                                                                        
Jul 17 22:50 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 22:50 : player: played "http://10.0.1.186:52100/Music/F5050.m4a"                                                                        
Jul 17 22:56 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 22:56 : player: played "http://10.0.1.186:52100/Music/F5781.m4a"                                                                        
Jul 17 23:00 : ffmpeg/mov,mp4,m4a,3gp,3g2,mj2: stream 0, timescale not set                                                                    
Jul 17 23:00 : player: played "http://10.0.1.186:52100/Music/F4997.m4a"                                                                        
Jul 17 23:03 : player: played "http://10.0.1.186:52100/Music/F12334.m4a"                                                                       
Jul 17 23:28 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
Jul 17 23:28 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac                                                                          
Jul 17 23:28 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
Jul 17 23:30 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
Jul 17 23:30 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac                                                                          
Jul 17 23:30 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
Jul 17 23:42 : update: updating SDCARD/Stereo Test/LRMonoPhase4.flac                                                                          
Jul 17 23:42 : exception: Failed to access /var/lib/mpd/music/IdPi-MC24: No such file or directory                                            
pi@Pi4B-1:~ $
So it seems I don't have the right path specified after finding the servers, I'll try to delete and redo the server.
Reply
#62
No luck in trying to respecify the server.

From the output above, this is what playing a track from the server looks like when I just use the JRemote app as a control point to access the server:

Jul 17 20:27 : player: played "http://10.0.1.186:52100/Music/F6787.m4a"

I'll sit down for some dinner and then have another look later this evening, thank you for the SSH commands.
Reply
#63
Hi,

Here is what it looks like on my end. I'm using MiniDLNA as the UPnP Media Server on host RP5.

Code:
pi@rp3:~ $ ls /mnt/UPNP
devices  'RP5 DLNA'

pi@rp3:~ $ ls /mnt/UPNP/RP5\ DLNA/
'Browse Folders'   Music   Pictures   _search   Video

pi@rp3:~ $ ls /mnt/UPNP/RP5\ DLNA/Music
Album  'All Music'   Artist   Folders   Genre   Playlists  'Recently Added'   _search

pi@rp3:~ $ ls /mnt/UPNP/RP5\ DLNA/Music/Album
'#1 Test'                                                         REFLECTIONS
'9_20_02 Home Recordings'                                        'Ridge Racer (Playstation)'
'Acasa (Editie Speciala)'                                        'Schubert: Death & the Maiden'
'Advisory Committee'                                             'Scotland The Brave'
'Afternoons in Utopia'                                            _search
Allah-Las                                                       'Single: A Fost O Nebunie'
'Alligator Records 45th Anniversary Collection'                  'Single: Are You With Me'
'Always and Forever'                                             'Single: Atat De Usor'
'An Acoustic Evening At The Vienna Opera House (Disc 1)'         'Single: Be The One'
'An Acoustic Evening At The Vienna Opera House (Disc 1) mp3'     'Single: Bilionera'
.
.
.

Maybe there is some incompatibility between the utility that moOde users, "djmount", to mount the remote media server as a file system under /mnt/UPNP, and your particular DLNA server ???

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#64
It looks that way, the JRiver server itself is seen, but the folders/file system are not.

Some time ago in April 2018, with Moode 4.1, you had given me a few lines of code which revealed and indexed this very same server source in Moode's Library pane using djmount.

In looking back at that thread I see I was unable to get it to work right although @hjheins did with some additional tweaking.

I'll also have a look at the JRiver server settings to see if anything there looks like it can be altered to allow for compatibility.
Reply
#65
FYI:

Absentmindedly trying to update the Buster apt cache in my usual way failed

Code:
pi@moode:~ $ sudo apt-get update
Get:1 http://archive.raspberrypi.org/debian buster InRelease [25.1 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [205 kB]
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.


A little Googling reveals that the easy way to clear this error is to run apt, not apt-get
Code:
i@moode:~ $ sudo apt update -y
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] Y
...and the updating process continues...

Party on.
Reply
#66
@Tim Curtis

In worker.php,

Code:
// file system expansion status
$result = sysCmd("df | grep root | awk '{print $2}'");
$msg = $result[0] > 3000000 ? 'File system expanded' : 'File system not expanded yet';

For a fresh install of 5.4beta2 on a 32GB uSD card

Code:
pi@moode:~ $ df|grep root|awk '{print $2}'
3496176

Oops. As a result System Conf erroneously tells me the file system (already) has been expanded when it hasn't.

Regards,
Kent
Reply
#67
Already caught that one in moOde 6 :-)

You can also do: sudo apt-get update --allow-releaseinfo-change

Stretch -> Buster has easily been as much work as Jessie -> Stretch was. Its interesting but Jessie lasted almost 3 years while Stretch only 1 1/2 years. I'm hoping that Buster will have at least a 3 year run!
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#68
@Tim Curtis

Finally turned on the UPnP Media Browser in moOde 5.4 beta2 and tried to create a DLNA server-based music source in the Music Source screen. In this case, my source was a miniDLNA service I just enabled for the first time on my OpenMediaVault server, with its media directory populated with a few random directories, tracks, and coverart.

This server was detected and mounted. The MPD update proceeded. Only three of the five album directories on the server show up in my moOde Library. Digging a little deeper I realize moOde is likely functioning properly. Instead, my problem lies in the miniDLNA service in OpenMediaVault since, for example, browsing the server with Linn Kazoo on my iPad also shows only the same three albums. 

I have never done much with miniDLNA and can find little documentation for it which goes beyond the man pages. I can start experimenting but since you have been some experience using it in moOde, I though you might have some pointers. 

Are there special characters I should avoid in file and directory names other than the Linux's usual NUL and solidus ("/")? Are there any limitations on filename lengths or path lengths other than the usual Linux limits of 255-character filenames and 4096-character paths? Are there any problematic media file types (such as .dsd/.dsf)? Does miniDLNA make use of media metadata and, if so, what does it do with it?

If I get time tomorrow I'll populate the miniDLNA directory in OpenMediaVault with more thoughtfully prepared test directories and files and replicate them on one of my moOde players so I can do side-by-side testing.

Regards,
Kent
Reply
#69
I don't do much with the UPnP / DLNA stack other than integrate it and if there is a version bump then I'll do some very basic testing.

The Buster repo has the latest 1.2.1 version of miniDLNA. Maybe OMV has an earlier version that has some bugs??

- Try looking at moOde's minDLNA conf file for configuration details.
/etc/minidlna.conf

- Turn on miniDLNA logging via setting in the conf file
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#70
(07-31-2019, 11:32 AM)Tim Curtis Wrote: I don't do much with the UPnP / DLNA stack other than integrate it and if there is a version bump then I'll do some very basic testing.

...
- Turn on miniDLNA logging via setting in the conf file

Thanks for the thoughts.

Logging was on, just at too high a level. Turns out if I crank it up to "debug" and restart I get a flood of messages---a few lines tell me what I know, that it's added just the three albums, and everything else relates to all the UPnP clients in my house discovering this server when it comes up.

Tried adding the two "missing" albums to the sdcard on a moOde player. Same thing occurs. MPD can index them directly but the miniDLNA server doesn't. Curiously, these two albums are the CDs I ripped just last week while playing with the proposed CD ripping/playback function. The file and directory names were constructed by abcde from metadata pulled down from MusicBrainz. I need to look more closely at them.

Regards,
Kent

Added in post edit: Turns out to be operator error (e.g., I screwed up!) in the case of the moOde miniDLNA server. The new tracks are ok. It appears that OpenMediaVault's latest available miniDLNA build is v1.1.6. Not sure what's tripping it up but this isn't a moOde concern.
Reply


Forum Jump: