Thank you for your donation!


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


Thread Closed 
Official moOde 8 support thread
disable bluetooth = again http site dead ;-)
Wink 
@Tim Curtis


i see -0.50dB, not -50dB. [Image: wink.png]
(04-04-2022, 08:52 PM)jonners Wrote: @Tim Curtis


i see -0.50dB, not -50dB. [Image: wink.png]

lol, yes indeed it is. I'll go back and edit that post!
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
(04-04-2022, 09:59 AM)Hello Tim,i attached a picture were you can see that the volume is dropped to 0 (-127db). Problem exist on apple ipad and on Android 11 Smartphone...same problem when rotating. Wrote: I have a Boss 2 but don't recall experiencing the issue you described. I can run some tests today.

When you mention "the sound stops sometimes, hanging." what does "hanging" mean? Do you have to reboot or power cycle the system?

it occurs again, open an SSH terminal and post the output from the commands below.

Code:
mpc status

amixer -c0


Attached Files Thumbnail(s)
   
(04-05-2022, 08:02 AM)dad33 Wrote:
(04-04-2022, 09:59 AM)Hello Tim,i attached a picture were you can see that the volume is dropped to 0 (-127db). Problem exist on apple ipad and on Android 11 Smartphone...same problem when rotating. Wrote: I have a Boss 2 but don't recall experiencing the issue you described. I can run some tests today.

When you mention "the sound stops sometimes, hanging." what does "hanging" mean? Do you have to reboot or power cycle the system?

it occurs again, open an SSH terminal and post the output from the commands below.

Code:
mpc status

amixer -c0

Its evident in the screen shot but unless I'm able to repro it with my Boss 2 which as I posted earlier doesn't exhibit this issue, a debug on my end won't be possible.

Maybe someone else with a Boss 2 thats doing this has some idea what might be going on.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
'Performer' and 'Conductor' tags appear to be interfering with retrieval of 'Artist' or 'Album Artist' data.

I see there have been a few issues with music tags in the past and heartily agree with @TheOldPresbyope that this whole thing is a dumpster fire with no standards. But right now (release 8.0.2) it appears that any files that have a 'Performer' or 'Conductor' tag defined end up being dumped in the 'Unknown Artist'/'Unknown AlbumArtist' category in tag view. This occurs with all of the choices in the 'Tag view artist' field. 

My music is stored on a USB drive connected directly to the Pi. If I edit the file tags (using MP3tag 3.14 on a PC), solely remove the 'Performer' or 'Conductor' tag and update the library then the album turns up correctly listed under the relevant artist in tag view.

I should note that this is happening on AAC files (with the .m4a extension) that have been tagged using MP3Tag.
Zip up some of the files that have performer/conductor tags and PM the download link to myself and @TheOldPresbyope so we can analyze the files and try to repro.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
(04-06-2022, 10:08 AM)charlesky Wrote: 'Performer' and 'Conductor' tags appear to be interfering with retrieval of 'Artist' or 'Album Artist' data.

I see there have been a few issues with music tags in the past and heartily agree with @TheOldPresbyope that this whole thing is a dumpster fire with no standards. But right now (release 8.0.2) it appears that any files that have a 'Performer' or 'Conductor' tag defined end up being dumped in the 'Unknown Artist'/'Unknown AlbumArtist' category in tag view. This occurs with all of the choices in the 'Tag view artist' field. 

My music is stored on a USB drive connected directly to the Pi. If I edit the file tags (using MP3tag 3.14 on a PC), solely remove the 'Performer' or 'Conductor' tag and update the library then the album turns up correctly listed under the relevant artist in tag view.

I should note that this is happening on AAC files (with the .m4a extension) that have been tagged using MP3Tag.

The issue is being caused by having all the performers as a comma separated string stuffed into a single performer tag.

Code:
pi@sig:~ $ telnet localhost 6600
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.23.5
lsinfo "USB/VFAT128/Test_mixed/Performer tag/Ptag 01-08 Scn1. Air (A Phlistine) Loud as the thunders awful voice.m4a"
file: USB/VFAT128/Test_mixed/Performer tag/Ptag 01-08 Scn1. Air (A Phlistine) Loud as the thunders awful voice.m4a
Last-Modified: 2022-04-06T14:24:18Z
Format: 44100:f:2
Artist: Handel
Album: Samson
Title: Scn1. Air (A Phlistine): “Loud as the thunder’s awful voice”
Track: 8
Genre: Tag Test
Date: 2019
Composer: Handel
Performer: Tiffin Boys’ Choir, James Day (dir.), Dunedin Consort (Choir & Orchestra), John Butt (dir.) / Joshua Ellicott (Samson -tenor), Jess Dandy (Micah, Friend to Samson -alto-), Matthew Brook (Manoah, Father to Samson -bass-), Vitali Rozynko (Harapha, Gigant -bass-), Sophie Bevan (Dalila, Wife of Samson -soprano-), Hugo Hymas (An Israelite, A Philistine, Messenger -tenor-), Mary Bevan (A Virgin, An Israelite Woman, A Philistine Woman -soprano-), Fflur Wyn (Virgin, A Philistine Woman -soprano-)
Comment: Dunedin Consort, John Butt & Hugo Hymas
Disc: 1
Time: 173
duration: 172.965
OK
Connection closed by foreign host.
pi@sig:~ $

MPD requires individual tags for each artist, performer, genre, etc
https://github.com/MusicPlayerDaemon/MPD...sions/1385
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
(04-06-2022, 10:08 AM)charlesky Wrote: 'Performer' and 'Conductor' tags appear to be interfering with retrieval of 'Artist' or 'Album Artist' data.

I see there have been a few issues with music tags in the past and heartily agree with @TheOldPresbyope that this whole thing is a dumpster fire with no standards. But right now (release 8.0.2) it appears that any files that have a 'Performer' or 'Conductor' tag defined end up being dumped in the 'Unknown Artist'/'Unknown AlbumArtist' category in tag view. This occurs with all of the choices in the 'Tag view artist' field. 

My music is stored on a USB drive connected directly to the Pi. If I edit the file tags (using MP3tag 3.14 on a PC), solely remove the 'Performer' or 'Conductor' tag and update the library then the album turns up correctly listed under the relevant artist in tag view.

I should note that this is happening on AAC files (with the .m4a extension) that have been tagged using MP3Tag.

Ok, I found the place in the code that is causing this and fixed it. 

/var/www/inc/playerlib.php controls the way the library handles tags. If a file doesn't have the 'AlbumArtist' tag defined then it tries to construct this by building an array containing the contents of the 'Artist', 'Performer' and 'Conductor' tags (if they are present). This works fine. Unfortunately, it looks like a trap was built in at some point to catch cases in which a file has multiple 'Artist' tags defined - this is certainly undesirable, though not really fatal - and spit them out as 'Unknown AlbumArtist'. This gets tripped when it encounters the Artist/Performer/Conductor array that was accumulated earlier, which certainly looks like an unintended behaviour. 

The easiest way to fix this is simply to remove the trap. While multiple 'Artist' tags are a bad practice, music tags are such a wild west that it's not unknown, and probably not a good reason to disrupt the way the library is displayed. 

The problem occurs at line 577 in playerlib.php:
Code:
'album_artist' => ($flatData['AlbumArtist'] ? $flatData['AlbumArtist'] : (count($flatData['Artist']) == 1 ? $flatData['Artist'][0] : 'Unknown AlbumArtist')),
I changed this to:
Code:
'album_artist' => ($flatData['AlbumArtist'] ? $flatData['AlbumArtist'] : ($flatData['Artist'][0] ? $flatData['Artist'][0] : 'Unknown AlbumArtist')),
in a freshly-flashed copy of moode and rebuilt the library. Everything now works fine, with no aberrant 'Unknown AlbumArtist' categories. A file will now only get assigned to this if none of 'Album Artist', 'Artist', 'Performer' or 'Conductor' are defined. Since there are no real standards when it comes to music tagging this allows the tag view display to be more flexible to handle different approaches.

If anyone else is bothered by this behaviour and wants to make such a change feel free to PM me, though it's a slightly tricky process doing it from a Windows PC and needs special tools.

[Edit] The same change needs to be made to line 772 since there's a separate function to handle UTF8 encoding.
(04-04-2022, 06:18 AM)dad33 Wrote: Hello community, hello Tim,
2 days ago i update to the new V8.
My Hardware: raspberry pi4B with ALLO Boss DAC2

I always select Mixter Type: Hardware cause it sound better than software.

When i rotate the volume controller the sound stops sometimes, hanging.

In Moode 7 it always works fine.

Is that a bug that might be fixed?

Thank you.

I was able to catch a repro of this on an Audiophonics 9038 DAC. It looks like after starting up  the Hardware mixer which for this particular device s named "Digital" is reporting that it is in the "off" state.

Code:
pi@kef:~ $ amixer sget Digital
Simple mixer control 'Digital',0
 Capabilities: pvolume pvolume-joined pswitch pswitch-joined
 Playback channels: Mono
 Limits: Playback 0 - 100
 Mono: Playback 66 [66%] [-34.00dB] [off]

Ensuring that it's set to "on" during startup seems to fix the intermittent problem where sound cuts out after changing the volume.

Code:
amixer sset "Digital" on
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub


Forum Jump: