Commit graph

451 commits

Author SHA1 Message Date
angelblue05
6ec92da158 Fix PlaybackUtils for recent changes to downloadurl 2015-04-25 18:51:07 -05:00
angelblue05
de42c14e33 HTTPS verification handling
By default - no host verification. Option to verify host and add a
client side certificate to pair with server certificate.
2015-04-24 20:57:04 -05:00
angelblue05
1ed674e4f1 https custom certificate
Attempt #1 at implementing support for HTTPS custom ssl certificate
2015-04-24 05:17:08 -05:00
angelblue05
7e17bf5c84 Adjusting to use the new method 2015-04-23 12:17:24 -05:00
angelblue05
df7b5349b8 Remove parameters that no longer exists 2015-04-22 18:55:22 -05:00
angelblue05
03697c3f7e Typo 2015-04-22 08:24:54 -05:00
angelblue05
78acae377f Revert "Revert "Adjusted the rest to use the new method""
This reverts commit f8632a97d8.
2015-04-21 21:31:16 -05:00
angelblue05
f8632a97d8 Revert "Adjusted the rest to use the new method"
This reverts commit 0c91c0b28b.
2015-04-21 21:20:02 -05:00
angelblue05
0c91c0b28b Adjusted the rest to use the new method 2015-04-21 21:17:58 -05:00
angelblue05
007cc8e4a9 Change to use unicode 2015-04-21 18:12:09 -05:00
angelblue05
079fd4e8d9 Added Requests 2015-04-21 16:34:56 -05:00
shaun
7b85d4aafc fix a lock up on DB access
if you do an insert or update you MUST call commit() before returning
2015-04-20 14:26:07 +10:00
xnappo
2930150113 Typo 2015-04-18 14:42:38 -05:00
angelblue05
e1f0ee7575 Fix imageUrl 2015-04-18 12:11:58 -05:00
xnappo
fca5f3c9f2 Queue updated items in playback, process on stop 2015-04-18 12:10:06 -05:00
shaun
59713c80da fix delete item event 2015-04-18 18:02:47 +10:00
shaun
9e004fa1a1 Use the new ItemId from the UserDataChanged WebSocket event 2015-04-18 12:28:39 +10:00
shaun
79387dadbc Fix image urls, use param version of the end point
fix logging issues
remove redundant code for movies update
2015-04-18 09:59:12 +10:00
shaun
11218b7891 Use the Emby ID as the key to look up Episodes 2015-04-17 22:26:28 +10:00
angelblue05
2112ab951b Replaced numeric with alphanum dialog for easypin
Would display with external connection and fail to auth. Easy pin is
only for in-network connections.
2015-04-16 10:05:19 -05:00
shaun
ef41e69771 verify season index before use 2015-04-16 18:38:16 +10:00
shaun
cde774fc9e Add/Update TV Shows for Incremental TV Sync 2015-04-16 10:44:43 +10:00
shaun
c72027f6a2 dont add episodes that dont have a season entry yet 2015-04-15 16:10:37 +10:00
shaun
19e38bec8e Fix specials airs before, Remove Special Season 100 Mapping, Update season art
Fix specials airs before values, set to -1 to make them only show up in
Specials
Remove Special Season 100 Mapping option
Update season art when changed
2015-04-15 12:20:08 +10:00
angelblue05
5f91d49f3f Add https support 2015-04-13 13:56:36 -05:00
angelblue05
060a6f1323 Add option to delete user info
Added for testing update library to force refresh newly set thumbnails
after first sync (only).
2015-04-12 08:49:41 -05:00
Frederik Kriewitz
88ef0da5a6 implementation of the forceTranscodingCodecs option 2015-04-12 15:35:03 +02:00
Frederik Kriewitz
3343d2bbdd fix getVideoBitRate default value
setting VideoBitrate to > 2147483647 causes a RequestBindingException on
the server.
2015-04-12 15:32:13 +02:00
angelblue05
0ba24d8dbd Fix for db reset
setSetting() now works to reset the initial scan state. I also removed
deprecated behavior from addon.xml
2015-04-12 04:49:02 -05:00
shaun
9d2d2788b2 add Special TV Show mapping to Season 100 and use Delete from table for DB reset 2015-04-12 18:34:00 +10:00
shaun
ff437bc439 Use json.dumps to do the string escaping for the JsonApi calls 2015-04-12 14:28:42 +10:00
shaun
d0c7246de0 Use waitForAbort instead of sleep
also waitForAbort is in seconds not ms
2015-04-12 13:01:44 +10:00
xnappo
a362d5b6b5 " can be ' and it works. 2015-04-11 12:45:35 -05:00
xnappo
fdb73f08e8 'Fix' overview
Not too happy about this, but seems to work
2015-04-11 12:34:20 -05:00
xnappo
46d9969ea4 NoneType fix 2015-04-11 11:15:28 -05:00
xnappo
478470607c See details
- Only sync at startup
- Allow websocket to delete episodes
- NoneType fix
2015-04-11 10:53:17 -05:00
angelblue05
0d616fef94 Replaced sleep with waitForAbort()
Hopefully helps with the hang crash.
2015-04-11 07:56:07 -05:00
im85288
31656e4684 changed autoplay to popup in last 20 seconds rather than at play stopped 2015-04-09 13:29:48 +01:00
angelblue05
f084608e84 Added-Fix HTTP Playback
Added an extra prompt for auto detection.
2015-04-08 20:28:28 -05:00
angelblue05
48ce741f6a Revert "Added-Fix HTTP Playback"
This reverts commit 90204fcd05.
2015-04-08 20:04:33 -05:00
angelblue05
90204fcd05 Added-Fix HTTP Playback
Added additional prompt when using auto-detect.
2015-04-08 18:42:55 -05:00
Marcel van der Veldt
7ac2704989 fixed small typo in logging 2015-04-08 11:22:59 +02:00
Marcel van der Veldt
c31b5ecebe some code cleanup and small changes
fixed episode thumb
2015-04-08 11:21:11 +02:00
Marcel van der Veldt
3077df6407 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-04-08 10:01:21 +02:00
Marcel van der Veldt
8ac8596d6f added support for Kodi Isengard 2015-04-08 10:01:04 +02:00
angelblue05
0e3dd9a096 Fix for multi-user
It was always writing to master profile.
2015-04-07 20:09:17 -05:00
Marcel van der Veldt
a464924f6f fixed ratings; now using decimals 2015-04-08 02:58:28 +02:00
Marcel van der Veldt
64d2ff9cab added director to episode details 2015-04-08 01:09:39 +02:00
Marcel van der Veldt
7c03a96dfd fixed calculation for rating 2015-04-08 00:52:59 +02:00
Marcel van der Veldt
8c108add38 fixed typo 2015-04-08 00:44:38 +02:00
Marcel van der Veldt
d6cb046de1 fixed: wrong ratings were synced 2015-04-08 00:38:15 +02:00
im85288
51d5e3733b label again for autoplay 2015-04-07 18:44:36 +01:00
im85288
4d0e53525a label change for autoplay dialog 2015-04-07 18:40:24 +01:00
im85288
b88f467357 added autoplay remaining episodes option 2015-04-07 15:21:54 +01:00
angelblue05
78883f2216 Added Easy pin 2015-04-07 01:27:27 -05:00
im85288
717e802615 revert plot update changes 2015-04-07 00:51:13 +01:00
angelblue05
1cd7663410 Added some logging 2015-04-06 12:17:32 -05:00
angelblue05
2014e93c33 Revert "Added some logging"
This reverts commit d5c9ae5c91.
2015-04-06 10:52:16 -05:00
angelblue05
d5c9ae5c91 Added some logging 2015-04-06 08:42:18 -05:00
im85288
e4c8da2097 another copy/paste issue 2015-04-06 12:38:49 +01:00
im85288
2a0231bbd3 typo 2015-04-06 12:20:18 +01:00
im85288
45d73bdb43 set a few more props on update 2015-04-06 10:13:42 +01:00
shaun
b9ebb81322 add poster artwork to episodes 2015-04-06 09:11:39 +10:00
xnappo
63239ac60a Don't create empty shows 2015-04-05 13:13:45 -05:00
xnappo
4819b5f272 WebSocketClient needs Utils 2015-04-05 12:29:09 -05:00
xnappo
fff293df24 Fix TV tags (for realz hopefully) 2015-04-05 10:46:34 -05:00
xnappo
f46b67209c Fix episode tags, unspecified collection types 2015-04-05 08:55:41 -05:00
shaun
65b6411fb3 fix progress dialog error for box sets 2015-04-05 18:21:47 +10:00
shaun
aa764d65a6 increase connection time out 2015-04-05 17:47:47 +10:00
shaun
6039611da5 for consistency use the same approach for none full sync 2015-04-05 10:10:14 +10:00
shaun
25286717b3 remove some redundant code calls and do a shouldstop call in the add loop 2015-04-05 09:59:15 +10:00
shaun
f2772ebdbd remove commented code 2015-04-05 09:37:34 +10:00
shaun
85482119a0 use uniqueid to check of en episode is already in the DB 2015-04-05 09:32:42 +10:00
im85288
5f644d82f2 fix for db passing 2015-04-04 23:38:31 +01:00
xnappo
b5e2e0948e Added tags for TV collections 2015-04-04 16:48:02 -05:00
im85288
b880555829 speed improvements 2015-04-04 18:20:48 +01:00
xnappo
86e7a9622e Don't do episode checks on first run 2015-04-04 11:09:14 -05:00
im85288
36aa6413e3 remove sleep actions from actors and write filename to db 2015-04-04 14:39:27 +01:00
angelblue05
1b681a0e99 Revert "Quick fix for UserClient sleep"
This reverts commit 281b70da85.
2015-04-04 05:20:13 -05:00
angelblue05
281b70da85 Quick fix for UserClient sleep
It was activating sleep while the initial scan was going. Changed to
allow sleep when the initial scan is not running.
2015-04-04 04:32:11 -05:00
shaun
510fe51bf8 sleep for 1 sec in the main loop 2015-04-04 10:13:36 +11:00
im85288
9b28b97be7 solve encoding issue with playurl 2015-04-03 22:39:18 +01:00
im85288
01a6c43ad2 box set sync no longer an option 2015-04-03 22:20:48 +01:00
im85288
30de132920 alter reset so that addon data dir is always removed when video db
delete fails
2015-04-03 18:42:15 +01:00
im85288
e2f5aef95f Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi.git 2015-04-03 18:09:47 +01:00
angelblue05
15dd6b78e6 Webclient playback fixed 2015-04-03 08:19:10 -05:00
im85288
a7d9641c07 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi.git 2015-04-03 13:52:03 +01:00
im85288
9fb4743816 extra check on delete successfull or not 2015-04-03 13:51:46 +01:00
angelblue05
1c02ac453c Moved the split after detection of None.
Present user with configs if server detection fails.
2015-04-03 07:36:41 -05:00
im85288
c5b68dcabd use xbmcvfs for deleting 2015-04-03 11:53:41 +01:00
im85288
a715281a84 dialog reference issues 2015-04-03 11:49:39 +01:00
im85288
c473305556 add a loop for deleting the database if it fails first time and back out
if it does not work
2015-04-03 11:33:44 +01:00
angelblue05
1b20863cf9 Integration of UserClient. 2015-04-03 05:13:01 -05:00
im85288
6f3e793561 slight rewording of dialog message 2015-04-03 11:02:21 +01:00
im85288
32db5aaa08 delete the whole video database and the addon_data info 2015-04-03 10:58:21 +01:00
shaun
07ff102a40 Sync running check added to Reset Action 2015-04-03 19:39:16 +11:00
shaun
f90bda68cf Actual: Work arround for ParetnId and Ids in the same query 2015-04-03 19:38:51 +11:00
shaun
7a22a1a60e Work around until ParentId and Ids work together
This is a simple work around to filter the items after we get them,
hopefully we can get the API fixed to allow ParentId and Ids to work
together. until then we do the filtering on the full list returned.
2015-04-03 15:13:28 +11:00
xnappo
5b55a4bce1 More delete cleanup 2015-04-02 22:38:10 -05:00
xnappo
95db6e4b3f Remove old delete code 2015-04-02 22:37:09 -05:00
shaun
c8e1d8ae54 Implement LibraryChanged WebSocket event 2015-04-03 13:12:09 +11:00
shaun
e9646407a0 Make the UserDataChanged event only update the items that changed
To do this I have had to keep a Windows Prop list of all UserData Keys
to Emby Id
in this I have assumed there is a 1:1 mapping but this migh not be the
case
and it could be a one to many that need to be taken inot account
also is Luke can add it me might be able to get this info from the
server but that is not
there yet
2015-04-03 10:41:39 +11:00
im85288
6b6f77dbff added reset settings - still needs a bit of work 2015-04-02 20:47:06 +01:00
im85288
be07c1125d changed log statements to remove MB Sync 2015-04-02 19:34:47 +01:00
Marcel van der Veldt
850f75e160 fix actor images: don't need the thumb prefix after all 2015-04-02 19:19:29 +02:00
im85288
1a2956c815 assure trailer url is encoded 2015-04-02 11:47:29 +01:00
shaun
685cf9ae81 fix delete TV Show 2015-04-02 19:00:58 +11:00
faush01
6f11368575 use existing file only if the path was the same as well 2015-04-02 10:48:04 +11:00
Marcel van der Veldt
4b6f192b4b fixed actors in tvshows 2015-04-01 23:28:19 +02:00
Marcel van der Veldt
a828c7480a remove createfiles.py 2015-04-01 21:43:22 +02:00
Marcel van der Veldt
95dc955f6d fix for transcoding 2015-04-01 21:32:25 +02:00
Marcel van der Veldt
5f8e5105bb changes to use native kodi db for inserts 2015-04-01 21:07:29 +02:00
Marcel van der Veldt
8ec2d7d33b one more fix for tvshow paths 2015-04-01 09:28:22 +02:00
Marcel van der Veldt
4ad3ef00fc error in thshow path assignment 2015-04-01 09:12:35 +02:00
faush01
80ec5d9b29 fix string encoding for json command data 2015-04-01 14:17:46 +11:00
faush01
167d54c2a3 use delete instead of remove and comment out the createNFO 2015-04-01 09:33:10 +11:00
Marcel van der Veldt
a59ef9aea0 another attempt to delete the tvshow.nfo 2015-03-31 23:28:05 +02:00
Marcel van der Veldt
1388eda326 changes to prevent doubled paths and support for transcoding 2015-03-31 23:21:51 +02:00
shaun
52bd5b662e wait for the data to be available on PlaybackStarted event 2015-03-30 21:01:26 +11:00
shaun
dbb9941813 use Player.OnPlay instead of Playlist.OnAdd 2015-03-30 19:36:43 +11:00
faush01
e90a4a9d32 replace \ with / before compare of old and new paths
The getPlayUrl forces all / so we need to make sure we are using that
2015-03-30 16:13:27 +11:00
faush01
69580c8ccd fix for playcount sync when there are no movies set up in EMBY 2015-03-30 15:08:47 +11:00
xnappo
0a3ad1988a Another none check 2015-03-29 19:07:07 -05:00
Marcel van der Veldt
4458fa6fda FINAL fix for the doubled episodes.
Yeah for real now :-)
2015-03-30 00:43:53 +02:00
Marcel van der Veldt
debac27631 another fix for the doubled episodes problem 2015-03-30 00:04:11 +02:00
Marcel van der Veldt
abf2fd2c5a fix episode deletions cleanup 2015-03-29 23:37:02 +02:00
Marcel van der Veldt
9a17eab206 some more nonetype fixes 2015-03-29 23:19:53 +02:00
Marcel van der Veldt
7481023bd8 nonetype fixes and prevent doubled episodes 2015-03-29 23:09:02 +02:00
Marcel van der Veldt
c680a7d0fe fix for empty result crash 2015-03-29 22:18:05 +02:00
Marcel van der Veldt
9fffc9cfcb Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-03-29 22:14:25 +02:00
Marcel van der Veldt
a796ced05c fixed empty results in getKodiTvshow and GetKodiMovie
filter in kodi api call doesn't accept all fields as searchparameter so walk through the results instead
2015-03-29 22:13:11 +02:00
xnappo
796d1ed409 Revert "Nonetype checks"
This reverts commit 526e079f44.
2015-03-29 15:03:39 -05:00
xnappo
526e079f44 Nonetype checks 2015-03-29 13:54:49 -05:00
Marcel van der Veldt
39b3fd9523 fix error when no tvshows added yet 2015-03-29 19:33:41 +02:00
Marcel van der Veldt
1b34ce743a fixed filepath for episodes 2015-03-29 19:13:21 +02:00
Marcel van der Veldt
bc207a7268 fixes for the path sync actions
not working yet --> episodes updates are skipped ?
2015-03-29 18:20:02 +02:00
shaun
b8481129cf remove redundant add 2015-03-29 21:05:09 +11:00
shaun
6dbdb88fa7 Fix updatePlayCountFromKodi to use getEmbyIdByKodiId and done do a playcount sync if one is already running 2015-03-29 13:34:59 +11:00
Marcel van der Veldt
959659c1c9 added reboot back in to make sure that playcounts are imported through nfo. 2015-03-29 00:47:07 +01:00
Marcel van der Veldt
4d9a9cf139 fixed problem with advancedsettings file 2015-03-29 00:30:13 +01:00
Marcel van der Veldt
097dae3d31 one more fix for transcoding 2015-03-28 19:11:38 +01:00
Marcel van der Veldt
74f96b2e13 fix in playutils 2015-03-28 19:07:57 +01:00
Marcel van der Veldt
03d99ed0d8 use the plugin method for playback when transcoding, use native kodi playback for direct access 2015-03-28 19:04:32 +01:00
Marcel van der Veldt
7493e57fcb fix for directplay 2015-03-28 18:36:14 +01:00
Marcel van der Veldt
eccfaf983f Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-03-28 17:42:55 +01:00
Marcel van der Veldt
db5e826f21 use native kodi playback instead of setresolvedurl workaround 2015-03-28 17:42:38 +01:00
xnappo
012bceca90 Fix episode deletes 2015-03-28 11:14:52 -05:00
angelblue05
b440331f2f Revert "Fixed manual auth"
This reverts commit b66ac39ccc.
2015-03-28 06:16:55 -05:00
angelblue05
b66ac39ccc Fixed manual auth
For now,  moved back to global variables to allow manual login.
2015-03-28 05:39:53 -05:00
shaun
4931fd4299 add some progress message to the Update BoxSets action 2015-03-28 15:24:36 +11:00