pifi 0.4.13 → 0.4.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/INSTALL.md +3 -3
- data/README.md +14 -8
- data/lib/pifi/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dc0a4f510d889f6eed7ec596681e0d661dd69dc935b92a6d6c9daba74c4a5dd
|
4
|
+
data.tar.gz: 3101dd320d96e559079b36cba95eb2d8c183cc63d749db20f5eb72c858d14e2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f17da06e70a8ee4245d9806743ff5f65ac878b735a30ac3c05621fb03404ffc032e3fbf6a1a4efa74984330f520e557ef787c55e2912df30f8f4869518c2d27
|
7
|
+
data.tar.gz: 7252e0ce4b9c7d919cdbd475345d53904495ec1bc05140e60b23d5f7e6bb0047efc2f271720f89425c8f1d2b75213a5d248dba480f9273b9b1a32e68ddacbbf3
|
data/INSTALL.md
CHANGED
@@ -26,7 +26,7 @@ $ sudo gem install pifi --no-document
|
|
26
26
|
|
27
27
|
```
|
28
28
|
$ sudo mkdir -p /etc/pifi
|
29
|
-
$ sudo wget https://raw.githubusercontent.com/
|
29
|
+
$ sudo wget https://raw.githubusercontent.com/rc2dev/pifi-radio/master/docs/streams.json.sample -O /etc/pifi/streams.json
|
30
30
|
```
|
31
31
|
|
32
32
|
_Later, you can edit that list [as described here](README.md#list-of-streams)._
|
@@ -36,7 +36,7 @@ _Later, you can edit that list [as described here](README.md#list-of-streams)._
|
|
36
36
|
Download a sample and edit [following the documentation](README.md#pifi-configuration):
|
37
37
|
|
38
38
|
```
|
39
|
-
$ sudo wget https://raw.githubusercontent.com/
|
39
|
+
$ sudo wget https://raw.githubusercontent.com/rc2dev/pifi-radio/master/docs/config.json.sample -O /etc/pifi/config.json
|
40
40
|
$ sudo -e /etc/pifi/config.json
|
41
41
|
```
|
42
42
|
|
@@ -49,7 +49,7 @@ It makes sense to run PiFi as a different user, such as `www-data`. You may also
|
|
49
49
|
1. Download the service sample.
|
50
50
|
|
51
51
|
```
|
52
|
-
$ sudo wget https://raw.githubusercontent.com/
|
52
|
+
$ sudo wget https://raw.githubusercontent.com/rc2dev/pifi-radio/master/docs/pifi.service.sample -O /etc/systemd/system/pifi.service
|
53
53
|
```
|
54
54
|
|
55
55
|
2. Make any changes relevant to your system.
|
data/README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
# PiFi Radio
|
2
2
|
|
3
3
|
<p align="center">
|
4
|
-
<img src="https://raw.githubusercontent.com/
|
4
|
+
<img src="https://raw.githubusercontent.com/rc2dev/pifi-radio/master/docs/icon/radio-original.svg?sanitize=true" width=250>
|
5
5
|
</p>
|
6
6
|
<p align="center">PiFi Radio: A MPD web client to listen to radio.</p>
|
7
7
|
|
8
|
+
**Notice:** This project was archived in July 2021 and shouldn't receive updates in the foreseeable future.
|
9
|
+
|
8
10
|
## Table of contents
|
9
11
|
|
10
12
|
- [Meet PiFi Radio](#meet-pifi-radio)
|
@@ -30,7 +32,7 @@ If you have no idea what this means... You install it on a device such as the Ra
|
|
30
32
|
|
31
33
|
PiFi is an interface for MPD, so it has some advantages compared to other solutions, e.g. bluetooth or AirPlay. One of them is that the playback is completely independent from your phone. So you can continue to use it normally, play a video, lose connection or even turn it off, and your Pi will still continue to play the radio.
|
32
34
|
|
33
|
-
[I started this project in early 2017. At that time, I wanted to configure Raspbian so my parents could listen to radio with ease, but couldn't find any good solution to it.](https://rafaelc.org/
|
35
|
+
[I started this project in early 2017. At that time, I wanted to configure Raspbian so my parents could listen to radio with ease, but couldn't find any good solution to it.](https://rafaelc.org/posts/the-motivation-for-pifi-radio/)
|
34
36
|
|
35
37
|
## Some features
|
36
38
|
|
@@ -47,11 +49,15 @@ PiFi is an interface for MPD, so it has some advantages compared to other soluti
|
|
47
49
|
|
48
50
|
## Demo
|
49
51
|
|
50
|
-
|
52
|
+
On phone:
|
53
|
+
|
54
|
+
![Demo on mobile](docs/demo/mobile.gif)
|
55
|
+
|
56
|
+
On desktop:
|
51
57
|
|
52
|
-
![](docs/demo/desktop-01.png)
|
58
|
+
![Demo on desktop](docs/demo/desktop-01.png)
|
53
59
|
|
54
|
-
![](docs/demo/desktop-02.png)
|
60
|
+
![Demo on desktop](docs/demo/desktop-02.png)
|
55
61
|
|
56
62
|
## Installation
|
57
63
|
|
@@ -120,7 +126,7 @@ If you want to change any of these options, download the sample file and edit it
|
|
120
126
|
|
121
127
|
```
|
122
128
|
$ sudo mkdir -p /etc/pifi
|
123
|
-
$ sudo wget https://raw.githubusercontent.com/
|
129
|
+
$ sudo wget https://raw.githubusercontent.com/rc2dev/pifi-radio/master/docs/config.json.sample -O /etc/pifi/config.json
|
124
130
|
$ sudo -e /etc/pifi/config.json
|
125
131
|
```
|
126
132
|
|
@@ -136,13 +142,13 @@ On your mobile browser, I suggest you add PiFi Radio to your home screen, for ea
|
|
136
142
|
|
137
143
|
## Help me translate
|
138
144
|
|
139
|
-
You can help me adding a new language to PiFi or improving an existing translation. [The translation files are placed here.](https://github.com/
|
145
|
+
You can help me adding a new language to PiFi or improving an existing translation. [The translation files are placed here.](https://github.com/rc2dev/pifi-radio/tree/master/frontend/public/locales)
|
140
146
|
|
141
147
|
### Improving an existing translation
|
142
148
|
|
143
149
|
The default language for PiFi is English, so you should use it as a reference.
|
144
150
|
|
145
|
-
1. Open [the translation file](https://github.com/
|
151
|
+
1. Open [the translation file](https://github.com/rc2dev/pifi-radio/tree/master/frontend/public/locales) and [the English file](https://github.com/rc2dev/pifi-radio/blob/master/frontend/public/locales/en-US/translation.json).
|
146
152
|
2. Fill empty strings and fix any bad translations.
|
147
153
|
3. Send a pull request.
|
148
154
|
|
data/lib/pifi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pifi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafael Cavalcanti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sinatra
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '3.0'
|
83
83
|
description: Minimalist MPD web client for listening to radio
|
84
|
-
email:
|
84
|
+
email: dev@rafaelc.org
|
85
85
|
executables:
|
86
86
|
- pifi
|
87
87
|
extensions: []
|
@@ -146,12 +146,12 @@ files:
|
|
146
146
|
- lib/pifi/public/vendor/bootswatch_4.4.1/darkly.min.css
|
147
147
|
- lib/pifi/public/vendor/bootswatch_4.4.1/lux.min.css
|
148
148
|
- lib/pifi/version.rb
|
149
|
-
homepage: https://
|
149
|
+
homepage: https://rafaelc.org/pifi
|
150
150
|
licenses:
|
151
151
|
- GPL-3.0-only
|
152
152
|
metadata:
|
153
|
-
source_code_uri: https://
|
154
|
-
documentation_uri: https://
|
153
|
+
source_code_uri: https://rafaelc.org/pifi
|
154
|
+
documentation_uri: https://rafaelc.org/pifi
|
155
155
|
post_install_message:
|
156
156
|
rdoc_options: []
|
157
157
|
require_paths:
|