Coder Social home page Coder Social logo

songs not listed about ympd HOT 14 CLOSED

notandy avatar notandy commented on September 23, 2024
songs not listed

from ympd.

Comments (14)

 avatar commented on September 23, 2024

I have the exact same problem with various flacs albums of my collection. When I browse the database, I click on an album directory and it shows empty. If I click add the whole directory it's ok and the songs appear in queue. In addition I can normally see the files in directories using MPdroid or other clients.

Please feel free to ask me for anything additional that will help you debug.

from ympd.

notandy avatar notandy commented on September 23, 2024

Could you send me some information about the filenames and tags of the affected files? I couldn't reproduce it yet

from ympd.

sedrubal avatar sedrubal commented on September 23, 2024

ok. For example there is a folder called "Hardwell". It contains 138 songs.
One song is like this:

Artist:  HARDWELL
Titel:     Adrian Lux ft. Rebecca & Fiona - Boy (Hardwell Remix)
Length:     2:23
Genre:     Progressive House
Path:       Hardwell/Adrian Lux ft. Rebecca & Fiona - Boy (Hardwell Remix).mp3
MPD Statistic
Artist Count:      630
Album Count:         853
Songs Count:        9887

from ympd.

 avatar commented on September 23, 2024

Hi,

the latest issue was with the following:

file name : 01 Brando.flac
directory: Scott Walker + Sunn O))) - Soused [2014] CD FLAC
tags: http://s17.postimg.org/zefkkht73/bug_1.jpg

from ympd.

yjokawa avatar yjokawa commented on September 23, 2024

Hi,

First of all, thank you for this great mpd client!

I also have the same trouble.
When I first build ympd in March, the binary works completely.
However, when I build it in August, the bug appeared.
I suppose that mongoose 5.6 causes this problem, but I don't have any direct evidence.

Regards,
yjo

from ympd.

yjokawa avatar yjokawa commented on September 23, 2024

When returning no song info, mpd gives the following error:
MPD mpd_send_list_meta: Not found
MPD connection failed.

from ympd.

tedigh avatar tedigh commented on September 23, 2024

Hi,
In my case, the folders / songs those contain "comma" in their names are missing.
I find the calls of strtok() in mpd_client.c do wrong with them.
The removal of 4ba3e0b seems to be one of the solutions.

from ympd.

LordMyschkin avatar LordMyschkin commented on September 23, 2024

thats exactly the same bug I filed under issue #106.
Commas may be part of the problem, but I also do not see a file named "01_-johannes_brahms-_klavierkonzert_nr._1-_maestoso.mp3"
If you want to reproduce the problem, I send you the link to my library - or some of my files...
Please let me know if I can be of any help - or point me to the best IDE to debug ympd on the raspberry....

from ympd.

tedigh avatar tedigh commented on September 23, 2024

I found at least some special characters in the directory names cause this issue.
try the both.
sed -i 's/codeURI/codeURIComponent/g' htdocs/js/mpd.js
revert 4ba3e0b (merge conflict needs to be resolved by hand)

from ympd.

SuperBFG7 avatar SuperBFG7 commented on September 23, 2024

I just ran into this as well and created a fix: #116
it's already included in my fork

from ympd.

LordMyschkin avatar LordMyschkin commented on September 23, 2024

Thank you so much, @SuperBFG7; it works finally!

from ympd.

SuperBFG7 avatar SuperBFG7 commented on September 23, 2024

You're welcome. Thanks @tedigh for pointing me in the right direction.

from ympd.

yjokawa avatar yjokawa commented on September 23, 2024

Thank you, SuperBFG7!
I also succeeded. Your fix works very well!!

from ympd.

notandy avatar notandy commented on September 23, 2024

should be fixed now

from ympd.

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.