An open API service indexing awesome lists of open source software.

https://github.com/casept/mfp-dl

A simple utility for downloading all tracks from https://musicforprogramming.net/
https://github.com/casept/mfp-dl

golang

Last synced: 5 months ago
JSON representation

A simple utility for downloading all tracks from https://musicforprogramming.net/

Awesome Lists containing this project

README

          

# mfp-dl
[![Windows build status:](https://ci.appveyor.com/api/projects/status/xywauc7tmvc5lduy/branch/master?svg=true)](https://ci.appveyor.com/project/casept/mfp-dl/branch/master)
[![Linux/OSX build status:](https://travis-ci.org/casept/mfp-dl.svg?branch=master)](https://travis-ci.org/casept/mfp-dl)
[![Go Report Card](https://goreportcard.com/badge/github.com/casept/mfp-dl)](https://goreportcard.com/report/github.com/casept/mfp-dl)
[![Coverage Status](https://coveralls.io/repos/github/casept/mfp-dl/badge.svg?branch=master)](https://coveralls.io/github/casept/mfp-dl?branch=master)

## What is this?

This is a simple utility intended for downloading all tracks off of [musicforprogramming.net](https://musicforprogramming.net/).

Essentially, it just parses the site's RSS feed
, checks if all tracks contained within are already downloaded, and fetches any that are missing.
Additionally it also downloads the `folder.jpg` file, which is needed in order for album art to be displayed properly in some music players. I built this to help me get my feet wet with golang, don't expect it to be rigorously maintained.

## Installation

Make sure you have installed go and set up your $GOPATH, then do:

```
go get -u -v github.com/casept/mfp-dl
```

## Usage
```
$ mfp-dl -help
Usage of mfp-dl:
-dir string
Directory into which the tracks will be downloaded (default "musicforprogramming")
```

Example:

```
mfp-dl -dir ~/Music/musicforprogramming
```

### Development

This package uses the `dep` tool. You can install it by running `go get -u -v github.com/golang/dep/...`.
Make sure to vendor any dependencies outside the standart library before you submit your pull request.