Thank you for your donation!


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


Problem: no audio info in 9.2.0
#11
(12-27-2024, 07:38 PM)Magic66 Wrote: MDP.json['file'];
VM63:1 Uncaught ReferenceError: MDP is not defined
   at <anonymous>:1:1
(anonymous) @ VM63:1
MDP.json['artist'];
VM107:1 Uncaught ReferenceError: MDP is not defined
   at <anonymous>:1:1

What i dd not mention is that when i start audio info not even the window opens where the info should be provided

Its MPD not MDP
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#12
When selecting audio info:

playerlib.js:4931  Uncaught TypeError: Cannot convert undefined or null to object
   at Function.keys (<anonymous>)
   at itemInfoModal (playerlib.js:4931:26)
   at Object.success (playerlib.js:4918:4)
   at u (jquery-1.8.2.js:974:30)
   at Object.fireWith [as resolveWith] (jquery-1.8.2.js:1082:7)
   at N (jquery-1.8.2.js:7788:14)
   at XMLHttpRequest.n (jquery-1.8.2.js:8500:8)

MPD.json['file'];
'http://192.168.2.14:49149/qobuz/track/version/1/trackId/2783816'

MPD.json['artist'];
'Dream Theater, John Petrucci (Composer)'
Reply
#13
Hi @Tim Curtis

I have noticed that Audio Info is displaying with no problems on my old Tesco Huddle tablet with Android 11. It also now works on teh latest update.
Big thanks. Happy New Year.

Regards.

Simon.
Reply
#14
(12-31-2024, 07:14 PM)simonb Wrote: Hi @Tim Curtis

I have noticed that Audio Info is displaying with no problems on my old Tesco Huddle tablet with Android 11. It also now works on teh latest update.
Big thanks. Happy New Year.

Regards.

Simon.

There weren't any changes to the code for this specific  issue but I'm glad its working :-)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#15
(12-31-2024, 07:14 PM)simonb Wrote: Hi @Tim Curtis

I have noticed that Audio Info is displaying with no problems on my old Tesco Huddle tablet with Android 11. It also now works on teh latest update.
Big thanks. Happy New Year.

Regards.

Simon.

It does work, only not when using the Linn app (Iphone) with Qobuz over openhome.
9.2.1 does not change anything.
Reply
#16
(12-31-2024, 10:48 PM)Magic66 Wrote:
(12-31-2024, 07:14 PM)simonb Wrote: Hi @Tim Curtis

I have noticed that Audio Info is displaying with no problems on my old Tesco Huddle tablet with Android 11. It also now works on teh latest update.
Big thanks. Happy New Year.

Regards.

Simon.

It does work, only not when using the Linn app (Iphone) with Qobuz over openhome.
9.2.1 does not change anything.

I don't have a UPnP setup so hopefully someone else can repro your config or something similar and provide some insights into what might be happening. I did check the code behind the Audio info function a few days ago and didn't see anything suspicious.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
@Tim Curtis 

For the last week I've been mostly quiet due to family events in MD, VA, and PA (Ah, what we Silverbacks do to see grandkids!).

A quick check tonight on a moOde 9.2.1 player vis a moOde 9.1.5 player

1. both players UPnP renderers set to service type: UPnP-A/V. Using mconnectLite on my iPad as UPnP control point and a local UPnP media server on my NAS. Using a Firefox browser on my Linux laptop. Start playing a track and in the webUI Playback screen click on '...' and choosing Audio info:

     - for the moOde 9.1.5 player I see the Audio information modal with the Track box highlighted and no track info displayed. Clicking the Playback box gets me the usual playback information (Input/output, etc.).

     - for the moOde 9.2.1 player, I get no modal popping up.

2. set both renderers to service type: OpenHome. Using Lumin on my iPad as UPnP control point. Everything else is the same.

     - the results are the same.

Haven't had time to look for any errors being logged. Suggested places to look?

Regards,
Kent
Reply
#18
(01-01-2025, 02:16 AM)TheOldPresbyope Wrote: @Tim Curtis 

For the last week I've been mostly quiet due to family events in MD, VA, and PA (Ah, what we Silverbacks do to see grandkids!).

A quick check tonight on a moOde 9.2.1 player vis a moOde 9.1.5 player

1. both players UPnP renderers set to service type: UPnP-A/V. Using mconnectLite on my iPad as UPnP control point and a local UPnP media server on my NAS. Using a Firefox browser on my Linux laptop. Start playing a track and in the webUI Playback screen click on '...' and choosing Audio info:

     - for the moOde 9.1.5 player I see the Audio information modal with the Track box highlighted and no track info displayed. Clicking the Playback box gets me the usual playback information (Input/output, etc.).

     - for the moOde 9.2.1 player, I get no modal popping up.

2. set both renderers to service type: OpenHome. Using Lumin on my iPad as UPnP control point. Everything else is the same.

     - the results are the same.

Haven't had time to look for any errors being logged. Suggested places to look?

Regards,
Kent

In file /var/www/command/audioinfo.php

Add the following workerLog() line above the switch statement. It will print the contents of the $_GET array to the moode log. This will show the 'cmd' and 'path' values which will allow you to walk the code path, possibly to the place where its blowing up.

Code:
workerLog("DEBUG:\n" . print_r($_GET, true));
switch ($_GET['cmd']) {
.
.
.

If nothing prints to the moode log then the blow up is prolly happening in function audioInfo() in upstream /var/www/js/playerlib.js.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#19
(01-01-2025, 03:38 AM)Tim Curtis Wrote:
(01-01-2025, 02:16 AM)TheOldPresbyope Wrote: @Tim Curtis 

For the last week I've been mostly quiet due to family events in MD, VA, and PA (Ah, what we Silverbacks do to see grandkids!).

A quick check tonight on a moOde 9.2.1 player vis a moOde 9.1.5 player

1. both players UPnP renderers set to service type: UPnP-A/V. Using mconnectLite on my iPad as UPnP control point and a local UPnP media server on my NAS. Using a Firefox browser on my Linux laptop. Start playing a track and in the webUI Playback screen click on '...' and choosing Audio info:

     - for the moOde 9.1.5 player I see the Audio information modal with the Track box highlighted and no track info displayed. Clicking the Playback box gets me the usual playback information (Input/output, etc.).

     - for the moOde 9.2.1 player, I get no modal popping up.

2. set both renderers to service type: OpenHome. Using Lumin on my iPad as UPnP control point. Everything else is the same.

     - the results are the same.

Haven't had time to look for any errors being logged. Suggested places to look?

Regards,
Kent

In file /var/www/command/audioinfo.php

Add the following workerLog() line above the switch statement. It will print the contents of the $_GET array to the moode log. This will show the 'cmd' and 'path' values which will allow you to walk the code path, possibly to the place where its blowing up.

Code:
workerLog("DEBUG:\n" . print_r($_GET, true));
switch ($_GET['cmd']) {
.
.
.

If nothing prints to the moode log then the blow up is prolly happening in function audioInfo() in upstream /var/www/js/playerlib.js.

Back to UPnP-A/V service type on the moOde 9.2.0 player and mconnectLite as Control Point. Start a track. With your added line, I get the following in the log (where 10.0.0.2 is my NAS and port 8200 is the miniDLNA service on it)


Code:
20241231 230248 worker: Ready
20241231 230711 DEBUG:
Array
(
   [cmd] => track_info
   [path] => http://10.0.0.2:8200/MediaItems/3173.flac
)


Regards,
Kent
Reply
#20
Hi All.

Quick check here and it only works for local music. Not Qobuz.

Cheers.
Reply


Forum Jump: