ruby-mpd
ruby-mpd copied to clipboard
.songs returns empty array despite reporting 200k songs
Any idea why I would always get an empty string when using mpd.songs. When using ympd it shows a database, and mpd stats even report back that it has songs. I can do mpd.albums and mpd.artists and it gives the exepcted output but songs is empty. Is it that I have too many songs?
mpd.stats
=> {:uptime=>2930, :playtime=>0, :artists=>2169, :albums=>1772, :songs=>201361, :db_playtime=>29261847, :db_update=>2016-02-01 23:44:27 +0100}
Can you try the latest version from the repo, or manually apply https://github.com/Phrogz/ruby-mpd/commit/54741ab83f8a69db10a359a626af5be3aa2f2379 locally? I suspect that will fix your problem.
I will be attempting this soon, thank you for the suggestion. I will report the results when I complete it.
If that fixes it, I'll do a new gem release soon, was just planning on merging all PRs by @Phrogz first :)
Maybe this is related to #80?