Compare commits
9 Commits
74e936c0f8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c746ddf4d9 | |||
| 6c123bd378 | |||
| 65a9ca71b4 | |||
| b27d8fce7c | |||
| 4000a82833 | |||
| bc4780190b | |||
| 8010de522d | |||
| 9c831ce473 | |||
| 007416f1a9 |
@@ -29,7 +29,7 @@ steps:
|
|||||||
# auto_tag: true
|
# auto_tag: true
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- v1.0.1
|
- v2.0.0
|
||||||
when:
|
when:
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@ steps:
|
|||||||
branch: main
|
branch: main
|
||||||
status: [failure]
|
status: [failure]
|
||||||
|
|
||||||
- name: docker_gitea
|
- name: docker_dev_gitea
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
username:
|
username:
|
||||||
@@ -70,7 +70,7 @@ steps:
|
|||||||
when:
|
when:
|
||||||
branch: dev
|
branch: dev
|
||||||
|
|
||||||
- name: notify_success
|
- name: notify_dev_success
|
||||||
image: curlimages/curl
|
image: curlimages/curl
|
||||||
environment:
|
environment:
|
||||||
NOTIFY_URL:
|
NOTIFY_URL:
|
||||||
@@ -81,7 +81,7 @@ steps:
|
|||||||
branch: dev
|
branch: dev
|
||||||
status: [ success ]
|
status: [ success ]
|
||||||
|
|
||||||
- name: notify_failure
|
- name: notify_dev_failure
|
||||||
image: curlimages/curl
|
image: curlimages/curl
|
||||||
environment:
|
environment:
|
||||||
NOTIFY_URL:
|
NOTIFY_URL:
|
||||||
|
|||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
__pycache__
|
__pycache__
|
||||||
downloads/
|
downloads/
|
||||||
|
temp/
|
||||||
19
README.md
Normal file
19
README.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# SpotDLWeb
|
||||||
|
|
||||||
|
SpotDLWeb est une interface graphique pour Spotdl et qui à l'aide de Python via Flask.
|
||||||
|
Il permet de récupérer les métadonnées à l'aide de Spotify puis de télécharger la musique via Youtube Music. La musique peut-être téléchargée directement sur un serveur connecté à Navidrone ou encore Jellyfin ou, télécharger la musique directement en local.
|
||||||
|
|
||||||
|
**docker-compose.yaml :**
|
||||||
|
```yaml
|
||||||
|
version: '3.3'
|
||||||
|
services:
|
||||||
|
spotdlweb:
|
||||||
|
image: gu1llaum3/spotdlweb:latest
|
||||||
|
container_name: spotdlweb
|
||||||
|
hostname: spotdlweb
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
volumes:
|
||||||
|
- ./path/to/musics:/app/downloads
|
||||||
|
restart: unless-stopped
|
||||||
|
```
|
||||||
@@ -15,8 +15,8 @@ body {
|
|||||||
.bordered {
|
.bordered {
|
||||||
border: 1px solid rgb(24,216,96);
|
border: 1px solid rgb(24,216,96);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 20px;
|
padding: 10px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
@@ -66,14 +66,14 @@ body {
|
|||||||
background-color: rgb(24,216,96);
|
background-color: rgb(24,216,96);
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
padding: 10px 20px;
|
padding: 10px 10px;
|
||||||
color: #131313;
|
color: #131313;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration:none
|
text-decoration:none
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn2 {
|
/* .btn2 {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
background-color: rgb(24,216,96);
|
background-color: rgb(24,216,96);
|
||||||
border: none;
|
border: none;
|
||||||
@@ -83,7 +83,7 @@ body {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
text-decoration:none
|
text-decoration:none
|
||||||
}
|
} */
|
||||||
|
|
||||||
.btn:hover {
|
.btn:hover {
|
||||||
background-color: rgb(24,216,96);
|
background-color: rgb(24,216,96);
|
||||||
@@ -97,4 +97,5 @@ body {
|
|||||||
@media (max-width: 600px) {
|
@media (max-width: 600px) {
|
||||||
.container {
|
.container {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
@@ -1,9 +1,33 @@
|
|||||||
function startDownload() {
|
function startDownload() {
|
||||||
document.getElementById('download-button').innerHTML = 'Téléchargement en cours...';
|
var downloadButton = document.getElementById('download-button');
|
||||||
|
var downloadLocalButton = document.getElementById('downloadlocal-button');
|
||||||
|
|
||||||
|
if (downloadButton.style.display !== 'none') {
|
||||||
|
downloadButton.style.display = 'none';
|
||||||
|
downloadLocalButton.style.display = 'block';
|
||||||
|
} else {
|
||||||
|
downloadButton.style.display = 'block';
|
||||||
|
downloadLocalButton.style.display = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
downloadLocalButton.innerHTML = 'Téléchargement en cours...';
|
||||||
|
}
|
||||||
|
|
||||||
function startLocalDownload() {
|
function startLocalDownload() {
|
||||||
document.getElementById('downloadlocal-button').innerHTML = 'Téléchargement en cours...';
|
var downloadButton = document.getElementById('download-button');
|
||||||
|
var downloadLocalButton = document.getElementById('downloadlocal-button');
|
||||||
|
|
||||||
|
if (downloadLocalButton.style.display !== 'none') {
|
||||||
|
downloadLocalButton.style.display = 'none';
|
||||||
|
downloadButton.style.display = 'block';
|
||||||
|
} else {
|
||||||
|
downloadLocalButton.style.display = 'block';
|
||||||
|
downloadButton.style.display = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
downloadButton.innerHTML = 'Téléchargement en cours...';
|
||||||
|
}
|
||||||
|
|
||||||
function refreshPage() {
|
function refreshPage() {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}
|
}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="stylesheet" href="static/css/style.css" , filename= 'style.css'>
|
<link rel="stylesheet" href="static/css/style.css" , filename= 'style.css'>
|
||||||
<script src="/static/js/script.js"></script>
|
<script src="/static/js/script.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
|
||||||
<title>SpotDL Web</title>
|
<title>SpotDL Web</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user