Commit Graph

661 Commits

Author SHA1 Message Date
Nick Steel
991e2c367d network: Close connection following an exception in protocol handler.
This goes towards fixing #1762.
2019-06-27 00:28:21 +01:00
Stein Magnus Jodal
b1b3d371a9 Bump version to 2.2.3 2019-06-20 01:50:18 +02:00
Stein Magnus Jodal
628970a7fe docs: Fix broken links, avoid redirects 2019-06-20 01:50:18 +02:00
Stein Magnus Jodal
8f8efc755f docs: Shrink and optimize images 2019-06-20 01:45:17 +02:00
Stein Magnus Jodal
fde8212625 docs: Move v0.x and v1.x changelog to a new history section 2019-06-20 00:20:23 +02:00
Stein Magnus Jodal
d48accdd53 docs: Fix too long lines in changelog 2019-06-20 00:15:31 +02:00
Stein Magnus Jodal
36f3b5ce62 docs: Fix syntax errors in changelog 2019-06-20 00:14:08 +02:00
Stein Magnus Jodal
39535f78c2 docs: Update changelog 2019-06-11 23:43:48 +02:00
Nick Steel
66a10f43fb config: Synchronise file and local default excluded_file_extensions config.
docs: Added changelog entry for #1737
2019-01-31 23:45:03 +00:00
Nick Steel
dfbab4bf88 audio: Disable buffering handling during track change. (Fixes #1722).
Skip handling buffering messages if pipeline not PLAYING or PAUSED.
2019-01-31 23:13:35 +00:00
Nick Steel
5e8fd9a338 audio: removed unused fakesink. (Fixes #1528)
The 'always connected fakesink' is causing problems when switching
between tracks with different sample rates and with some custom
output pipelines. Since it's only there to support dynamic outputs,
which we don't yet support, we might as well remove it for now.
2019-01-29 23:54:13 +00:00
Stein Magnus Jodal
1c22796994 Bump version to v2.2.2 2018-12-29 17:06:30 +01:00
Stein Magnus Jodal
bcdf8baea1 docs: Remove duplicate changelog 2018-12-29 17:05:36 +01:00
Stein Magnus Jodal
a1690bf565 Merge branch 'master' into release-2.2 2018-12-07 23:12:50 +01:00
Stein Magnus Jodal
c94b9d5fd2 xdg: Read paths from user-dirs.dirs as bytes
Fixes #1676, #1725
2018-11-27 23:22:50 +01:00
Stein Magnus Jodal
9bf8ac2099 xdg: Read paths from user-dirs.dirs as bytes
Fixes #1676, #1725
2018-11-26 22:51:48 +01:00
Nick Steel
1d30e73ab0 http: use current Tornado IOLoop when stopping. (Fixes #1715).
This is in response to the breaking change in Tornado v5.0 where
IOLoop.instance is now a deprecated alias for IOLoop.current.
More info at https://www.tornadoweb.org/en/stable/releases/v5.0.0.html
2018-10-22 15:28:39 +01:00
Stein Magnus Jodal
c720d90b53 docs: v2.2.1 release notes 2018-10-15 22:08:07 +02:00
Nick Steel
10fafc0228 http: Add config option to control CSRF protection (Fixes: #1713)
Allows users to disable CSRF protection and revert to the HTTP server's
previous (less secure) behaviour. Users are advised to leave this config
value enabled if possible. However, if disabled this will:
  * Remove the requirement to set a ``Content-Type: application/json``
    header for JSON-RPC POST requests.
  * Disable all same-origin checks, effectively ignoring the ``allowed_origins``
    config since requests from any origin will be allowed.
  * Suppress all ``Access-Control-Allow-*`` response headers.
2018-10-15 17:24:45 +01:00
Nick Steel
6e9ed9e8a9 http: allow local files to access websocket (Fixes #1711)
check_origin() still ensures the Origin header is set but now only blocks
when missing from the allowed list *if* a network location was extracted
from the header. This prevents websocket connections originating from
local files (common in Apache Cordova apps such as Mopidy-Mobile) from
being blocked; these files don't really have a sensible value for Origin
so the client browser sets the header to something like 'file://' or
'null'.

Also added some tests for check_origin().
2018-10-08 23:39:47 +01:00
Stein Magnus Jodal
b62c153425 docs: v2.2.0 release notes 2018-09-30 00:09:48 +02:00
Stein Magnus Jodal
58e75b2b7a m3u: Ignore paths outside the playlist_dir
Fixes #1659
2018-09-19 22:27:18 +02:00
Stein Magnus Jodal
23e73d962b core: Define playlists.delete() return type 2018-09-19 22:27:18 +02:00
Stein Magnus Jodal
9f69805fa7 docs: Tweak changelog 2018-04-19 20:54:18 +02:00
Stein Magnus Jodal
2cb7993316
Merge pull request #1621 from kingosticks/fix/mpd-load-tracklist-metadata
Lookup track metadata for MPD load and listplaylistinfo
2018-04-19 20:53:24 +02:00
Nick Steel
e87599a2d3 Explicitly check for None (core playlists API future proofing). 2018-04-15 21:21:59 +01:00
Stein Magnus Jodal
267d705978 docs: Tweak changelog 2018-04-15 22:19:30 +02:00
Nick Steel
ae4dab65e4 docs: added changelog entry 2018-04-15 17:46:46 +01:00
Stein Magnus Jodal
e6c89f3b6a docs: Tweak changelog 2018-04-06 22:11:47 +02:00
matt LLVW
2e6c0049a4 config: remove 10000 tracks limitation in playlists 2018-04-04 19:20:17 +02:00
Stein Magnus Jodal
4581451973 docs: Update changelog 2018-03-30 11:59:46 +02:00
Stein Magnus Jodal
e215484c75 encoding: Never crash if unknown bytes in OS errors
Fixes #1599
2018-03-30 11:25:31 +02:00
Stein Magnus Jodal
cd2bbaba07 docs: Add PR#1611 to changelog 2018-03-30 10:44:08 +02:00
Stein Magnus Jodal
95577206a0 Require tornado >= 4.4 2018-03-29 20:51:01 +02:00
Jarryd Tilbrook
b4c98ec4a5 Fix/1531 add unix domain socket (#1629)
mpd: add functionality for unix domain socket (Fixes #1531)

The Hostname config type now supports a Unix socket path prefixed with `unix:`
2018-02-13 12:58:39 +00:00
Stein Magnus Jodal
7862274c32 docs: Update changelog 2017-02-11 13:43:32 +01:00
Btjones711
fb9f2198bd -Changed Idle command by removing "list_command=False" to stay in convention with MPD
-Edited change log to reflect the bugfix

(cherry picked from commit 4fd86c37a7)
2017-02-11 13:41:33 +01:00
Stein Magnus Jodal
b68c995cae docs: v2.1.0 release notes 2017-01-02 23:54:42 +01:00
Thomas Adamcik
8c548250a8 docs: Update changelog with scanner duration changes 2016-10-26 23:48:57 +02:00
Thomas Adamcik
7ecc6e5af7 audio: Revert MMS related changes.
This reverts commit 74cf673171.
"audio: Wait for state change instead of async done in scanner."

This reverts commit 4adea37e97.
"audio: Give up getting duration for MMS (Fixes: #1553)"
2016-10-26 23:40:25 +02:00
Stein Magnus Jodal
bbeb5c03aa Require Tornado >= 3.2
Survey of version available in the oldest distros we care about:

- Debian 8, squeeze: 3.2.2
- Debian 8, squeeze-backports: 4.2.0
- Ubuntu 16.04 LTS: 4.2.1
- Arch Linux: 4.4.2
2016-10-26 00:39:42 +02:00
Thomas Adamcik
74cf673171 audio: Wait for state change instead of async done in scanner.
This increases the robustness by quite a bit, we no longer:
- Fail on elements such as mmssrc that can't go to playing ASYNC.
- Try going to playing if we've already tried before.
2016-10-25 22:48:03 +02:00
Thomas Adamcik
b8446f2469 docs: Add changelog for MMS scanning fix 2016-10-25 22:01:08 +02:00
Stein Magnus Jodal
6d2f5e584a docs: Add PR #1549 to changelog 2016-10-25 00:19:18 +02:00
Stein Magnus Jodal
5d6879bff9 docs: Add file/excluded_file_extensions to changelog 2016-10-24 23:43:47 +02:00
Stein Magnus Jodal
3b40c77cfb docs: Reorder backlog 2016-10-24 23:43:03 +02:00
Thomas Adamcik
e161e9b26c Merge branch 'develop' into fix/1479-cant-play-rtsp 2016-10-24 23:20:52 +02:00
Stein Magnus Jodal
da392510f1 docs: Format changelog 2016-10-24 23:14:32 +02:00
Thomas Adamcik
3d477e1eb9 Merge branch 'develop' into fix/1479-cant-play-rtsp 2016-10-24 23:07:34 +02:00
Stein Magnus Jodal
e72d5dc016 Merge pull request #1561 from dublok/fix/1471-scanner-date-tag-missing
Scanner: Set date to track and album: fix #1471
2016-10-04 11:05:23 +02:00