You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-17Lines changed: 20 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
# Tubifarry for Lidarr 🎶
2
2

3
3
4
-
Tubifarry is a versatile plugin for **Lidarr** that enhances your music library by indexing from**Spotify**and enabling direct music downloads from **YouTube**. While it is not explicitly a `Spotify-to-YouTube` downloader, it leverages the YouTube API to seamlessly integrate music downloads into your Lidarr setup. Tubifarry also supports **Slskd**, the Soulseek client, as both an **indexer** and **downloader**, allowing you to tap into the vast music collection available on the Soulseek network. 🛠️
4
+
Tubifarry is a plugin for **Lidarr** that adds multiple music sources to your library management. It uses**Spotify's catalog**as an [indexer](https://wiki.servarr.com/en/lidarr/supported#indexers) to search for music, then downloads the actual audio files from **YouTube**. Tubifarry also supports **Slskd**, the Soulseek client, as both an **indexer** and **downloader**, allowing you to tap into the vast music collection available on the Soulseek network. 🛠️
5
5
6
6
Additionally, Tubifarry supports fetching soundtracks from **Sonarr** (series) and **Radarr** (movies) and adding them to Lidarr using the **Arr-Soundtracks** import list feature. This makes it easy to manage and download soundtracks for your favorite movies and TV shows. 🎬🎵
7
7
For further customization, Codec Tinker lets you convert audio files between formats using FFmpeg, helping you optimize your library.⚙️
8
8
9
+
> **Note**: Some details in this documentation may vary from the current implementation.
10
+
9
11
---
10
12
11
13
## Table of Contents 📑
@@ -66,11 +68,10 @@ Tubifarry supports **Slskd**, the Soulseek client, as both an **indexer** and **
66
68
---
67
69
68
70
### YouTube Downloader Setup 🎥
69
-
> #### YouTube Warning ⚠️
70
-
> YouTube may restrict access to Tubifarry, as it is identified as a bot. We appreciate your understanding and patience in this matter.
71
+
> #### YouTube Bot Detection ⚠️
72
+
> YouTube actively detects and blocks automated downloaders. To bypass this, configure the Trusted Session Generator and provide cookie authentication (see setup steps below).
71
73
72
-
Tubifarry allows you to download music directly from YouTube. Follow the steps below to configure the YouTube downloader.
73
-
If you get identified as a bot please set up the trusted session generator and or login with cookies.
74
+
The YouTube downloader extracts audio from YouTube and converts them to audio files using FFmpeg.
74
75
75
76
#### **Configure the Indexer**:
76
77
1. Navigate to `Settings -> Indexers` and click **Add**.
@@ -83,13 +84,14 @@ If you get identified as a bot please set up the trusted session generator and o
83
84
4. **Optional**: If using FFmpeg, ensure the FFmpeg path is correctly configured.
84
85
85
86
#### **FFmpeg and Audio Conversion**:
86
-
1. **FFmpeg**: FFmpeg can be used to extract audio from downloaded files, which are typically embedded in MP4 containers. If you choose to use FFmpeg, ensure it is installed and accessible in your system's PATH or the specified FFmpeg path. If not, the plugin does attempt to download it automatically during setup. Without FFmpeg, songs will be downloaded in their original format, which may not require additional processing.
87
-
88
-
**Important Note**: If FFmpeg is not used, Lidarr may incorrectly interpret the MP4 container as corrupt. While FFmpeg usage is **recommended**, it is not strictly necessary. However, to avoid potential issues, you can choose to extract audio without re-encoding, but this may lead to better compatibility with Lidarr.
89
-
90
-
2. **Max Audio Quality**: Tubifarry supports a maximum audio quality of **256kb/s AAC** for downloaded files through YouTube. While most files are in 128kbps AAC by default, they can be converted to higher-quality formats like **AAC, Opus or MP3v2** if FFmpeg is used.
87
+
1. **FFmpeg**: Required to extract audio from YouTube. The plugin will attempt to download FFmpeg automatically if not found. Without FFmpeg, files will be downloaded in their original format, which Lidarr may cannot properly import.
88
+
- Ensure FFmpeg is in your system PATH or specify its location in settings
89
+
- Used for extracting audio tracks and converting between formats
91
90
92
-
**Note**: For higher-quality audio (e.g., 256kb/s), you need a **YouTube Premium subscription**.
91
+
2. **Audio Quality**: YouTube provides audio at various bitrates:
92
+
- Standard quality: 128kbps AAC (free users)
93
+
- High quality: 256kbps AAC (YouTube Premium required)
94
+
- The plugin can convert to other formats (MP3, Opus) using FFmpeg
93
95
94
96
---
95
97
@@ -110,7 +112,7 @@ To enable this feature:
110
112
111
113
### Queue Cleaner 🧹
112
114
113
-
The **Queue Cleaner** automatically processes items in your Lidarr queue that have **failed to import**. It ensures your library stays organized by handling failed imports based on your preferences.
115
+
The **Queue Cleaner** automatically handles downloads that fail to import into your library. When Lidarr can't import a download (due to missing tracks, incorrect metadata, etc.), Queue Cleaner can rename files based on their embedded tags, retry the import, blocklist the release, or remove the files.
114
116
115
117
1. **Key Options**:
116
118
- *Blocklist*: Choose to remove, blocklist, or both for failed imports.
@@ -127,7 +129,7 @@ The **Queue Cleaner** automatically processes items in your Lidarr queue that ha
127
129
128
130
### Codec Tinker 🎛️
129
131
130
-
**Codec Tinker** is a feature in Tubifarry that lets you **convert audio files** between different formats using FFmpeg. Whether you want to standardize your library or optimize files for specific devices, Codec Tinker makes it easy to tinker with your audio formats.
132
+
**Codec Tinker** automatically converts audio files between formats using FFmpeg when they're imported into your library. You can set up rules to convert specific formats (e.g., convert all WAV files to FLAC, or convert high-bitrate AAC to MP3). Note: Lossy formats (MP3, AAC) cannot be converted to lossless formats (FLAC, WAV) as quality cannot be restored.
131
133
132
134
#### How to Enable Codec Tinker
133
135
@@ -157,7 +159,7 @@ The **Queue Cleaner** automatically processes items in your Lidarr queue that ha
157
159
158
160
### Lyrics Fetcher 📜
159
161
160
-
**Lyrics Fetcher** is a feature that lets you **download synchronized lyrics for tracks**. It uses LRCLIB to fetch time-synced lyrics that highlight each line as it's sung, enhancing your music experience whether you want to sing along with friends or enjoy music on your own.
162
+
**Lyrics Fetcher** automatically downloads lyrics for your music files. It fetches synchronized lyrics from LRCLIB and plain lyrics from Genius. Lyrics can be saved as separate .lrc files and embedded directly into the audio files' metadata.
161
163
162
164
#### How to Enable Lyrics Fetcher
163
165
@@ -177,7 +179,7 @@ You can configure the following options:
177
179
178
180
### Search Sniper 🏹
179
181
180
-
**Search Sniper** strategically automates your music searches when you have a large wanted list. Instead of overwhelming your system by searching for all items at once or manually navigating through pages, Search Sniper intelligently processes your wanted list in batches at regular intervals, optimizing search performance.
182
+
**Search Sniper** automatically triggers searches for missing albums in your wanted list. Instead of searching for everything at once, which can overload indexers, it randomly selects a few albums from your wanted list at regular intervals and searches for them. It keeps track of what has been searched recently to avoid repeating searches too often.
181
183
182
184
#### How to Enable Search Sniper
183
185
@@ -196,7 +198,7 @@ You can configure the following options:
196
198
197
199
### Custom Metadata Sources 🧩
198
200
199
-
Tubifarry now offers additional metadata sources beyond MusicBrainz, including **Discogs**and **Deezer**. These alternative sources can provide richer artist information, album details, and cover art that might be missing from the default metadata provider. **Note**: This feature is experimental and should not be used on production systems where stability is critical. Please report any issues you encounter to help improve this feature.
201
+
Tubifarry can fetch metadata from additional sources beyond MusicBrainz, including **Discogs**, **Deezer**, and **Last.fm**. These sources can provide additional artist information, album details, and cover art when MusicBrainz data is incomplete. The MetaMix feature intelligently combines data from multiple sources to create more complete metadata profiles.
200
202
201
203
#### How to Enable Individual Metadata Sources
202
204
@@ -246,7 +248,8 @@ The feature currently works best with artists that are properly linked across di
2. Log in to YouTube and save the `cookies.txt` file in a folder accessible by Lidarr.
248
250
3. In Lidarr, go to **Indexer and Downloader Settings** and provide the path to the `cookies.txt` file.
249
-
4. **Trusted Session Generator**: This tool ([available here](https://github.com/iv-org/youtube-trusted-session-generator)) creates authentication tokens that appear more like a regular browser session to YouTube. It helps bypass YouTube's bot detection by.
251
+
4. **Trusted Session Generator**: Creates authentication tokens that mimic regular browser sessions to bypass YouTube's bot detection.
252
+
- It generates tokens locally, which requires Node.js installed and available in your system's PATH
250
253
251
254
The combination of cookies and trusted sessions significantly improves success rates when downloading from YouTube, and can help access higher quality audio streams.
0 commit comments