mirror of
https://github.com/NohamR/AM-Exporter.git
synced 2026-05-25 04:07:11 +00:00
translation
This commit is contained in:
41
README.md
41
README.md
@@ -1,48 +1,67 @@
|
|||||||
# AppleMusicExporter
|
# AppleMusicExporter
|
||||||
|
|
||||||
|
AppleMusicExporter is a project designed to### Front:
|
||||||
|
An implementation example of the API is available in [front-example](front-example):
|
||||||
|
<!--  -->
|
||||||
|
<img src="front-example/screen.png" width="400" height="331"/> <!-- 710 × 588 -->
|
||||||
|
<img src="Music-Player.gif" width="400" height="331"/>
|
||||||
|
|
||||||
|
## Uninstall:
|
||||||
|
```bash
|
||||||
|
cd user
|
||||||
|
./uninstall.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
# To do:
|
||||||
|
- commentfrom Apple Music in real time. AppleMusicExporter uses [AppleScript](https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html) for interactions with Apple Music.
|
||||||
|
|
||||||
|
<img src="Diagramme.drawio.png" width="800" height="437"/> <!-- 781 × 437 -->
|
||||||
|
|
||||||
|
## Dependencies:MusicExporter
|
||||||
|
|
||||||
AppleMusicExporter est un projet conçu pour exporter les musiques depuis Apple Music en temps réel. AppleMusicExporter utilise [AppleScript](https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html) pour les interactions avec Apple Music.
|
AppleMusicExporter est un projet conçu pour exporter les musiques depuis Apple Music en temps réel. AppleMusicExporter utilise [AppleScript](https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html) pour les interactions avec Apple Music.
|
||||||
|
|
||||||
<img src="Diagramme.drawio.png" width="800" height="437"/> <!-- 781 × 437 -->
|
<img src="Diagramme.drawio.png" width="800" height="437"/> <!-- 781 × 437 -->
|
||||||
|
|
||||||
## Dépendances :
|
## Dépendances :
|
||||||
|
|
||||||
### Back :
|
### Back:
|
||||||
- flask
|
- flask
|
||||||
- python-dotenv (optionnel)
|
- python-dotenv (optional)
|
||||||
- requests
|
- requests
|
||||||
|
|
||||||
### User :
|
### User:
|
||||||
- colorthief
|
- colorthief
|
||||||
- python-dotenv
|
- python-dotenv
|
||||||
- requests
|
- requests
|
||||||
|
|
||||||
## Install :
|
## Installation:
|
||||||
### Back :
|
### Back:
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/NohamR/AM-Exporter.git
|
git clone https://github.com/NohamR/AM-Exporter.git
|
||||||
cd back
|
cd back
|
||||||
```
|
```
|
||||||
Créer le fichier .users avec les utilisateurs et leurs mots de passe hashés ([.user.example](back/.users.example)).
|
Create the .users file with users and their hashed passwords ([.user.example](back/.users.example)).
|
||||||
```bash
|
```bash
|
||||||
docker build -t amexporter .
|
docker build -t amexporter .
|
||||||
```
|
```
|
||||||
```bash
|
```bash
|
||||||
docker run -d -p 3005:3005 amexporter
|
docker run -d -p 3005:3005 amexporter
|
||||||
```
|
```
|
||||||
Ou
|
Or
|
||||||
```bash
|
```bash
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
### User :
|
### User:
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/NohamR/AM-Exporter.git
|
git clone https://github.com/NohamR/AM-Exporter.git
|
||||||
cd user
|
cd user
|
||||||
python install -r requirements.txt
|
python install -r requirements.txt
|
||||||
```
|
```
|
||||||
Créer le fichier .env avec l'utilisateur et son mot de passe ([.env.example](user/.env.example)).
|
Create the .env file with the user and their password ([.env.example](user/.env.example)).
|
||||||
|
|
||||||
Configuer [music-exp.plist](user/music-exp.plist) sur l'exemple de [music-exp.plist.example](user/music-exp.plist.example) :
|
Configure [music-exp.plist](user/music-exp.plist) based on the example [music-exp.plist.example](user/music-exp.plist.example):
|
||||||
PYTHON_PATH
|
PYTHON_PATH
|
||||||
WORKING_DIRECTORY
|
WORKING_DIRECTORY
|
||||||
```bash
|
```bash
|
||||||
@@ -50,7 +69,7 @@ WORKING_DIRECTORY
|
|||||||
```
|
```
|
||||||

|

|
||||||
|
|
||||||
Logs can but found in the working direcrtory :
|
Logs can be found in the working directory:
|
||||||
```bash
|
```bash
|
||||||
cd WORKING_DIRECTORY
|
cd WORKING_DIRECTORY
|
||||||
tail -f error_logfile.log
|
tail -f error_logfile.log
|
||||||
|
|||||||
Reference in New Issue
Block a user