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

Request: better playlist portability #529

Open
0chroma opened this issue Jul 20, 2024 · 0 comments · May be fixed by #537
Open

Request: better playlist portability #529

0chroma opened this issue Jul 20, 2024 · 0 comments · May be fixed by #537

Comments

@0chroma
Copy link

0chroma commented Jul 20, 2024

I like that gonic stores everything as files, but the playlist files it writes use absolute paths, which might change between machines.

It'd be nice if you could specify a custom prefix. For example, I have the following directory structure:

Music/
├── Playlists/
│   └── 1
│       └── playlist1.m3u8
├── Podcasts/
└── Artist 1
       └── Album 1
           ├── 01.song.flac
           └── folder.jpg

It would be nice if I could set the prefix to be ../../ in this case so that the playlists would work even if the absolute path of Music/ changed. The default prefix could just be GONIC_MUSIC_PATH in order to stay consistent with existing behavior.

@0chroma 0chroma changed the title custom prefix for paths inside playlist Request: custom prefix for paths inside playlist Jul 20, 2024
@0chroma 0chroma linked a pull request Sep 7, 2024 that will close this issue
@0chroma 0chroma changed the title Request: custom prefix for paths inside playlist Request: better playlist portability Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants