Code Monkey home page Code Monkey logo

Comments (14)

edhelas avatar edhelas commented on June 3, 2024

Hi, sorry to bother you again but I updated to the 11.0.3 version and it seems that I still have the counter set to 0 for some of my albums.

image

Regards

from mympd.

jcorporation avatar jcorporation commented on June 3, 2024

You must force the recreation of the album cache. You can do it in the maintenance dialog.

from mympd.

edhelas avatar edhelas commented on June 3, 2024

Thanks, will do 👍

from mympd.

mgonzalezm avatar mgonzalezm commented on June 3, 2024

For me all the albums are shown as having '1 Disc', including the ones with more than 1 CD

All my music are FLAC files, and only the multi disc albums have the DISC=n vorbis tag. The disc tag is enabled in mpd.

what could be the problem?

from mympd.

jcorporation avatar jcorporation commented on June 3, 2024

MPD shows the tracks with the correct disc number?

from mympd.

mgonzalezm avatar mgonzalezm commented on June 3, 2024

Yes.

mpc --format='%disc% %track%_%title%' search '((artist == "Amy Winehouse") AND (album == "Back to Black"))'
1 1_Rehab
1 2_You Know I'm No Good
1 3_Me & Mr Jones
1 4_Just Friends
1 5_Back to Black
1 6_Love Is a Losing Game
1 7_Tears Dry on Their Own
1 8_Wake Up Alone
1 9_Some Unholy War
1 10_He Can Only Hold Her
1 11_Addicted
2 1_Valerie
2 2_Cupid
2 3_Monkey Man
2 4_Some Unholy War
2 5_Hey Little Rich Girl
2 6_To Know Him Is to Love Him
2 7_Love Is a Losing Game (original demo)

from mympd.

jcorporation avatar jcorporation commented on June 3, 2024

I will check this after my holiday.

from mympd.

mgonzalezm avatar mgonzalezm commented on June 3, 2024

Sure, no rush. Enjoy

In the mean time I did a little debugging, and found out that this function call is always returning NULL

if ((disc = mpd_song_get_tag(song, MPD_TAG_DISC, 0)) != NULL) {

maybe the custom library libmpdclient that is included in the project in to blame?

from mympd.

jcorporation avatar jcorporation commented on June 3, 2024

Have you enabled the disc tag in myMPD? Displays myMPD in other places the right disc number?

from mympd.

mgonzalezm avatar mgonzalezm commented on June 3, 2024

Yes the disc tag is enabled in the settings.

In the album details it displays the disc number, but not when browsing.
album
album-detail

from mympd.

jcorporation avatar jcorporation commented on June 3, 2024

Ok, I think I know the root cause. myMPD does not enable the disc tag for building the album cache.

from mympd.

GK-774 avatar GK-774 commented on June 3, 2024

"it is quite common to not have any "disc" tag in the files", yes correct, and if there are none then none should be displayed (e.g. with a line, like in the play view when a tag is enabled but not present).
Showing an invented disc number if there is none (and no physical CD involved) is not correct, IMHO.

from mympd.

jcorporation avatar jcorporation commented on June 3, 2024

I add an option how myMPD should interpret a missing disc tag.

from mympd.

jcorporation avatar jcorporation commented on June 3, 2024

Bug is fixed, the switch will be added for the 12.0.0 release.

from mympd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.