diff --git a/README.md b/README.md index 9cff105..aa277a5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,45 @@ -# md_spotify_dl -دانلودر اسپاتیفای بدون فیلتر و تحریم +

Md Spotify Downloader

+

A Music Downloader for Spotify Written In Pure Go

+ +Md Spotify Downloader is a spotify media downloader. + +It uses Youtube as the audio source and Spotify API for playlist/album/track details. + +--- + +### To download the latest version, please go to the [Releases](https://github.com/mdpe-ir/md_spotify_dl/releases). + +--- + + +#### Make sure you have golang, ffmpeg installed. + +The library requires **libav** components to work: + +- **libavformat** +- **libavcodec** +- **libavutil** +- **libswresample** +- **libswscale** + +For **Arch**-based **Linux** distributions: + +```bash +sudo pacman -S ffmpeg +``` + +For **Debian**-based **Linux** distributions: + +```bash +sudo add-apt-repository ppa:savoury1/ffmpeg4 +sudo apt install libswscale-dev libavcodec-dev libavformat-dev libswresample-dev libavutil-dev +``` + +For **macOS**: + +```bash +brew install ffmpeg +``` + +For **Windows** see the [detailed tutorial](https://windowsloop.com/install-ffmpeg-windows-10/). + diff --git a/main.go b/main.go index 5a00479..d5bd3f4 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,6 @@ +// Author: https://github.com/mdpe-ir +// Copyright (c) 2023 + package main import ( diff --git a/src/constants.go b/src/constants.go index 79c6770..171ce41 100644 --- a/src/constants.go +++ b/src/constants.go @@ -1,9 +1,12 @@ +// Author: https://github.com/mdpe-ir +// Copyright (c) 2023 + package md_spotify_dl const ( AppName = "Md Spotify Downloader" AppUse = "md_spotify_dl" - AppVersion = "0.0.1" - AppShortDescription = AppName + " is a awesome music downloader that work without VPN" - AppLongDescription = AppName + " is a awesome music downloader that work without VPN" + AppVersion = "0.0.2" + AppShortDescription = AppName + " is a awesome music downloader" + AppLongDescription = AppName + " is a awesome music downloader" ) diff --git a/src/downloader.go b/src/downloader.go index ac544a1..8b32762 100644 --- a/src/downloader.go +++ b/src/downloader.go @@ -1,3 +1,6 @@ +// Author: https://github.com/mdpe-ir +// Copyright (c) 2023 + package md_spotify_dl import ( diff --git a/src/spotify_auth.go b/src/spotify_auth.go index 318f155..200fb01 100644 --- a/src/spotify_auth.go +++ b/src/spotify_auth.go @@ -1,3 +1,6 @@ +// Author: https://github.com/mdpe-ir +// Copyright (c) 2023 + package md_spotify_dl import ( diff --git a/src/start.go b/src/start.go index ddcdb73..0f31f93 100644 --- a/src/start.go +++ b/src/start.go @@ -1,3 +1,6 @@ +// Author: https://github.com/mdpe-ir +// Copyright (c) 2023 + package md_spotify_dl import ( diff --git a/src/utils/generic_utils.go b/src/utils/generic_utils.go index cf56be8..daacab5 100644 --- a/src/utils/generic_utils.go +++ b/src/utils/generic_utils.go @@ -1,3 +1,6 @@ +// Author: https://github.com/mdpe-ir +// Copyright (c) 2023 + package utils import ( diff --git a/src/utils/tagger.go b/src/utils/tagger.go index 5ca8ae2..7b30616 100644 --- a/src/utils/tagger.go +++ b/src/utils/tagger.go @@ -1,3 +1,6 @@ +// Author: https://github.com/mdpe-ir +// Copyright (c) 2023 + package utils import ( diff --git a/src/youtube.go b/src/youtube.go index 1520389..63e6283 100644 --- a/src/youtube.go +++ b/src/youtube.go @@ -1,3 +1,6 @@ +// Author: https://github.com/mdpe-ir +// Copyright (c) 2023 + package md_spotify_dl import (