Paulus Schoutsen
e80309c03c
Fix imports (using isort)
2016-02-18 21:27:50 -08:00
Paulus Schoutsen
cbc6323438
Fix imports
2016-01-28 21:45:26 -08:00
Richard Arends
913c5ab47c
identing error... sorry
2015-12-30 13:26:42 +01:00
Richard Arends
429904c437
Returning None when name and title are both not available
...
Removed trailing whitespaces
2015-12-30 13:00:34 +01:00
Richard Arends
56a2ffca1d
Changed if else statements. The following situations are handled now:
...
- name and title can be None
- name can be None
- title can be None
- name and title can contain data
2015-12-29 22:10:09 +01:00
Richard Arends
6e2fb17f19
Fix KeyError on 'title' when title is empty
2015-12-29 17:52:05 +01:00
Richard Arends
035d518cb6
Expect the case where currentsong['name'] can be absent. Use the .get
...
funtion with a default value set to None
2015-12-13 19:54:10 +01:00
Richard Arends
85b62a20c8
Use format instead of str.join to join name and title
2015-12-13 19:46:17 +01:00
Richard Arends
46f742f82f
Added support for MPD to display the name before the title if it is available
...
When using a radio stream, the name of the station is often available in
currentsong['name']. Just like the 'mpc' CLI client, this change displays
the name of the station before the current song title.
For example: "Mick Jagger - Let's Work" becomes "Radio 10: Mick Jagger - Let's Work"
2015-12-13 18:42:53 +01:00
Richard Arends
9eea7a6cde
Added support for MPD to start playing the current song/playlist
2015-12-12 16:25:56 +01:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Fabian Affolter
6115be7c42
Remove configuration details
2015-10-23 18:13:45 +02:00
Fabian Affolter
1d910f3a84
Update docstring (config file) and attempt to honor PEP0257 more
2015-09-07 18:35:00 +02:00
Paulus Schoutsen
335eb10d11
Merge pull request #295 from renekliment/mpd-pause-fix
...
fixes MPD play/pause
2015-08-30 14:55:20 -07:00
René Kliment
62f6576e19
fixes MPD play/pause
2015-08-30 16:11:44 +02:00
René Kliment
41011f0c95
support for MPD password authorization
2015-08-30 15:53:40 +02:00
Ryan Kraus
893ae15042
Changed component REQUIREMENTS to absolute versions.
2015-08-29 21:39:50 -04:00
Paulus Schoutsen
940b2998ea
Add REQUIREMENTS list to components
2015-07-07 00:01:46 -07:00
Paulus Schoutsen
0f4de88b92
Fix PyLint import issue
2015-06-10 23:59:37 -07:00
Paulus Schoutsen
ae847994fc
MPD platform fixes
2015-06-10 23:51:38 -07:00
Paulus Schoutsen
5008b25a2d
Fix MPD media player support
2015-06-08 23:06:41 -07:00
Fabian Affolter
fb63198688
fix return values, disconnect from mpd, and fix pylint issue
2015-06-01 13:25:55 +02:00
Fabian Affolter
26c8d81dbf
add configuration desc
2015-05-31 22:21:11 +02:00
Fabian Affolter
ab4ed2e032
add check
2015-05-31 20:53:19 +02:00
Fabian Affolter
453b5a3e8c
add initial mpd
2015-05-31 20:53:18 +02:00