randomninjaatk / lidarr-automated-downloader Goto Github PK
View Code? Open in Web Editor NEWLidarr enhancement bash script to download releases
License: GNU General Public License v3.0
Lidarr enhancement bash script to download releases
License: GNU General Public License v3.0
If a UrlBase is set up in Lidarr, LAD cannot communicate with it (when using the default config in the Docker Image) as the API needs that in the URL
ie. ${LidarrApiKey} gives only http://127.0.0.1:8686 in:
curl -s --header "X-Api-Key:"${LidarrApiKey} --request GET "$LidarrUrl/api/v1/wanted/missing/?page=1&pagesize=${amount}&includeArtist=true&monitored=true&sortDir=desc&sortKey=releaseDate" -o temp-lidarr-missing.json curl -s --header "X-Api-Key:"${LidarrApiKey} --request GET "$LidarrUrl/api/v1/wanted/cutoff/?page=1&pagesize=${amount}&includeArtist=true&monitored=true&sortDir=desc&sortKey=releaseDate" -o temp-lidarr-cutoff.json
needs to be http://127.0.0.1:8686/urlbase if one is configured
would be nice if you can implement this :-) tidal-dl (cli) [https://yaronzz.top/post/tidal_dl_installation/#Install]
Using your docker image.
Some files are created without their artist in their filenames which results in Lidarr unable to import them from the lidarr-import directory.
The Rolling Stones - A Bigger Bang (2009 Re-Mastered) (2009) (ALBUM) (WEB)-DLCLIENT
101 - Rough Justice.flac
102 - Let Me Down Slow (Remastered).flac
103 - It Won't Take Long (Remastered).flac
104 - Rain Fall Down.flac
105 - Streets Of Love.flac
106 - Back Of My Hand (Remastered).flac
107 - She Saw Me Coming (Remastered).flac
108 - Biggest Mistake (Remastered).flac
109 - This Place Is Empty (Remastered).flac
110 - Oh No, Not You Again (Remastered).flac
111 - Dangerous Beauty (Remastered).flac
112 - Laugh, I Nearly Died (Remastered).flac
113 - Sweet Neo Con (Remastered).flac
114 - Look What The Cat Dragged In (Remastered).flac
115 - Driving Too Fast (Remastered).flac
116 - Infamy (Remastered).flac
log:
Deezer Matched Album Title: A Bigger Bang (2009 Re-Mastered) (ID: 384230)
Album Link: https://www.deezer.com/album/384230
Album Release Year: 2009
Album Release Type: album
Album Lyric Type: Clean
Album Duration: 1:04:07s
Album Track Count: 16
Downloading 16 Tracks...
Downloading collection
Downloading: The Rolling Stones - Rain Fall Down
Downloading: The Rolling Stones - Let Me Down Slow (Remastered)
Downloading: The Rolling Stones - Rough Justice
Downloading: The Rolling Stones - It Won't Take Long (Remastered)
Done!
Done!
Done!
Downloading: The Rolling Stones - Streets Of Love
Downloading: The Rolling Stones - Back Of My Hand (Remastered)
Downloading: The Rolling Stones - She Saw Me Coming (Remastered)
Done!
Downloading: The Rolling Stones - Biggest Mistake (Remastered)
Done!
Downloading: The Rolling Stones - This Place Is Empty (Remastered)
Done!
Downloading: The Rolling Stones - Oh No, Not You Again (Remastered)
Done!
Done!
Downloading: The Rolling Stones - Dangerous Beauty (Remastered)
Downloading: The Rolling Stones - Laugh, I Nearly Died (Remastered)
/storage/downloads/lidarr/dlclient/ 112 - Laugh, I Nearly Died (Remastered)
Done!
Downloading: The Rolling Stones - Sweet Neo Con (Remastered)
Done!
Downloading: The Rolling Stones - Look What The Cat Dragged In (Remastered)
Done!
Downloading: The Rolling Stones - Driving Too Fast (Remastered)
Done!
Downloading: The Rolling Stones - Infamy (Remastered)
Done!
Done!
Done!
Done!
All done!
Downloaded Album: A Bigger Bang (2009 Re-Mastered) (Format: FLAC; Length: 1:04:07s)
Verified Track: 101 - Rough Justice.flac
Verified Track: 102 - Let Me Down Slow (Remastered).flac
Verified Track: 103 - It Won't Take Long (Remastered).flac
Verified Track: 104 - Rain Fall Down.flac
Verified Track: 105 - Streets Of Love.flac
Verified Track: 106 - Back Of My Hand (Remastered).flac
Verified Track: 107 - She Saw Me Coming (Remastered).flac
Verified Track: 108 - Biggest Mistake (Remastered).flac
Verified Track: 109 - This Place Is Empty (Remastered).flac
Verified Track: 110 - Oh No, Not You Again (Remastered).flac
Verified Track: 111 - Dangerous Beauty (Remastered).flac
Verified Track: 112 - Laugh, I Nearly Died (Remastered).flac
Verified Track: 113 - Sweet Neo Con (Remastered).flac
Verified Track: 114 - Look What The Cat Dragged In (Remastered).flac
Verified Track: 115 - Driving Too Fast (Remastered).flac
Verified Track: 116 - Infamy (Remastered).flac
SUCCESS: Artwork Extracted for Downlaod
Downloaded: 16 Tracks
Downloaded: 1 Synced Lyrics
Downloaded: 1 Album Cover
REPLAYGAIN TAGGING DISABLED
Setting folder permissions (777)
Setting file permissions (666)
Notified Lidarr to scan "/storage/downloads/lidarr/lidarr-import/The Rolling Stones - A Bigger Bang (2009 Re-Mastered) (2009) (ALBUM) (WEB)-DLCLIENT" for import
deemix default.json
{
"downloadLocation": "",
"tracknameTemplate": "%artist% - %title%",
"albumTracknameTemplate": "%tracknumber% - %title%",
"playlistTracknameTemplate": "%position% - %artist% - %title%",
"createPlaylistFolder": true,
"playlistNameTemplate": "%playlist%",
"createArtistFolder": false,
"artistNameTemplate": "%artist%",
"createAlbumFolder": true,
"albumNameTemplate": "%artist% - %album%",
"createCDFolder": true,
"createStructurePlaylist": false,
"createSingleFolder": false,
"padTracks": true,
"paddingSize": "0",
"illegalCharacterReplacer": "_",
"queueConcurrency": 3,
"maxBitrate": "3",
"fallbackBitrate": true,
"fallbackSearch": false,
"logErrors": true,
"logSearched": false,
"createM3U8File": false,
"syncedLyrics": false,
"embeddedArtworkSize": 800,
"localArtworkSize": 1400,
"saveArtwork": true,
"coverImageTemplate": "cover",
"saveArtworkArtist": false,
"artistImageTemplate": "folder",
"PNGcovers": false,
"jpegImageQuality": 80,
"dateFormat": "Y-M-D",
"removeAlbumVersion": false,
"featuredToTitle": "0",
"titleCasing": "nothing",
"artistCasing": "nothing",
"executeCommand": "",
"tags": {
"title": true,
"artist": true,
"album": true,
"cover": true,
"trackNumber": true,
"trackTotal": false,
"discNumber": true,
"discTotal": false,
"albumArtist": true,
"genre": true,
"year": true,
"date": true,
"explicit": false,
"isrc": true,
"length": true,
"barcode": true,
"bpm": true,
"replayGain": false,
"label": true,
"lyrics": false,
"copyright": false,
"composer": false,
"involvedPeople": false,
"savePlaylistAsCompilation": false,
"useNullSeparator": false,
"saveID3v1": true,
"multitagSeparator": "default"
}
}
Is there a way to use this script with the deemix docker?
Hello,
I love your automated download, i use it with a docker package on my unraid. It's perfect. My wifie love music and since i have your script ..... she is happy !
I don't known if it's possible .. but could try to download also with spotify ?
There is not all album on deezer for every artist, maybe with spotify ?
Thanks :)
When album has multiple song with the same name, download script gets stuck with checking if download has started.
This happens because deezloader will not re-download the file that already exist, so nothing will ever be newer than "temp-track" file, so the while loop gets stuck
Example album: https://www.deezer.com/album/6803264
It looks like its finding the songs correctly, but then fails to download, is there any way to enable log output from deemix to see what's going on?
Is it possible to add support for Windows (using WSL) similar to what was done for the previous script?
Migz93/lidarr-download-automation#14
The script runs fine; finds the albums to download and does so. It then verifies the tracks downloaded, but pauses once it reaches the last track. To continue past this, I have to hit 'enter' and then the script will continue saying,
ERROR: No artwork failed extraction
Downloaded: 15 Tracks
Downloaded: 0 Synced Lyrics
Downloaded: 1 Album Cover
Fixing tags
The script then continues on without issue until it downloads and then verifies the next downloaded and again pausing after verifying the last track downloaded (and again needing an 'enter' to continue.
Is this a bug or by design?
Hello, first of all, Great Script!
I noticed though that many already existing Albums in my Music Library are downloaded again. Does your script pull Info from Missing Albums or Monitored?
Many Thanks!
In the script on line 63 the bitrate is set to "320"
instead of "${ConversionBitrate}"
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.