Skip to main content

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.

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.

CLI

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ibroadcast_dl-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

ibroadcast_dl-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file ibroadcast_dl-0.1.0.tar.gz.

File metadata

  • Download URL: ibroadcast_dl-0.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for ibroadcast_dl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c03d24c9f1631d3c40c45a4e983c9c5b0512caad3e4657addbc3b778f1c90417
MD5 048d32e6ada30603bbb6929749da69d8
BLAKE2b-256 f906419a8de9d41d86237fb2c2bfffc5318789548825de0c20c2511334696c34

See more details on using hashes here.

Provenance

File details

Details for the file ibroadcast_dl-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ibroadcast_dl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.10 Linux/5.15.133.1-microsoft-standard-WSL2

File hashes

Hashes for ibroadcast_dl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b610e04c966d9f0629e928a5f4d8d0b3352e9a93867816615aac8a128b7446b3
MD5 64239e888f4cc456cb8dfaa2766fc85a
BLAKE2b-256 ea4e920e35b5c382274920cd63e7adc2c98f83c7cfbaa5446f1a93d00634d2a3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page