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

[Issue]: Can not create collections with ":" (colon) in name if config directory is on an exfat drive #8770

Open
1 task done
TheHYPO35 opened this issue Nov 18, 2022 · 5 comments
Labels
bug Something isn't working confirmed This issue has been reviewed and confirmed

Comments

@TheHYPO35
Copy link

TheHYPO35 commented Nov 18, 2022

Please describe your bug

I recently moved my config folder onto an exfat drive for better performance and redundancy. I was unable to move collection folders over that contained a colon, as that is a prohibited character in exfat file/folder names.

Since the move, I can not create new collections with a colon in the name. If I try, the GUI just gives me a "busy" spinner indefinitely and the collection is not created. Presumably this is because collection folders are created with the actual collection name (as opposed to shows or movies where config folders are hashes). I also assume this would be true for other prohibited characters, but I didn't actually try any.

As a workaround, I can create collections without the colon, then rename them to add the colon (this does not rename the folder, so it works), but there should be at least an error message generated, or better yet, a character substitution algorithm for the folder name for potentially prohibited characters to avoid the error.

Jellyfin Version

Other

if other:

10.8.7

Environment

- OS: Debian
- Virtualization: Docker
- Clients: Jellyfin media player
- Browser: Chrome
- Plugins: AudioDB, Cover Art Archive, Fanart, MusicBrainz, OMDB, Open subtitles, studio images, tmdb, tvmaze, thetvdb
- Storage: local SD card, Local attached storage (USB drive)

Jellyfin logs

[ERR] [286] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: Invalid argument : '/config/data/collections/Test: collection [boxset]'. URL POST /Collections.

FFmpeg logs

No response

Please attach any browser or client logs here

No response

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@TheHYPO35 TheHYPO35 added the bug Something isn't working label Nov 18, 2022
@ArceyTheSecond
Copy link

I think I'm running into something similar, with an ExFat disk and the attempt to use '&' in a title.

/var/lib/jellyfin/data/collections/Asterix & Obelix Collection [boxset]

Which results in;
image

@jellyfin-bot
Copy link

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot jellyfin-bot added the stale Stale and will be closed if no activity occurs label May 14, 2023
@ArceyTheSecond
Copy link

Still relevant to me.

@jellyfin-bot jellyfin-bot removed the stale Stale and will be closed if no activity occurs label May 15, 2023
@jellyfin-bot
Copy link

This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.

If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.

This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.

@jellyfin-bot jellyfin-bot added the stale Stale and will be closed if no activity occurs label Sep 13, 2023
@jellyfin-bot jellyfin-bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2023
@Shadowghost Shadowghost reopened this Oct 4, 2023
@Shadowghost Shadowghost added confirmed This issue has been reviewed and confirmed and removed stale Stale and will be closed if no activity occurs labels Oct 4, 2023
@Shadowghost
Copy link
Contributor

Likely happening due to the collection file being written to the file system which does not support colons. Should be fixed by escaping the XML filename but might result in more edge cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed This issue has been reviewed and confirmed
Projects
None yet
Development

No branches or pull requests

4 participants