v1.4
This commit is contained in:
parent
87a2724727
commit
705d3ecc43
@ -36,13 +36,14 @@ MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMdyymMMMMMMMMMMMMMMMMMMMMMMMMMMM
|
|||||||
```
|
```
|
||||||
parallel music ripping batch processing automation utility - [rip/encode/rename/art/tag/playlist]
|
parallel music ripping batch processing automation utility - [rip/encode/rename/art/tag/playlist]
|
||||||
```
|
```
|
||||||
## update - v1.3
|
## update - v1.4
|
||||||
|
- increased thread count - variable set at top of dp3.sh
|
||||||
|
- added archive prefix - variable set at top of dp3.sh
|
||||||
- added soundcloud
|
- added soundcloud
|
||||||
- added bandcamp
|
- added bandcamp
|
||||||
- changed archive method to include original playlist url into the process log
|
- changed archive method to include original playlist url into the process log
|
||||||
- changed archive method to also include the coverart into the archive as well as encoded into id3tag
|
- changed archive method to also include the coverart into the archive as well as encoded into id3tag
|
||||||
- updated progress/download windows
|
- updated progress/download windows
|
||||||
- added archive prefix - variable set at top of dp3.sh
|
|
||||||
## screenshots
|
## screenshots
|
||||||
![screenshots](screenshots/ss1.jpg)
|
![screenshots](screenshots/ss1.jpg)
|
||||||
![screenshots](screenshots/ss2.jpg)
|
![screenshots](screenshots/ss2.jpg)
|
||||||
|
9
dp3.sh
9
dp3.sh
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
################################################################################################# VERSION 1.3 ### SOF
|
################################################################################################# VERSION 1.4 ### SOF
|
||||||
echo -e '\033[0;31m'" .:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::. "
|
echo -e '\033[0;31m'" .:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::. "
|
||||||
echo -e '\033[0;31m'" /mMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNd- "
|
echo -e '\033[0;31m'" /mMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNd- "
|
||||||
echo -e '\033[0;31m'"-MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN."
|
echo -e '\033[0;31m'"-MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN."
|
||||||
@ -58,6 +58,7 @@ PLAYLIST_ARTWORK="_cover.png"
|
|||||||
PLAYLIST_URLBATCH="_url_batch.log"
|
PLAYLIST_URLBATCH="_url_batch.log"
|
||||||
PLAYLIST_URLSTEXT="_playlist_urls.txt"
|
PLAYLIST_URLSTEXT="_playlist_urls.txt"
|
||||||
PREFIX="dr1p__"
|
PREFIX="dr1p__"
|
||||||
|
THREADS=20
|
||||||
#####################################################################################################################
|
#####################################################################################################################
|
||||||
usage () {
|
usage () {
|
||||||
echo -e "\n\033[0;31mUSAGE: \033[0;91m./$0 name_of_playlist genre_of_playlist url_of_playlist\033[0m"
|
echo -e "\n\033[0;31mUSAGE: \033[0;91m./$0 name_of_playlist genre_of_playlist url_of_playlist\033[0m"
|
||||||
@ -154,7 +155,7 @@ if [ -f "youtube_url_batch.log" ]; then
|
|||||||
ls -al|grep part; sleep 0.3; done' > youtube_progress.sh
|
ls -al|grep part; sleep 0.3; done' > youtube_progress.sh
|
||||||
tmux \
|
tmux \
|
||||||
new-session "cd rips_youtube; clear; echo -e '\033[0;31mdownload window - youtube\033[0;94m'; parallel -j \
|
new-session "cd rips_youtube; clear; echo -e '\033[0;31mdownload window - youtube\033[0;94m'; parallel -j \
|
||||||
10 youtube-dl -f bestaudio -i --download-archive youtube_downloaded.log --no-post-overwrites -ciw \
|
$THREADS youtube-dl -f bestaudio -i --download-archive youtube_downloaded.log --no-post-overwrites -ciw \
|
||||||
--extract-audio --audio-format mp3 --audio-quality 0 < youtube_url_batch.log; exit; read" \; \
|
--extract-audio --audio-format mp3 --audio-quality 0 < youtube_url_batch.log; exit; read" \; \
|
||||||
split-window "bash youtube_progress.sh; exit; read" \; \
|
split-window "bash youtube_progress.sh; exit; read" \; \
|
||||||
select-layout even-vertical
|
select-layout even-vertical
|
||||||
@ -176,7 +177,7 @@ if [ -f "soundcloud_url_batch.log" ]; then
|
|||||||
done' > soundcloud_progress.sh
|
done' > soundcloud_progress.sh
|
||||||
tmux \
|
tmux \
|
||||||
new-session "cd rips_soundcloud; clear; echo -e '\033[0;31mdownload window - soundcloud\033[0;94m'; \
|
new-session "cd rips_soundcloud; clear; echo -e '\033[0;31mdownload window - soundcloud\033[0;94m'; \
|
||||||
parallel -j 10 youtube-dl -f bestaudio -i --download-archive soundcloud_downloaded.log \
|
parallel -j $THREADS youtube-dl -f bestaudio -i --download-archive soundcloud_downloaded.log \
|
||||||
--no-post-overwrites -ciw -o '%\(uploader\)s-%\(title\)s-%\(id\)s.%\(ext\)s' --extract-audio \
|
--no-post-overwrites -ciw -o '%\(uploader\)s-%\(title\)s-%\(id\)s.%\(ext\)s' --extract-audio \
|
||||||
--audio-format mp3 --audio-quality 0 < soundcloud_url_batch.log; exit; read" \; \
|
--audio-format mp3 --audio-quality 0 < soundcloud_url_batch.log; exit; read" \; \
|
||||||
split-window "bash soundcloud_progress.sh; exit; read" \; \
|
split-window "bash soundcloud_progress.sh; exit; read" \; \
|
||||||
@ -198,7 +199,7 @@ if [ -f "bandcamp_url_batch.log" ]; then
|
|||||||
ls -al|grep part; sleep 0.3; done' > bandcamp_progress.sh
|
ls -al|grep part; sleep 0.3; done' > bandcamp_progress.sh
|
||||||
tmux \
|
tmux \
|
||||||
new-session "cd rips_bandcamp; clear; echo -e '\033[0;31mdownload window - bandcamp\033[0;94m'; parallel \
|
new-session "cd rips_bandcamp; clear; echo -e '\033[0;31mdownload window - bandcamp\033[0;94m'; parallel \
|
||||||
-j 10 youtube-dl -f bestaudio -i --download-archive bandcamp_downloaded.log --no-post-overwrites -ciw \
|
-j $THREADS youtube-dl -f bestaudio -i --download-archive bandcamp_downloaded.log --no-post-overwrites -ciw \
|
||||||
--extract-audio --audio-format mp3 --audio-quality 0 < bandcamp_url_batch.log; exit; read" \; \
|
--extract-audio --audio-format mp3 --audio-quality 0 < bandcamp_url_batch.log; exit; read" \; \
|
||||||
split-window "bash bandcamp_progress.sh; exit; read" \; \
|
split-window "bash bandcamp_progress.sh; exit; read" \; \
|
||||||
select-layout even-vertical
|
select-layout even-vertical
|
||||||
|
Loading…
Reference in New Issue
Block a user