Skip to content

Commit

Permalink
Added copyright and author in all .go files
Browse files Browse the repository at this point in the history
Inserted copyright info and author link at the start of all .go files in main and all src subdirectories to acknowledge author’s work and indicate the project’s copyright status to protect it from unpermitted use. This standard practice contributes to transparency and prepares the project for further open-source collaboration.
  • Loading branch information
mdpe-ir committed Aug 23, 2023
1 parent a00b861 commit a8b00c4
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 5 deletions.
47 changes: 45 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,45 @@
# md_spotify_dl
دانلودر اسپاتیفای بدون فیلتر و تحریم
<h1 align="center">Md Spotify Downloader</h1>
<h4 align="center">A Music Downloader for Spotify Written In Pure Go</h4>

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/).

3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Author: https://github.com/mdpe-ir
// Copyright (c) 2023

package main

import (
Expand Down
9 changes: 6 additions & 3 deletions src/constants.go
Original file line number Diff line number Diff line change
@@ -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"
)
3 changes: 3 additions & 0 deletions src/downloader.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Author: https://github.com/mdpe-ir
// Copyright (c) 2023

package md_spotify_dl

import (
Expand Down
3 changes: 3 additions & 0 deletions src/spotify_auth.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Author: https://github.com/mdpe-ir
// Copyright (c) 2023

package md_spotify_dl

import (
Expand Down
3 changes: 3 additions & 0 deletions src/start.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Author: https://github.com/mdpe-ir
// Copyright (c) 2023

package md_spotify_dl

import (
Expand Down
3 changes: 3 additions & 0 deletions src/utils/generic_utils.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Author: https://github.com/mdpe-ir
// Copyright (c) 2023

package utils

import (
Expand Down
3 changes: 3 additions & 0 deletions src/utils/tagger.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Author: https://github.com/mdpe-ir
// Copyright (c) 2023

package utils

import (
Expand Down
3 changes: 3 additions & 0 deletions src/youtube.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Author: https://github.com/mdpe-ir
// Copyright (c) 2023

package md_spotify_dl

import (
Expand Down

0 comments on commit a8b00c4

Please sign in to comment.