- Fix avformat_info duration: store in SAMPLES not ms (firmware uses this to determine playback length; wrong units caused tracks to stop at ~3-11 seconds) - Add Locations.itdb insert/delete for each track (ipod_path mapping) - Add sync_locations_cbk() with HASHAB signing via WASM module - Detect FirewireGuid from SysInfo for cbk header signature - Add duplicate detection in add_track (title+artist match, skip if exists) - Add get_orphaned_files() and delete_orphaned_files() for cleanup - Sync cbk after every add/delete operation
An open-source Python tool that enables direct transfer of YouTube music/playlists to iPod Nano, bypassing iTunes. This application combines YouTube audio extraction, format conversion, metadata management, and direct device transfer while adhering to iPod Nano's technical specifications.
Features
- Download audio from YouTube videos/playlists
- Convert to iPod-compatible formats (AAC/M4A)
- Automatic metadata handling (title, artist, album art)
- Direct transfer to iPod Nano
- Cross-platform support (Windows, macOS, Linux)
Installation
- Clone this repository:
git clone https://github.com/yourusername/youtube-to-ipod-nano.git
cd youtube-to-ipod-nano
- Install dependencies:
pip install -r requirements.txt
- Install FFmpeg (required for audio conversion):
- macOS:
brew install ffmpeg - Linux:
sudo apt-get install ffmpeg - Windows: Download from FFmpeg website
- macOS:
Usage
GUI Application
Run the application:
python src/main.py
Command Line Interface
python src/cli.py --url "https://www.youtube.com/watch?v=VIDEO_ID" --output-dir "/path/to/ipod"
Options:
--url: YouTube video or playlist URL--output-dir: Output directory (iPod mount point)--format: Audio format (default: m4a)--quality: Audio quality in kbps (default: 256)--video: Enable video download (for compatible iPod models)
Legal Disclaimer
This tool is intended for personal use only. Users are responsible for complying with YouTube's Terms of Service and copyright laws. Please only download content that you have the right to access and use.
License
MIT License
Description
Languages
Python
98.4%
Shell
1.4%
Batchfile
0.2%