12/2/2023 0 Comments Swinsian quotitunes dj![]() ![]() This is kinda slow, so may be worth hitting the files directly and inserting changes into Swinsian's database. I am using AppleScript to push changes back to Swinsian, to get out of having to deal with the UI and other challenges of tag editing. Perhaps link files, or keep track of previously used paths? Could get messy. Handle changing the path to our directory better.But I should warn you when this happens, on sync, if there are files I have never seen in iTunes. I don't think it is my fault, as even dragging the file directly into iTunes doesn't work. There are some files that iTunes silently refuses to import, related to characters in the path name.Send me mail if you have problems, requests or just to let me know you are using it. And I do intend to continue work to clean it up, make it more robust, and add a few features. That said I think other people may have needs similar to mine, so I am releasing it here under the MIT license. It is pretty simple, and may break in bad ways if you are doing something other than my specific workflow (see workflows below). This is a tool I hacked up to fill a need of mine (to get music from Swinsian to my iPhone, and sync back playcounts and ratings). For more see the workflows section below for examples.You can use the above along with -dry-run to get a feel for what sw2iphone will do on the run, with this flag we won't create files on disk (other than temp files, which we clean up), or make changes to the Swinsian database.Whichever is largest will be used, you don't need to include them all. -v or -vv (and super secret option -vvv) will increase the amount of verbosity.This is the sandbox permission request for AppleScript to work with Swinsian. On first run it will probably ask you if you want "Terminal to be able to control Swinsian".We do save the path, you don't have to pass it each time, just when you want to change it. Recommend you set the path to what you want from the start, and if you do change it later, either manually move over the files to the new directory before you run anything with sw2iphone, or start fresh in iTunes. ![]() If you do change the path after mp3s have been created in the old path, be aware that we don't do anything to move them, and they will be recreated next time you export the playlist, and things will get funky (duplicated tracks in iTunes). You can change this by passing in a path after -path.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |