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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ibroadcast_dl-1.1.13.tar.gz.
File metadata
- Download URL: ibroadcast_dl-1.1.13.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f910bc3a6d4fbb29a5a6e8aff37beba05704d8d479322383d3f56dc59ca9f69
|
|
| MD5 |
ce5e195b2fdf1edca13ac03333dd5790
|
|
| BLAKE2b-256 |
1decc75c4b746d3d6d81d0b40ccb08ab6d061b57b63d2aa5c54d14993001e86d
|
Provenance
The following attestation bundles were made for ibroadcast_dl-1.1.13.tar.gz:
Publisher:
release.yml on marcoceppi/ibroadcast-dl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ibroadcast_dl-1.1.13.tar.gz -
Subject digest:
0f910bc3a6d4fbb29a5a6e8aff37beba05704d8d479322383d3f56dc59ca9f69 - Sigstore transparency entry: 173188087
- Sigstore integration time:
-
Permalink:
marcoceppi/ibroadcast-dl@16227e8e18a0ffc6d6fcb72efd057af5677027c6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/marcoceppi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@16227e8e18a0ffc6d6fcb72efd057af5677027c6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ibroadcast_dl-1.1.13-py3-none-any.whl.
File metadata
- Download URL: ibroadcast_dl-1.1.13-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
940c99deac7153bc2e824861d403770a4cd47d072327dfacbba0ba7c1bda0a61
|
|
| MD5 |
f50350db0d30715b2a10df04020349ad
|
|
| BLAKE2b-256 |
49fe89d13549deaa7e11fb10bb3d954406e4375a9166643f54886047e6e31878
|
Provenance
The following attestation bundles were made for ibroadcast_dl-1.1.13-py3-none-any.whl:
Publisher:
release.yml on marcoceppi/ibroadcast-dl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ibroadcast_dl-1.1.13-py3-none-any.whl -
Subject digest:
940c99deac7153bc2e824861d403770a4cd47d072327dfacbba0ba7c1bda0a61 - Sigstore transparency entry: 173188088
- Sigstore integration time:
-
Permalink:
marcoceppi/ibroadcast-dl@16227e8e18a0ffc6d6fcb72efd057af5677027c6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/marcoceppi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@16227e8e18a0ffc6d6fcb72efd057af5677027c6 -
Trigger Event:
push
-
Statement type: