Commit Graph

23 Commits

Author SHA1 Message Date
dave e5158cfdc7 make sqlite open errors clearer
Gitea/pysonic/pipeline/head This commit looks good Details
Gitea/pysonic/pipeline/pr-master This commit looks good Details
if filesystem permissions on the directory the sqlite database database file is in are such that the app cannot list or create files, sqlite gives a vague error:

```
sqlite3.OperationalError: unable to open database file
```

whereas python's open() will give a better hint ("permission denied"). So, we try opening the database file with python first.

also, add chmods to the startup scripts to avoid this issue in the future
2022-12-24 14:33:57 -08:00
dave f0b9074391 debug print db path
Gitea/pysonic/pipeline/head This commit looks good Details
2022-12-24 13:38:33 -08:00
dave 0d2f9a9587 post-refactor fixes 2020-10-05 23:30:01 -07:00
dave c910de0eb0 refactor out library class 2020-10-05 23:13:11 -07:00
dave bfcb528ddf readcursor -> cursor 2020-10-05 22:41:01 -07:00
dave f3d888be35 faster search 2020-10-05 22:19:48 -07:00
dave 5a7fe3a013 playcount 2020-10-05 22:12:49 -07:00
dave 64f738c5f0 fix search 2020-10-05 20:11:58 -07:00
dave 33f17887c2 fix track ordering 2020-09-23 22:57:26 -07:00
dave 8340bb3c61 Support recently/most played albums views 2018-04-07 15:36:15 -07:00
dave 8a19422e0f stats endpoint 2018-04-07 15:36:15 -07:00
dave bd2ba225ac v2 2018-04-05 19:02:17 -07:00
dave b44b6fb022 Use generic response renderer 2017-08-20 14:54:13 -07:00
dave 7c9b1d7869 File size/duration awarenness 2017-08-19 22:03:09 -07:00
dave 3fff05bc28 better subprocess handling 2017-08-16 21:36:15 -07:00
dave efcef1f5df Partial shuffle support 2017-08-16 00:05:26 -07:00
dave b6daecdd5e starred view 2017-08-15 22:16:58 -07:00
dave c7af853358 start saving stars 2017-08-15 21:41:02 -07:00
dave 517e147028 more user stuff 2017-08-15 21:40:38 -07:00
dave f17d53296e Support auth 2017-08-15 20:27:59 -07:00
dave 99aae4165f transcode non-mp3s 2017-08-13 22:33:41 -07:00
dave a0d25381c4 args and logging 2017-08-13 21:13:46 -07:00
dave 1b151d3905 Refactoring 2017-08-13 19:07:44 -07:00