Tubifarry is a Lidarr plugin that enhances your music library by fetching music from YouTube, integrating with Slskd for Soulseek access, automating Spotify playlist imports, converting files, and retrieving soundtracks from Radarr and Sonarr.
1,028
stars
12
commits
C#
primary language
Sep 7, 2026
updated
Tubifarry is a plugin for Lidarr that adds multiple music sources to your library management. It uses Spotify's catalog as an indexer 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. π οΈ
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. π¬π΅ For further customization, Codec Tinker lets you convert audio files between formats using FFmpeg, helping you optimize your library.βοΈ
Note: Some details in this documentation may vary from the current implementation.
Follow the steps below to get started.
System -> Plugins.https://github.com/TypNull/Tubifarry into the GitHub URL box and click Install.Tubifarry supports Slskd, the Soulseek client, as both an indexer and downloader. Follow the steps below to configure it.
Settings -> Indexers and click Add.Slskd from the list of indexers.http://localhost:5030).Settings -> Download Clients and click Add.Slskd from the list of download clients.Remote Path settings.YouTube Bot Detection β οΈ
YouTube actively detects and blocks automated downloaders. To bypass this, configure the Trusted Session Generator and provide cookie authentication (see setup steps below).
The YouTube downloader extracts audio from YouTube and converts them to audio files using FFmpeg.
Settings -> Indexers and click Add.Tubifarry (located under Other at the bottom).Settings -> Download Clients and click Add.Youtube from the list of download clients.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.
Audio Quality: YouTube provides audio at various bitrates:
Tubifarry supports multiple web clients. These are web services that provide music. Some work better than others and Tubifarry is not responsible for the uptime or stability of these services.
All clients share the same base architecture, making it relatively straightforward to add new ones. The Subsonic Indexer and Client is a generic client, making it possible for any online service to connect with it. The Subsonic specifications are documented on the API page.
If you have a suggestion to add a web client and the service does not want to support Subsonic as a generic indexer, please open a feature request.
Tubifarry also supports fetching soundtracks from Sonarr (for TV series) and Radarr (for movies) and adding them to Lidarr using the Arr-Soundtracks import list feature. This allows you to easily manage and download soundtracks for your favorite movies and TV shows.
To enable this feature:
Set Up the Import List:
Settings -> Import Lists in Lidarr.Enjoy Soundtracks:
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.
Key Options:
How to Enable:
Settings -> Connect in Lidarr.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.
Settings > Metadata in Lidarr.Set Default Conversion Settings
Target Format: Choose the default format for conversions (e.g., FLAC, Opus, MP3).
Custom Conversion Rules:
Define rules like wav -> flac, AAC>=256k -> MP3:300k or all -> alac for more specific conversions.
Custom Conversion Rules On Artists:
Define tags like opus-192 for one specific conversion on all albums of an artist.
Note: Lossy formats (e.g., MP3, AAC) cannot be converted to non-lossy formats (e.g., FLAC, WAV).
Enable Format-Specific Conversion Toggle checkboxes or use custom rules to enable conversion for specific formats:
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.
Settings > Metadata in Lidarr.You can configure the following options:
.lrc files that contain time-synced lyrics.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. Search Sniper can be triggered manually from the Tasks tab.
Settings > Metadata in Lidarr.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.
Settings > Metadata in Lidarr.MetaMix is an advanced feature that intelligently combines metadata from multiple sources to create more complete artist profiles. It can fill gaps in one source with information from another, resulting in a more comprehensive music library.
Settings > Metadata in Lidarr.The feature currently works best with artists that are properly linked across different metadata systems. Which is typically the case on MusicBrainz.
Similar Artists lets you discover related artists using Last.fm's
recommendation data directly in Lidarr's search. Search for an artist
with the ~ prefix and get back a list of similar musicians ready to
be added to your library.
Settings > Metadata in Lidarr.Examples:
similar:Pink Floyd~20244d07-534f-4eff-b4d4-930878889970Slskd Download Path Permissions: Ensure Lidarr has read/write access to the Slskd download path. Verify folder permissions and confirm the user running Lidarr has the necessary access. For Docker setups, double-check that the volume is correctly mounted and permissions are properly configured.
FFmpeg Issues (Optional): If you're using FFmpeg and songs fail to process, ensure FFmpeg is installed correctly and accessible in your system's PATH. If issues persist, try reinstalling FFmpeg or downloading it manually.
Metadata Issues: If metadata isn't being added to downloaded files, confirm the files are in a supported format. If using FFmpeg, check that it's extracting audio to compatible formats like AAC embedded in MP4 containers. Review debug logs for further details.
No Release Found: If no release is found, YouTube may flag the plugin as a bot. To avoid this and access higher-quality audio, use a combination of cookies and the Trusted Session Generator:
cookies.txt file in a folder accessible by Lidarr.cookies.txt file.The combination of cookies and trusted sessions significantly improves success rates when downloading from YouTube, and can help access higher quality audio streams.
No Lyrics Imported:
To save .lrc files (lyric files), navigate to Media Management > Advanced Settings > Import Extra Files and add lrc to the list of supported file types. This ensures lyric files are imported and saved alongside your music files.
Unsupported Formats: Verify custom rules and target formats.
Special thanks to trevTV for laying the groundwork with his plugins. Additionally, thanks to IcySnex for providing the YouTube API. π
If you'd like to contribute to Tubifarry, feel free to open issues or submit pull requests on the GitHub repository. Your feedback and contributions are highly appreciated!
Tubifarry is licensed under the MIT License. See the LICENSE file for more details.
Enjoy seamless music downloads with Tubifarry! π§
Hacker News (1)
C#
100.0%
Tubifarry is a Lidarr plugin that enhances your music library by fetching music from YouTube, integrating with Slskd for Soulseek access, automating Spotify playlist imports, converting files, and retrieving soundtracks from Radarr and Sonarr.
1,028
stars
12
commits
C#
primary language
Sep 7, 2026
updated
Tubifarry is a plugin for Lidarr that adds multiple music sources to your library management. It uses Spotify's catalog as an indexer 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. π οΈ
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. π¬π΅ For further customization, Codec Tinker lets you convert audio files between formats using FFmpeg, helping you optimize your library.βοΈ
Note: Some details in this documentation may vary from the current implementation.
Follow the steps below to get started.
System -> Plugins.https://github.com/TypNull/Tubifarry into the GitHub URL box and click Install.Tubifarry supports Slskd, the Soulseek client, as both an indexer and downloader. Follow the steps below to configure it.
Settings -> Indexers and click Add.Slskd from the list of indexers.http://localhost:5030).Settings -> Download Clients and click Add.Slskd from the list of download clients.Remote Path settings.YouTube Bot Detection β οΈ
YouTube actively detects and blocks automated downloaders. To bypass this, configure the Trusted Session Generator and provide cookie authentication (see setup steps below).
The YouTube downloader extracts audio from YouTube and converts them to audio files using FFmpeg.
Settings -> Indexers and click Add.Tubifarry (located under Other at the bottom).Settings -> Download Clients and click Add.Youtube from the list of download clients.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.
Audio Quality: YouTube provides audio at various bitrates:
Tubifarry supports multiple web clients. These are web services that provide music. Some work better than others and Tubifarry is not responsible for the uptime or stability of these services.
All clients share the same base architecture, making it relatively straightforward to add new ones. The Subsonic Indexer and Client is a generic client, making it possible for any online service to connect with it. The Subsonic specifications are documented on the API page.
If you have a suggestion to add a web client and the service does not want to support Subsonic as a generic indexer, please open a feature request.
Tubifarry also supports fetching soundtracks from Sonarr (for TV series) and Radarr (for movies) and adding them to Lidarr using the Arr-Soundtracks import list feature. This allows you to easily manage and download soundtracks for your favorite movies and TV shows.
To enable this feature:
Set Up the Import List:
Settings -> Import Lists in Lidarr.Enjoy Soundtracks:
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.
Key Options:
How to Enable:
Settings -> Connect in Lidarr.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.
Settings > Metadata in Lidarr.Set Default Conversion Settings
Target Format: Choose the default format for conversions (e.g., FLAC, Opus, MP3).
Custom Conversion Rules:
Define rules like wav -> flac, AAC>=256k -> MP3:300k or all -> alac for more specific conversions.
Custom Conversion Rules On Artists:
Define tags like opus-192 for one specific conversion on all albums of an artist.
Note: Lossy formats (e.g., MP3, AAC) cannot be converted to non-lossy formats (e.g., FLAC, WAV).
Enable Format-Specific Conversion Toggle checkboxes or use custom rules to enable conversion for specific formats:
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.
Settings > Metadata in Lidarr.You can configure the following options:
.lrc files that contain time-synced lyrics.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. Search Sniper can be triggered manually from the Tasks tab.
Settings > Metadata in Lidarr.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.
Settings > Metadata in Lidarr.MetaMix is an advanced feature that intelligently combines metadata from multiple sources to create more complete artist profiles. It can fill gaps in one source with information from another, resulting in a more comprehensive music library.
Settings > Metadata in Lidarr.The feature currently works best with artists that are properly linked across different metadata systems. Which is typically the case on MusicBrainz.
Similar Artists lets you discover related artists using Last.fm's
recommendation data directly in Lidarr's search. Search for an artist
with the ~ prefix and get back a list of similar musicians ready to
be added to your library.
Settings > Metadata in Lidarr.Examples:
similar:Pink Floyd~20244d07-534f-4eff-b4d4-930878889970Slskd Download Path Permissions: Ensure Lidarr has read/write access to the Slskd download path. Verify folder permissions and confirm the user running Lidarr has the necessary access. For Docker setups, double-check that the volume is correctly mounted and permissions are properly configured.
FFmpeg Issues (Optional): If you're using FFmpeg and songs fail to process, ensure FFmpeg is installed correctly and accessible in your system's PATH. If issues persist, try reinstalling FFmpeg or downloading it manually.
Metadata Issues: If metadata isn't being added to downloaded files, confirm the files are in a supported format. If using FFmpeg, check that it's extracting audio to compatible formats like AAC embedded in MP4 containers. Review debug logs for further details.
No Release Found: If no release is found, YouTube may flag the plugin as a bot. To avoid this and access higher-quality audio, use a combination of cookies and the Trusted Session Generator:
cookies.txt file in a folder accessible by Lidarr.cookies.txt file.The combination of cookies and trusted sessions significantly improves success rates when downloading from YouTube, and can help access higher quality audio streams.
No Lyrics Imported:
To save .lrc files (lyric files), navigate to Media Management > Advanced Settings > Import Extra Files and add lrc to the list of supported file types. This ensures lyric files are imported and saved alongside your music files.
Unsupported Formats: Verify custom rules and target formats.
Special thanks to trevTV for laying the groundwork with his plugins. Additionally, thanks to IcySnex for providing the YouTube API. π
If you'd like to contribute to Tubifarry, feel free to open issues or submit pull requests on the GitHub repository. Your feedback and contributions are highly appreciated!
Tubifarry is licensed under the MIT License. See the LICENSE file for more details.
Enjoy seamless music downloads with Tubifarry! π§
Hacker News (1)
C#
100.0%