Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to list by various valid tags #29

Closed
kingosticks opened this issue Apr 17, 2020 · 2 comments
Closed

Unable to list by various valid tags #29

kingosticks opened this issue Apr 17, 2020 · 2 comments
Assignees
Labels
C-bug Category: This is a bug

Comments

@kingosticks
Copy link
Member

Running the command:

list title

should list all track names but it errors with:

LocalBackend-3 ERROR 2020-04-17 23:06:06,116 Error getting distinct track: Invalid search field: track

And that's because we are incorrectly mapping MPD's 'title' tag to 'track' instead of 'track_name' but Mopidy-Local is rightly expecting 'track_name'.

Also the tags 'track' and 'file' (and 'filename') are not supported. For example, running the command:

list track

should list all the track numbers but it errors with:

ACK [2@0] {list} Unknown tag type: track

Those are just missing from the mapping structure.

@LevitatingBusinessMan
Copy link
Contributor

Seems like you had already fixed the title tag?

I think for file and track (regarding the track number) we need changes in mopidy as well? Regarding this dictionary: https://github.com/mopidy/mopidy/blob/develop/mopidy/internal/validation.py#L34-L43.

@kingosticks
Copy link
Member Author

kingosticks commented Jan 20, 2022

One of those tagged issues is about the Mopidy changes. It's currently blocked on something I started and didn't finish. I'll try and take a look later.

kingosticks added a commit to kingosticks/mopidy-mpd that referenced this issue Jan 21, 2022
kingosticks added a commit to kingosticks/mopidy-mpd that referenced this issue Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

3 participants