Commit graph

571 commits

Author SHA1 Message Date
Marcel van der Veldt
3579fa3ca8 add genres to music albums
fixed high season numbers skipped at import
removed prefix from video nodes
2015-05-08 01:45:28 +02:00
Marcel van der Veldt
7c995a5a17 fixed season check 2015-05-08 01:38:38 +02:00
Marcel van der Veldt
0cb4d7fb25 fixed etag issue with music artists 2015-05-08 01:13:29 +02:00
Marcel van der Veldt
e16cbcc87c corrected check for music artists and also reset music db at full reset 2015-05-08 00:46:41 +02:00
Marcel van der Veldt
93a52009dd small change to music sync, do extra match on artist name to combine 2015-05-08 00:38:59 +02:00
Marcel van der Veldt
507dd340cd support deletions for musiclibrary sync 2015-05-08 00:23:49 +02:00
Marcel van der Veldt
a12f6093dd damned typo 2015-05-08 00:15:31 +02:00
Marcel van der Veldt
04b7622e44 fixed small error 2015-05-08 00:14:42 +02:00
Marcel van der Veldt
b081f87e29 fixed small error in the checksum code 2015-05-08 00:06:49 +02:00
Marcel van der Veldt
8839b3b323 add first support for music library sync 2015-05-08 00:04:40 +02:00
angelblue05
87681ee850 Adjustment for playback
os.path.exists does not return True with nfs protocol. Less strict
"FileExists"
2015-05-07 16:33:50 -05:00
im85288
5ac32f467a alter the way the info mode is handled to not need a db rebuild -
currently only working from home widgets
2015-05-07 16:05:04 +01:00
Marcel van der Veldt
24c4d267c4 refactor WriteKodiDB.py to WriteKodiVideoDB.py in preparation of adding musicDb support later on 2015-05-07 11:45:24 +02:00
Marcel van der Veldt
f3e7ac350d add full sync entry to main listing 2015-05-07 11:36:34 +02:00
Marcel van der Veldt
0cacd3ee87 minor detail changed 2015-05-07 10:33:35 +02:00
Marcel van der Veldt
4d0d863a42 fixes issue with user profile switches in kodi 2015-05-07 10:32:30 +02:00
angelblue05
11e4b3edf9 Quick fix for new playback 2015-05-07 01:50:34 -05:00
angelblue05
b8334e89f2 Quick follow up 2015-05-07 01:19:14 -05:00
angelblue05
aa72b4ce9c Reworked playback
Supports local path, network path, direct streaming, transcoding.
2015-05-07 01:11:20 -05:00
xnappo
22c62d9727 Test allowing updates during playback 2015-05-06 22:27:22 -05:00
Marcel van der Veldt
6a3feb5f77 fixed a nullreference 2015-05-07 00:11:21 +02:00
Marcel van der Veldt
986a37455e Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-07 00:05:50 +02:00
Marcel van der Veldt
4ceb66762a finished video nodes change and main entrypoint listings
removed some redundant logging
2015-05-07 00:05:27 +02:00
im85288
44b22e7a67 replaced auto play episode with custom nextup dialog, also added
ItemInfo and PersonInfo from the old addon
2015-05-06 22:41:44 +01:00
Marcel van der Veldt
d4e44122ba moved videonodes code to seperate class 2015-05-06 23:24:13 +02:00
Marcel van der Veldt
e76bf71591 some changes to the video nodes building 2015-05-06 22:53:55 +02:00
Marcel van der Veldt
52a8345430 fixed actor images in listings 2015-05-06 17:43:40 +02:00
Marcel van der Veldt
67dba82324 fix: playback of virtual strm files
fix: some listitem data gets overridden after playback
do no longer override the title with "direct play" etc
2015-05-06 17:02:16 +02:00
Marcel van der Veldt
6997c7f79a close con when needed 2015-05-06 16:17:33 +02:00
angelblue05
cdd6239736 Follow up for the new feature
Added a short notification to indicate to users success or error.
2015-05-05 22:20:29 -05:00
angelblue05
0501622b59 Add/Remove additional user from session
Can be mapped to home menu or keymap using:
RunPlugin(plugin://plugin.video.emby?mode=adduser)
2015-05-05 22:02:36 -05:00
angelblue05
d8fd3603a6 Fix for profiles 2015-05-05 21:45:29 -05:00
angelblue05
add7494b99 Rename MainModule to Entrypoint
It is more appropriate.
2015-05-05 15:18:52 -05:00
Marcel van der Veldt
60957668f3 fix for playcount reported wrong by Kodi
unwatched items are calculated when the playcount is set to NULL in the database and not 0
2015-05-05 18:40:53 +02:00
im85288
2682a7617d include the first backdrop in extrafanart 2015-05-05 15:41:48 +01:00
Marcel van der Veldt
0136ed3f1b stupid typo 2015-05-05 16:21:30 +02:00
Marcel van der Veldt
36b2392e83 corrected the genres method 2015-05-05 16:20:09 +02:00
Marcel van der Veldt
8e8c80980f finished the videonodes building, also localized the labels and moved generation to startup
added tvdb field to tv shows for compatability with kodi addons
added country field to movies
2015-05-05 16:16:34 +02:00
im85288
aed5abf16d channels does not need the mediastreams retrieved or peoplw 2015-05-05 13:28:43 +01:00
Marcel van der Veldt
3ba1b4e5a3 moved default.py code to MainModule.py
fixed playback for channels
fixed nextup listing
2015-05-05 13:27:45 +02:00
Marcel van der Veldt
c374b166bb added support for channels 2015-05-05 04:53:21 +02:00
angelblue05
1acfd78cdf Added reset auth option to settings 2015-05-04 19:03:46 -05:00
Marcel van der Veldt
93f2d4cd91 added nextup videonode to tvshow collections 2015-05-05 01:43:46 +02:00
angelblue05
b996037e4e Handle unexpected response
API seems to return text/html response for playeditems
2015-05-04 14:09:01 -05:00
angelblue05
fc05e83d90 Fix for manually marked as watched/unwatched
The videolibrary.onupdate triggers 3 times. This prevents from sending
more than one mark watched/unwatched to Emby API
2015-05-04 13:54:42 -05:00
im85288
1f846b1302 playback from home widgets does not need the setresolvedurl method
called along with xbmc.play
2015-05-04 17:34:05 +01:00
angelblue05
20e3d9d7ac Follow up for dateAdded 2015-05-03 18:09:16 -05:00
xnappo
501adb6e3c Fix up date added 2015-05-03 18:04:24 -05:00
Marcel van der Veldt
552a9a30bd sort the "all" nodes by title 2015-05-04 00:04:10 +02:00
Marcel van der Veldt
c2c5743611 also prefix the label 2015-05-03 23:55:49 +02:00
Marcel van der Veldt
5ec53e0326 stupid typo 2015-05-03 23:52:40 +02:00
Marcel van der Veldt
5b03f6549d don't add the emby videonodes in a parent folder because it causes issues with video node editor and skinshortcuts addons 2015-05-03 23:50:36 +02:00
Marcel van der Veldt
f56b154a83 fixed default nodes and create node dirs if not existing 2015-05-03 23:11:06 +02:00
Marcel van der Veldt
dd54cb27f3 first work on the video nodes stuff 2015-05-03 20:30:24 +02:00
im85288
f80e099b0c remove play from http option at scan time 2015-05-03 19:19:25 +01:00
im85288
ba4a00c53a Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi.git into database_changes 2015-05-03 17:26:15 +01:00
im85288
8de2eecdcf fixed autoplay episodes 2015-05-03 17:26:04 +01:00
Marcel van der Veldt
4d9c845fd3 show the additional resume dialog if launched from a widget 2015-05-03 18:08:07 +02:00
Marcel van der Veldt
cef2b67eba only use the additional play when launched from widget (home active) 2015-05-03 18:02:53 +02:00
Marcel van der Veldt
d349207781 Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-03 17:40:43 +02:00
Marcel van der Veldt
34f1b81f10 Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-03 17:39:31 +02:00
xnappo
c8e4312571 More fixes to make 'getViewCollections' work 2015-05-03 10:39:30 -05:00
Marcel van der Veldt
72ca06e417 add support for native extrafanart 2015-05-03 17:39:12 +02:00
xnappo
08ea50bdca Missed a line somehow. 2015-05-03 10:19:02 -05:00
xnappo
7a2d0d2ef7 Add sync on wakeup 2015-05-03 10:05:26 -05:00
xnappo
76691ea687 Fixes for user views in case we decide to use them 2015-05-03 09:42:37 -05:00
im85288
e91d2ff2a7 resolve artwork issue for widgets 2015-05-03 14:45:13 +01:00
im85288
6f5ae66c54 added initial box set support 2015-05-03 13:44:23 +01:00
angelblue05
4b9cae3f2f Handle revoked token 2015-05-03 02:24:23 -05:00
angelblue05
6cb5fd12a1 logging for report progress
Moved to debug
2015-05-03 01:06:44 -05:00
angelblue05
38d0d1c02b Added server online check 2015-05-03 00:27:43 -05:00
angelblue05
60390a2f24 Fix sessionId bug 2015-05-02 21:28:24 -05:00
angelblue05
d0e2b7c3d6 Revert "Fix sessionId bug"
This reverts commit cb663913a0.
2015-05-02 21:26:01 -05:00
angelblue05
cb663913a0 Fix sessionId bug 2015-05-02 21:06:09 -05:00
Marcel van der Veldt
3b6d08cd2e damn typo 2015-05-03 02:01:15 +02:00
Marcel van der Veldt
654dd71b26 minor fix for musicvideo support 2015-05-03 01:59:08 +02:00
Marcel van der Veldt
91a73128b1 changed checksum to use both userdata and etag to detect changes
added favotite shows and movies tags
2015-05-03 01:46:11 +02:00
Marcel van der Veldt
812e3090a5 added support for 3d format in streamdetails 2015-05-03 00:44:35 +02:00
angelblue05
8e3a22e0e8 Launch playback via default.py
I've commented out the resume dialog. If we actually need it then it can
be readded.
2015-05-02 16:40:30 -05:00
im85288
210b0831c7 use etag for checksum 2015-05-02 22:14:04 +01:00
Marcel van der Veldt
5000613a99 Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-02 22:46:32 +02:00
Marcel van der Veldt
383fb37ca3 perform all database commits at once instead of 1 by 1 2015-05-02 22:46:12 +02:00
xnappo
02dbb32227 Minor fix for TV shows progress
Count was wrong due to empty shows.
2015-05-02 15:34:55 -05:00
Marcel van der Veldt
e637af1b78 small fixes for musicvideo support 2015-05-02 22:25:08 +02:00
Marcel van der Veldt
96e50a3d1e added musicvideo supporr 2015-05-02 22:02:06 +02:00
Marcel van der Veldt
3d77a9dd3a fixed progress dialog and added shouldstop event 2015-05-02 19:49:39 +02:00
Marcel van der Veldt
367b658a29 some more changes to the playback 2015-05-02 18:36:06 +02:00
im85288
bc09e570fd revert etag use as the API does not currently return the etag when
getting a collection of items (eg all episodes of a tv show).
2015-05-02 17:16:33 +01:00
Marcel van der Veldt
ba5211dcb8 fixed resume dialog 2015-05-02 18:04:32 +02:00
Marcel van der Veldt
f6cd5c9744 changed playback a bit 2015-05-02 17:49:29 +02:00
Marcel van der Veldt
702eec810a Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-02 16:50:04 +02:00
Marcel van der Veldt
88b31ae5c4 fixed playback 2015-05-02 16:49:47 +02:00
im85288
e6784de347 use the etag when available 2015-05-02 15:34:59 +01:00
Marcel van der Veldt
d489375ab2 fixed manual mark watched 2015-05-02 15:59:48 +02:00
Marcel van der Veldt
a05bdeb844 fixed issue with episode sync 2015-05-02 14:57:43 +02:00
Marcel van der Veldt
6e9983edba added playcount to the sync 2015-05-02 14:02:31 +02:00
Marcel van der Veldt
fc2f158ad0 fixed IncrementalSync typo 2015-05-02 13:47:04 +02:00
Marcel van der Veldt
8c6b90923e fixed some errors 2015-05-02 12:51:46 +02:00
Marcel van der Veldt
61c6fedc19 some more typos 2015-05-02 12:22:53 +02:00
Marcel van der Veldt
cabcdd5e90 fixed some typos 2015-05-02 12:10:57 +02:00
Marcel van der Veldt
d93f5044b3 cleaned sync code - added progress
fixed background sync with websocket
2015-05-02 11:56:31 +02:00
Marcel van der Veldt
2eac7bbcb4 fixed updates from websocket 2015-05-02 04:01:52 +02:00
Marcel van der Veldt
6d191fef1d fixed some small issues 2015-05-02 03:47:05 +02:00
Marcel van der Veldt
42c7256f54 added streamdetails 2015-05-02 02:57:58 +02:00
Marcel van der Veldt
b4dd9f58bd fixed the plugin path for playback 2015-05-02 02:26:06 +02:00
Marcel van der Veldt
cf2c5ef701 Merge branch 'database_changes' of https://github.com/MediaBrowser/Emby.Kodi into database_changes 2015-05-01 22:14:15 +02:00
Marcel van der Veldt
ecd1fad09f revert to old method for file access while sorting out the plugin approach 2015-05-01 22:14:00 +02:00
im85288
392863fa93 update episode rather than tv show 2015-05-01 20:15:43 +01:00
im85288
70182edf0e fix for update path - takes 2 parameters 2015-05-01 20:13:15 +01:00
Marcel van der Veldt
e77d5c7c53 some more fixes 2015-05-01 18:32:13 +02:00
Marcel van der Veldt
a8235061e1 fixed some typo errors 2015-05-01 17:13:22 +02:00
Marcel van der Veldt
b617621097 finalized all properties to the database syncs
cleanup of some code
2015-05-01 16:58:20 +02:00
Marcel van der Veldt
409832ead4 small fix 2015-05-01 14:06:31 +02:00
Marcel van der Veldt
adf85204ee added artwork to sync 2015-05-01 13:57:24 +02:00
Marcel van der Veldt
8a990ba217 first work on the transition to use kodi db for all actions 2015-05-01 13:30:21 +02:00
angelblue05
fdff2cefb7 Revert "Playcount fix"
This reverts commit f0fb6d390b.
2015-04-29 23:10:37 -05:00
angelblue05
f0fb6d390b Playcount fix
Seems it was attached to the watched status instead of the actual
playcount value.
2015-04-28 18:45:39 -05:00
angelblue05
2f3d609f53 Attempt #1 at fixing playback report/resume
Cleaning up the code, using websocket to report playback progress.
2015-04-28 17:23:26 -05:00
angelblue05
fb006bb5f8 Revert "Added server online check"
This reverts commit 9020c1c908.
2015-04-26 18:15:40 -05:00
angelblue05
9020c1c908 Added server online check 2015-04-26 15:41:39 -05:00
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