Thank you for your donation!


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


Official moOde 6.6.0 support thread
(07-16-2020, 04:34 PM)suzywong Wrote:
(07-16-2020, 03:13 PM)TheOldPresbyope Wrote: The moOde players and the Linux hosts can all "see" each other (in their equivalent of what used to be Window's Network Neighborhood) as well as her Win10 laptop and my Win10 virtual machine.

Neither Win10 system shows any moOde player or Linux host in its Network screen. However, both can find all these hosts when using the net command.

Curious, I can my RPis in Windows Explorer's left hand panel in the "Network section" (Win10 pro)

If you look back through the threads on this forum you'll find other discussions about Windows (mostly with respect to file service) that run this same circle --- discovery works fine on some users networks, not on others. 

It involves not just the individual hosts but everything on the network that is running various name resolution and browsing protocols.

Like I said, I no longer care to invest the time....

Regards,
Kent
Reply
hi, I just upgraded my 2 RPi's to 6.6.0 but unfortunately the RPi4 is only giving sort of random beep noise through the USB DAC and nothing simple like restart or changing USB ports helps. RPi4 worked fine on 6.5.2 (which was my first install of Moode)

So far my experience with Moode was just fantastic so I (and my wife) hope that we soon have Moode in the kitchen again!


RPi4 --> FX-Audio D802C Pro USB input: strange beep random noise (USB sound card option is there and selected)

RPi3 --> FX-Audio DAC-X6 USB input working fine

RPi4:
pi@keuken:/var/log $ cat /proc/asound/cards
 0 [Headphones     ]: bcm2835_headphonbcm2835 Headphones - bcm2835 Headphones
                      bcm2835 Headphones
 1 [FXD802C        ]: USB-Audio - FX-D802C
                      FXAUDIO FX-D802C at usb-0000:01:00.0-1.1, high speed

Any hints and tips? Below is also some output I found in /var/log/messages - maybe points to the problem?

regards Martin (The Netherlands)


/var/log/messages
Jul 16 18:44:49 keuken kernel: [ 1247.242476] usb 1-1.1: new high-speed USB device number 6 using xhci_hcd
Jul 16 18:44:49 keuken kernel: [ 1247.421305] usb 1-1.1: config 1 has an invalid interface number: 255 but max is 2
Jul 16 18:44:49 keuken kernel: [ 1247.421322] usb 1-1.1: config 1 has no interface number 2
Jul 16 18:44:49 keuken kernel: [ 1247.422344] usb 1-1.1: New USB device found, idVendor=0d8c, idProduct=0158, bcdDevice= 0.08
Jul 16 18:44:49 keuken kernel: [ 1247.422363] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 16 18:44:49 keuken kernel: [ 1247.422385] usb 1-1.1: Product: FX-D802C
Jul 16 18:44:49 keuken kernel: [ 1247.422400] usb 1-1.1: Manufacturer: FXAUDIO
Jul 16 18:44:49 keuken mtp-probe: checking bus 1, device 6: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1"
Jul 16 18:44:49 keuken mtp-probe: bus: 1, device: 6 was not an MTP device
Jul 16 18:44:49 keuken kernel: [ 1247.465121] input: FXAUDIO FX-D802C Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.255/0003:0D8C:0158.0004/input/input6
Jul 16 18:44:49 keuken kernel: [ 1247.533198] input: FXAUDIO FX-D802C as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.255/0003:0D8C:0158.0004/input/input7
Jul 16 18:44:49 keuken kernel: [ 1247.533691] hid-generic 0003:0D8C:0158.0004: input,hiddev96,hidraw0: USB HID v1.11 Device [FXAUDIO FX-D802C] on usb-0000:01:00.0-1.1/input255
Jul 16 18:45:20 keuken mtp-probe: checking bus 1, device 6: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1"
Jul 16 18:45:20 keuken mtp-probe: bus: 1, device: 6 was not an MTP device
Reply
Couple things to try.

- Re-seat the USB cable
- Try a fresh image on the Pi-4
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
(07-16-2020, 06:52 PM)Tim Curtis Wrote: Couple things to try.

- Re-seat the USB cable
- Try a fresh image on the Pi-4

hi Tim - I only have luck with the 6.5.2 image on the Pi4, connected to the FX-Audio D802c, so the sound is back, next time I will first test a new version on a separate card...
Fresh 6.6.0 image did not help, same noise.

So maybe there is some USB issue in the 6.6.0 version? Or the D802c is the issue but so far I had no troubles connecting to it, also it is directly recognized by Windows as soundcard.

regards Martin
Reply
(07-16-2020, 06:34 PM)Martin951 Wrote: hi, I just upgraded my 2 RPi's to 6.6.0 but unfortunately the RPi4 is only giving sort of random beep noise through the USB DAC and nothing simple like restart or changing USB ports helps. RPi4 worked fine on 6.5.2 (which was my first install of Moode)

So far my experience with Moode was just fantastic so I (and my wife) hope that we soon have Moode in the kitchen again!


RPi4 --> FX-Audio D802C Pro USB input: strange beep random noise (USB sound card option is there and selected)

RPi3 --> FX-Audio DAC-X6 USB input working fine

Hi, Martin.

So have you tried simply swapping the two DACs between the RPi3B and the RPi4B to see if this issue is DAC specific or RPi model specific?

Quote:...
/var/log/messages
Jul 16 18:44:49 keuken kernel: [ 1247.242476] usb 1-1.1: new high-speed USB device number 6 using xhci_hcd
Jul 16 18:44:49 keuken kernel: [ 1247.421305] usb 1-1.1: config 1 has an invalid interface number: 255 but max is 2
Jul 16 18:44:49 keuken kernel: [ 1247.421322] usb 1-1.1: config 1 has no interface number 2
Jul 16 18:44:49 keuken kernel: [ 1247.422344] usb 1-1.1: New USB device found, idVendor=0d8c, idProduct=0158, bcdDevice= 0.08
Jul 16 18:44:49 keuken kernel: [ 1247.422363] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jul 16 18:44:49 keuken kernel: [ 1247.422385] usb 1-1.1: Product: FX-D802C
Jul 16 18:44:49 keuken kernel: [ 1247.422400] usb 1-1.1: Manufacturer: FXAUDIO
Jul 16 18:44:49 keuken mtp-probe: checking bus 1, device 6: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1"
Jul 16 18:44:49 keuken mtp-probe: bus: 1, device: 6 was not an MTP device
Jul 16 18:44:49 keuken kernel: [ 1247.465121] input: FXAUDIO FX-D802C Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.255/0003:0D8C:0158.0004/input/input6
Jul 16 18:44:49 keuken kernel: [ 1247.533198] input: FXAUDIO FX-D802C as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.255/0003:0D8C:0158.0004/input/input7
Jul 16 18:44:49 keuken kernel: [ 1247.533691] hid-generic 0003:0D8C:0158.0004: input,hiddev96,hidraw0: USB HID v1.11 Device [FXAUDIO FX-D802C] on usb-0000:01:00.0-1.1/input255
Jul 16 18:45:20 keuken mtp-probe: checking bus 1, device 6: "/sys/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1"
Jul 16 18:45:20 keuken mtp-probe: bus: 1, device: 6 was not an MTP device

Some of this is expected, notably the "was not an MTP device" shows up for any USB device which isn't, like a generic USB Disk Enclosure I have plugged in, and not suspicious.

The "config 1" business, however, isn't something I've seen with my USB DACs. That's why I'm curious to know if it shows up on the RPi3B.

Regards,
Kent
Reply
(07-16-2020, 05:00 PM)swizzle Wrote:
(07-12-2020, 07:04 PM)Klausi69 Wrote:
(07-12-2020, 01:28 AM)swizzle Wrote:
(07-11-2020, 08:19 AM)Klausi69 Wrote: Really impressive. Very smooth. The only thing is that my old iPad 2 with iOS 9.3.5 doesn't show radio library again. Many elements are missing. Cleaning cache and reboot didn't help.

Did it work with 6.5? iOS 9 is sufficiently old enough that the version of Safari it uses is missing some key web features and unfortunately there’s no way to just update the browser.

I do feel like a moode browser is a really good use case for an old tablet though so you might try loading 6.6 with the browser’s console window showing and if there are any errors post the output (in a code box, it’s the little icon on the top right with <>) and we might be able to work around whatever javascript isn’t supported.

I have to connect my iPhone to a Windows PC, so I use Chrome for remote debug. I hope this will help you.


Code:
moode.local/:34 Viewport argument key "viewport-fit" not recognized and ignored.
VMundefined:33 SyntaxError: Unexpected keyword 'const'
(anonymous) @ playerlib-nomin.js:33
VMundefined:3 Viewport argument key "viewport-fit" not recognized and ignored.
attr @ VM44 jquery-1.8.2.min.js:3
access @ VM44 jquery-1.8.2.min.js:3
attr @ VM44 jquery-1.8.2.min.js:3
(anonymous) @ VM22 scripts-panels.min.js:25
k @ VM44 jquery-1.8.2.min.js:3
fireWith @ VM44 jquery-1.8.2.min.js:3
ready @ VM44 jquery-1.8.2.min.js:3
D @ VM44 jquery-1.8.2.min.js:3
VMundefined:26 ReferenceError: Can't find variable: getParamOrValue
setFontSize @ VM1 playerlib.min.js:26
(anonymous) @ VM22 scripts-panels.min.js:25
k @ VM44 jquery-1.8.2.min.js:3
fireWith @ VM44 jquery-1.8.2.min.js:3
y @ VM44 jquery-1.8.2.min.js:3
d @ VM44 jquery-1.8.2.min.js:3
moode.local/:34 Viewport argument key "viewport-fit" not recognized and ignored.
VMundefined:33 SyntaxError: Unexpected keyword 'const'
(anonymous) @ playerlib-nomin.js:33
VMundefined:3 Viewport argument key "viewport-fit" not recognized and ignored.
attr @ VM44 jquery-1.8.2.min.js:3
access @ VM44 jquery-1.8.2.min.js:3
attr @ VM44 jquery-1.8.2.min.js:3
(anonymous) @ VM22 scripts-panels.min.js:25
k @ VM44 jquery-1.8.2.min.js:3
fireWith @ VM44 jquery-1.8.2.min.js:3
ready @ VM44 jquery-1.8.2.min.js:3
D @ VM44 jquery-1.8.2.min.js:3
VMundefined:26 ReferenceError: Can't find variable: getParamOrValue
setFontSize @ VM1 playerlib.min.js:26
(anonymous) @ VM22 scripts-panels.min.js:25
k @ VM44 jquery-1.8.2.min.js:3
fireWith @ VM44 jquery-1.8.2.min.js:3
y @ VM44 jquery-1.8.2.min.js:3
d @ VM44 jquery-1.8.2.min.js:3

Ugh, minimized javascript is worthless for debugging.

Anyway so const seems to be at issue here. Early iOS is missing a bunch of javascript that would later make up ES6. It basically lets you set up an immutable variable (it’s kind of a convenience feature for large, team-based development as it’ll throw an error if you try to redefine one so you know there’s a something not good happening), but there’s really nothing stopping us from using regular variables and just not messing with them.

https://www.javascripttutorial.net/es6/j...ipt-const/

In playerlib.js there are a number of variables defined with const at the beginning of the file, you can change it to use let instead and that seems to work (albeit on my iOS 14 device), though I can’t say there won’t be issues elsewhere related to that change or other ES6 conventions that old iOS doesn’t support that have crept into the code in other areas and still prevent it from working. 

The comment about older devices... there are usually a lot of features added to newer moode versions that are nice to have but there’s no such thing as a free lunch and those features often come with added processing demands. As an example the new badges for bitrate, etc. The more complex the list structure and css is the more your device has to work to display it. I did some work to streamline the lists a few versions ago but recent progress has stamped that out lol. Tl;dr: you will definitely be happier running moode on newer hardware.

Maybe we should add an debugging option to tell header.php to use the plaintext JS and CSS files ?

The "const" keyword is used in playerlib.js to define some values and it's used in playerlib-nomin.js function formatExtraTagsString() as part of a "for of" loop. We could prolly use "let" instead but then what other things would pop up as compatibility issues with old Javascript engines ??
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
(07-17-2020, 12:47 PM)Tim Curtis Wrote: Maybe we should add an debugging option to tell header.php to use the plaintext JS and CSS files ?

The "const" keyword is used in playerlib.js to define some values and it's used in playerlib-nomin.js function formatExtraTagsString() as part of a "for of" loop. We could prolly use "let" instead but then what other things would pop up as compatibility issues with old Javascript engines ??

@Tim Curtis that functionality is included in the gulp pr ;-)
While keeping the performance with minified source files, it also provide so called sourcemaps to debug the js/css in the webbrowser.
Reply
When things settle down after the 6.7.0 update I'll try to carve out time to try out gulp.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
Hi,
6.6 works fine, thanks for your work.. i've only a problem updating NAS library, the recent files that i added to NAS are not loaded in Moode folders, i try to update but nothings change
, sometimes appears an MPD error: openMpdSock () failed, is this the reason?
Thanks
Reply
Look at the MPD log after Library update completes

cat /var/log/mpd/log
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: