Download / Sync library from iBroadcast on Linux machines
Project description
iBroadcast Download / Sync
This project was born from a need to download my library from iBroadcast onto my linux machine. Only the OSX and Windows app support this functionality. This project uses the existing ibroadcast-python library and extends the iBroadcast
class to add a download_library
method.
In addition to using this as a Python library, it also has a small CLI to help automate doing library downloads.
Usage
This project can be used as both a Python library and CLI.
CLI
Installation
pipx
pipx is available for Linux, OSX, and Windows. Follow the install instructions first for pipx then the following:
pipx install ibroadcast-dl
Usage
To use the CLI, run the ibroadcast-dl
command:
ibroadcast-dl --username ibroadcast@email.tld ~/Music/
This will open a progress bar - if your library is large it'll take several hours to sync. If you connection is slow try turing down the number of tracks it downloads at a time (defaults 50) to something around 10:
ibroadcast-dl -u ibroadcast@email.tld -x 10 ~/Music/
Python Library
The module has the same method sigrnatures and usage as the ibroadcast-python
library with the addition of a download_library
method.
>>> import ibroadcastdl
>>> ib = ibroadcastdl.iBroadcastDL("email", "password")
>>> download_dir = "./Music"
>>> offset = 0
>>> while offset < len(ib.tracks):
... ib.download_library(offset, 50, download_dir)
... offset = offset + 50
This will download the entire library 50 tracks at a time.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ibroadcast_dl-1.1.0.tar.gz
.
File metadata
- Download URL: ibroadcast_dl-1.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecedc10a13b8eb3676a171a22426fb50cec10d30f240fc5f20b7c56748938014 |
|
MD5 | f33cc0ddd5c9d8e81d7645e78b85ce38 |
|
BLAKE2b-256 | d1b827c1be9845f2747a91a9297731808150a90f08f03293b6147aaa1ab65a33 |
Provenance
File details
Details for the file ibroadcast_dl-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: ibroadcast_dl-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe6deb8ab470a84fa36831e0d146e7c0d70245d1eba98ad95e236e0425ee6704 |
|
MD5 | 66f5baf52b6a9b1a4e1110502005251e |
|
BLAKE2b-256 | cdd4b2be82e97a126fee6dbce1d5e53e6d7ea201cb7e48681717e3a762bb2031 |