Skip to content

[Bug Report] No User.display_name with Non-Client API #206

@DerKO9

Description

@DerKO9

Related Problem/Issue
Similar to how you can format song file names, I'd like to be able to format playlist file names. I like to add the prefix "Zotify_" to my playlist file names to show that they come from Zotify and are a "read-only" playlist when I import them into my music server. I would also like to include owner in the m3u8 file name so two playlists that share a name but have different owners will not have conflict.

Ideal Solution
There would be a new config option called "OUTPUT_M3U8" which would be a string that has placeholders. The default value would be "{playlist_name}" and placeholder values would be:

  • playlist name
  • playlist id
  • owner display name
  • owner id

If I had the string "Zotify_{owner_display_name}_{name}" and tried downloading my playlist called "Blues", the output would be Zotify_Derko_Blues.m3u8. If my friend "Steve" also had a playlist called "Blues" and wanted to add it to my music server, there would not be an issue because his playlist will be named Zotify_Steve_Blues.m3u8 and my own "Blues" playlist file will not be overwritten now that the owner is apart of the file name.

Additional context
I have a pull request to get this one started #207. I was able to implement 3 out of the 4 placeholders I want.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions