ericdaugherty/itunesexport-go

Unclear usage of "musicPath" and "musicPathOrig"

Closed this issue · 2 comments

I'd like to do the following:

itunesexport64.exe -library "\\192.168.178.3\maik\itunes\Mediathek.xml" -output c:\temp -includePlaylistWithRegex ".+Mandingo.+" -copy PLAYLIST -musicPath '\\192.168.178.3\maik\itunes' -musicPathOrig /192.168.178.3/maik/itunes

So the idea is that in the "Location", "/192.168.178.3/maik/itunes" is replaced with "'\192.168.178.3\maik\itunes'. However, these parameters only seem to have an effect when the copy mode is NONE. Is there a reason for that? What is the intent of these params?

I was able to get the example running by copying the strings.Replace call into here so it could work but I am not sure if I understand the reasoning behind the params correctly.

Thanks for the PRs. I think this is addressed but let me know if you still have questions.

Thanks Eric for the quick review and approval 👍