Tool to download Podcasts from RSS feed to Shokz OpenSwim headphones. It does the transmission of the files in a specific order as it is an important criterion for playback sequence on OpenSwim.
Need only if you want to use --split option.
Install ffmpeg
:
- On Mac:
brew install ffmpeg
Install .NET tool:
dotnet tool install --global shokz
Verify the installation:
shokz --help
Update .NET tool:
dotnet tool update --global shokz
Check version:
shokz --version
- Make sure you plug in your OpenSwim headphones to your machine via USB.
- Run the shokz command in the terminal with parameters to download Podcast to OpenSwim.
shokz [<URI>] [-o|--output <OUTPUT>] [-s|--split <DURATION>]
URI
One of the values:- URL to RSS feed with Podcast.
- Path to a local folder with downloaded Podcast.
-o|--output
Root path to download podcasts.
Default values:- Mac:
/Volumes/OpenSwim
- Other platforms: not specified
- Mac:
-s|--split
Duration of the split chunks.
Duration type is controlled by the value suffix:m
, no suffix: minutes will be used. For example:30m
and30
will be parsed as 30 minutes.s
: seconds will be used. For example:30s
will be parsed as 30 seconds.
shokz https://valchetski.github.io/shokzopenswim/samplerss.xml
shokz https://valchetski.github.io/shokzopenswim/samplerss.xml -o /Volumes/OpenSwim/Podcasts
shokz /Users/%yourusername%/Downloads/CoolPodcast
shokz /Users/%yourusername%/Downloads/CoolPodcast -s 30