Commit graph

23 commits

Author SHA1 Message Date
Antoine Gersant
82ea7983aa Instrument index duration 2019-09-02 14:28:25 -07:00
Laurențiu Nicola
6d963c059f Use 2018-style macro imports 2019-08-06 12:51:15 +03:00
Antoine Gersant
4b4ab8145c Rust 2018 2018-10-30 23:49:30 -07:00
Antoine Gersant
fdf40f2683 Removed outdated test 2018-10-30 23:47:29 -07:00
Antoine Gersant
a8a98fdd22 Removed iron 2018-10-28 17:27:47 -07:00
Antoine Gersant
0297b351bf Rustfmt 2018-10-06 15:46:30 -07:00
Antoine Gersant
66f59da7b2 Moved resident configuration from .toml file to database 2017-06-28 23:37:48 -07:00
Antoine Gersant
1d0b4929fd Use lowercase names on linux 2017-05-29 18:28:31 -07:00
Antoine Gersant
f6ca5bace4 Autoformat 2017-05-29 12:01:07 -07:00
Antoine Gersant
8eaefb6dba Moved app data into user folders instead of system folders 2017-05-28 22:46:42 -07:00
Danny Angelo Carminati Grein
f04e1bc4d7 Fix broken player if mounted path had a trailing slash. The query on
browse_songs wasn't returning any results as in the database they were
save without the trailing slash.

Add two complementary output messages in case of errors trying to
create SharedData and SharedConfig where on Linux XDG defaults to
readonly system wide paths based on XDG_CONFIG_DIRS and XDG_DATA_DIRS
default values from spec (/etc/xdg and /usr/share for example).

And a minor change in the api to use forward slash.
2017-01-24 22:59:28 -05:00
Antoine Gersant
f9a27895b4 Formatting 2016-12-21 07:05:16 +01:00
Antoine Gersant
ec8a8da81e Modernized error handling
- Use error-chain instead of writing tons of boilerplate
- Switched try!() macros to '?'
2016-12-03 12:08:55 -08:00
Antoine Gersant
85f4492b92 Applied rustfmt 2016-11-30 23:16:06 -08:00
Antoine Gersant
a16595a2e1 Added unit tests to utils 2016-11-30 21:43:32 -08:00
Antoine Gersant
ee4a7f8f15 Store files in shared directory 2016-11-21 01:34:28 -08:00
Antoine Gersant
431852f1e0 Fixed config and cache files locations 2016-11-21 00:13:55 -08:00
Antoine Gersant
2150241ae1 rustfmt 2016-11-13 16:49:45 -08:00
Antoine Gersant
d9abb35e4d Extracted audio format detection from is_song() 2016-11-13 16:44:31 -08:00
Antoine Gersant
889c3251df Fixed a bug where uppercase extensions were not recognized 2016-11-13 14:59:39 -08:00
Antoine Gersant
c50e957932 Added jpeg to image extensions 2016-10-23 12:10:48 -07:00
Antoine Gersant
ebea771424 Removed unneeded returns 2016-10-23 12:10:31 -07:00
Antoine Gersant
61e4f6c7d2 Scaffholding for serving thumbnails 2016-10-23 12:07:37 -07:00