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

Error: UnexpectedField "Last-Modified" on directory #7

Closed
cassava opened this issue Apr 27, 2021 · 1 comment
Closed

Error: UnexpectedField "Last-Modified" on directory #7

cassava opened this issue Apr 27, 2021 · 1 comment

Comments

@cassava
Copy link
Contributor

cassava commented Apr 27, 2021

Fetching the songs from my database gives me:

Error: InvalidTypedResponse(TypedResponseError { field: "file", kind: UnexpectedField("Last-Modified") })

I tracked down the point where it occurs in the code and then checked the actual frame.
Looks something like this:

parse_frame:
- directory: The Lumineers
- Last-Modified: 2021-04-27T08:24:23Z
- directory: The Lumineers/Cleopatra
- Last-Modified: 2021-02-22T13:09:32Z
- file: The Lumineers/Cleopatra/01-Sleep on the Floor.flac
- Last-Modified: 2021-02-22T11:08:42Z
- Format: 44100:16:2
- Title: Sleep on the Floor
- Artist: The Lumineers
- AlbumArtist: The Lumineers
- Album: Cleopatra
- Disc: 1
- Date: 2016
- Track: 1
- Genre: Folk Pop
- Time: 213
- duration: 212.800

I have a PR in the works to resolve this.

cassava added a commit to cassava/mpd_client that referenced this issue Apr 27, 2021
elomatreb added a commit that referenced this issue Apr 28, 2021
@elomatreb
Copy link
Owner

Closed via #8 (thanks!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants