Commit Graph

44 Commits

Author SHA1 Message Date
Shaun 5322058652 add api_key to streaming urls 2017-05-06 10:08:04 +10:00
shaun 72c76adbf8 dont worry about server details if the url does nto have server and user id placeholders in it 2017-02-05 22:50:01 +11:00
shaun e90919e6b6 less metric logging for download function 2017-02-05 11:00:20 +11:00
shaun c8b1e738c6 refine download function, more exceptions 2017-02-04 10:42:22 +11:00
sfaulds 4096e0ad5c small fix for server details being missing, stop crash and just try connection
dont return None for server details being missing, throw as we need to get to the botton of this
2017-01-30 16:05:41 +11:00
sfaulds 1f34e043ec abort download if server is not set correctly. 2017-01-11 13:14:55 +11:00
sfaulds f793f709ef a few more places we need to check for exceptions 2016-12-01 15:28:42 +11:00
shaun 615e541513 remove the internal_exception.ExceptionWrapper class 2016-11-22 23:05:16 +11:00
sfaulds 4aef5d7551 check LocalTrailerCount as a number
dont log metrics for 400 errors as they are mostly server issues
2016-11-21 11:51:00 +11:00
sfaulds ec28018c61 consume read time oout errors
wrap fix in try/except
2016-11-18 13:42:46 +11:00
sfaulds 5d06f04d1d check url after replace to see if it look ok 2016-11-17 16:55:44 +11:00
sfaulds 5b86aa1ca9 add exception and notification when not logged in 2016-11-17 07:07:49 +11:00
sfaulds aef40c4e8a use an exception class to surface exceptions that we dont want to log to the metrics logging system 2016-11-14 19:10:22 +11:00
sfaulds ea3676eec0 Surface download issue exceptions where appropriate instead of consuming them 2016-11-14 11:00:26 +11:00
shaun 0cf8f07daf refactor the downloadutils a little
move emby DB verify to the database class and run it for the first time an emby db con is created
refactor the play class playback started function a little
2016-11-13 10:39:14 +11:00
angelblue05 2b0c9d1bbc Pylint (#67) 2016-10-10 06:14:10 -05:00
angelblue05 d2b6eaabb3 Pylint (#65)
websocket, artwork, api, service_entry, downloadutils, contextmenu
2016-10-06 23:15:23 -05:00
angelblue05 e58d98bc10 Catch and raise bad status 400
When the request is malformed. Added logging to hopefully get to the
bottom of a bug pulling albums from server.
2016-10-04 01:14:14 -05:00
angelblue05 33ba485b0b Update window property
If .json in property name, it will automatically apply json.loads/dumps.
This is to avoid importing json in every files.
2016-09-29 01:59:30 -05:00
angelblue05 8b0164d5a3 Fix typo in method
Pylint downloadutils
2016-09-27 04:10:40 -05:00
angelblue05 04d4865074 Pylint (#64) 2016-09-27 01:33:09 -05:00
angelblue05 a00d55ac0e Rework downloadutils (#63) 2016-09-26 21:50:58 -05:00
angelblue05 334206b334 Fix user client loading user ordering 2016-09-06 17:43:15 -05:00
angelblue05 3d31568518 Pylint + Fix initial setup for fresh installs 2016-09-04 22:33:34 -05:00
angelblue05 6a2ea9a4dd Emby Connect (#58)
* Update with latest connect module

* Update string

* Change error behavior

* Add connectmanager

Handle dialogs for emby connect in one place

* Add user select dialog

* Add manual server dialog

* Add onAuthenticated

* Filter virtual episodes

* Update userclient with new methods
2016-09-04 05:18:31 -05:00
angelblue05 95066b0f77 Add German translation
Fix escape \' displaying
2016-07-30 16:17:35 -05:00
angelblue05 76dfa1286c Update logging
Use the logging module. Moved logging to it's own file.
2016-07-24 03:59:48 -05:00
angelblue05 793bd66554 Fix crash when sleeping/waking up device 2016-07-22 17:10:35 -05:00
angelblue05 da7685b03f Try to fix import strptime bug
Clean up of downloadutils and utils.
2016-07-16 10:02:50 -05:00
angelblue05 06d71cf00d Fix typo 2016-07-15 19:17:32 -05:00
angelblue05 8b83ae8a00 Clean up downloadUtils 2016-07-15 19:02:30 -05:00
angelblue05 213f42f4a5 Update downloadUtils requests
Code reduction,  fix connections not being released.
2016-07-15 18:01:59 -05:00
angelblue05 5658801f72 Centralized logging 2016-06-17 22:03:28 -05:00
SpootDev d080c49821 cleanup 2016-04-04 16:21:05 -05:00
SpootDev d436c8415d reserved word 2016-03-31 17:59:29 -05:00
SpootDev 03ad05bcfb code reduce 2016-03-31 17:42:49 -05:00
SpootDev ad156d3f6c log clean 2016-03-30 22:37:37 -05:00
angelblue05 7ab8e3e231 Fix ssl verification 2016-02-24 22:45:25 -06:00
angelblue05 3caa2ae3a7 Re-add decode to unicode
Then convert to utf-8, then ascii for the auth header.
2016-01-21 19:19:30 -06:00
angelblue05 c28b43451f Revert useless unicode changes
Now that the device name is normalized without special characters.
2016-01-21 16:34:35 -06:00
angelblue05 65be0b6262 Fixing unicode bug for device name
Removing decode to unicode, because we use it for the downloadutils. We
need it in utf-8, not unicode.
2016-01-21 14:35:24 -06:00
marcelveldt ae06548c9d fix: redundant userdata update for music rating
add settings for music ratings import/export
2016-01-20 20:21:56 +01:00
marcelveldt eae4fea76a more unicode fixes: os.path functions use unicode depending on the OS 2016-01-18 12:05:05 +01:00
angelblue05 69884a1b54 Readd with lowercase name 2015-12-24 14:07:00 -06:00