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

Renamer: Allow replacing spaces with other delimiters #1082

Closed
bugwelle opened this issue Dec 14, 2020 · 4 comments
Closed

Renamer: Allow replacing spaces with other delimiters #1082

bugwelle opened this issue Dec 14, 2020 · 4 comments

Comments

@bugwelle
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Spaces in filenames are sometimes not wanted. It should be possible to replace them with other delimiters.

Describe the solution you'd like
I want to be able to replace spaces with _, . and other characters.

Additional context
Requested on the Kodi Forum. See https://forum.kodi.tv/showthread.php?tid=136333&pid=2995289#pid2995289

@norg
Copy link

norg commented Jan 14, 2022

I would also like this feature :) I migrated my DB from TMM to MediaElch now and quite happy. Currently I run a bash script to convert the spaces to underscore.

Can you give some hints for someone new to the project but willing to try to implement it?

@bugwelle
Copy link
Collaborator Author

Hi,

thank you very much for your interest in MediaElch. :-)

There are few files that are of interest. RenamerDialog.cpp (+.h and .ui) as well as Renamer.cpp and its variants (MovieRenamer.cpp, ConcertRenamer.cpp etc) in src/renamer).

You'd need to change the UI to add a way to configure space->char transformation as well as need to modify the appropriate classes (MovieRenamer, etc).

For building MediaElch, see https://mediaelch.github.io/mediaelch-doc/contributing/build/index.html

Regards,
Andre

@taniashafiei
Copy link
Contributor

Hello, I also found this feature interesting and I implemented it in the PR #1827 :D .

@bugwelle
Copy link
Collaborator Author

bugwelle commented Dec 7, 2024

Implemented by @taniashafiei

The next snapshot version will contain this feature :)

@bugwelle bugwelle closed this as completed Dec 7, 2024
@bugwelle bugwelle modified the milestones: planned, v2.12.2 Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants