migrate-itunes-to-rhythmbox
migrate-itunes-to-rhythmbox copied to clipboard
Replacement mapping
Hey man,
first of all: I LOVE you. You just saved me a ton of work with this neat tool. :)
Secondly, keep going with Python! I just started using it again, too and almost forgot how beautiful it is (referring to your blog here).
But now on to the reason I opened an issue: I did it by myself now, but I think it would be great to be able to put in a list of replacements. I'm a lazy guy and often do not move the songs I download from YouTube to my Music folder. So to make rhythmbox find them, I needed to replace those paths, too.
Maybe you cold do something like
--source_library_folders=["D:/Music/", "D:/Downloads/"]
--target_library_folders=["~/Music/", "~/Downloads"]
or even better:
--replacements=["D:/Music/":"~/Music/","D:/Downloads/":"~/Downloads"]
I hope you get my idea.
PS: Thank you again for creating this wonderful script!
Hi BlkChockr, thank you so much for your kind words! I'm very happy that this script is of use to others.
And thank you for your feedback and your interesting idea. However, I'm not sure, if we really need this feature. My concerns are:
- I guess most people have they music in a single folder and don't spread them across several locations.
- I already made the experience that the handling of
--source_library_folders
and--target_library_folders
is already confusing for some users. That's why I introduced a troubleshooting section. I don't want to increase the complexity of the usage.
What do you think? But I can be wrong. Maybe many people may like to have this flexibility. In this case we can add it. But I would wait until there are more requests for this feature.
Cheers, Philipp
Sounds good. :) Let's just see if someone gives this a :+1: