Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/serene-arc/itunes-2-cmus
Tool for converting iTunes playlist to cmus playlist
https://github.com/serene-arc/itunes-2-cmus
Last synced: 7 days ago
JSON representation
Tool for converting iTunes playlist to cmus playlist
- Host: GitHub
- URL: https://github.com/serene-arc/itunes-2-cmus
- Owner: Serene-Arc
- Created: 2020-02-27T01:08:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-22T03:17:42.000Z (3 months ago)
- Last Synced: 2024-08-22T04:31:24.992Z (3 months ago)
- Language: Python
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# itunes-2-cmus
This is a tool for converting iTunes playlists into a format that can be used by cmus. Cmus playlists are simply the file locations of each of the songs so it's a fairly simple script to extract these from the iTunes playlist file.
## Arguments
There are three different arguments to the script:
- `playlist`
- `mount`
- `--mountfolder`The `playlist` argument is the file location of the playlist that was exported from iTunes.
The `mount` argument is the path to the mount point of the drive with the music on it. For me, this was the windows drive that had my old OS.
The `--mountfolder` argument is optional and is for if the drive is not mounted to the root directory. For example, I made a symbolic link between my music folder on Linux and the music drive on the Windows partition. In this case, this argument would be the Windows path up to the symlinked directory.
## Example Command
`python3 itunes-2-cmus ~/example_playlist.xml /media/windows --mountfolder 'Users/Example_User/Music/iTunes'`