Commit graph

680 commits

Author SHA1 Message Date
xnappo
f4ea4927c3 Minor fixes for direct path
Fix toplevel tvshows path so info screen shows
Some KodiMonitor fix from Shaun
2015-05-26 18:12:13 -05:00
xnappo
698e1edb02 Transcode path fix 2015-05-25 11:53:53 -05:00
xnappo
03cf43179a Added playback reporting for direct paths 2015-05-25 11:49:06 -05:00
xnappo
54a647d866 Option to use direct paths 2015-05-25 09:23:52 -05:00
angelblue05
c25c2fc1bb No longer necessary. 2015-05-24 23:29:42 -05:00
xnappo
bdea60fba3 Revert "First attempt - fix for slow playback start"
This reverts commit 9197e274d2.
2015-05-24 22:59:57 -05:00
angelblue05
ced36a8de5 Switch order for watched
I have been testing for the past two days. it seems to work better this
way.  That is until marcelveldt has time to go over this :) Thanks, and
I'm off!
2015-05-24 00:56:31 -05:00
angelblue05
9197e274d2 First attempt - fix for slow playback start
Removing the json call, might cause lock up on low end devices and/or
slow playback start.
2015-05-23 17:51:41 -05:00
angelblue05
703d7b3492 Prevented starting from beginning 2015-05-23 04:43:14 -05:00
im85288
801c08bd4d added votecount and tagline for movies 2015-05-23 01:23:36 +01:00
Joachim Davik
73beda7db6 Added Ignore Specials setting for Next Episodes 2015-05-22 10:33:39 +02:00
angelblue05
6582523c55 Added logging for websocket
No handlers could be found for logger "root" - this allows to see the
actual error.
2015-05-21 20:41:11 -05:00
angelblue05
45434f42ee Minor adjustment to API playcount
If Emby item is played but playcount is zero, instead import playcount
as 1 to match playstate.
2015-05-20 04:45:43 -05:00
xnappo
b556707ce6 Fix for multiple OnWake messages 2015-05-19 21:03:53 -05:00
angelblue05
d6a1a3e919 Minor adjustments
Added logging for netflix style next up and increased webclient message
time to 4 seconds instead of 2.
2015-05-18 17:21:07 -05:00
angelblue05
f3dfeb7653 Force playstate to appear immediately
Just incase there's something holding the process. To be reviewed at a
later time.
2015-05-17 22:04:24 -05:00
angelblue05
0a948d59f6 Moving the watchdog to service.py 2015-05-17 07:11:50 -05:00
angelblue05
e685c99b5a unicode 2015-05-17 06:27:28 -05:00
angelblue05
813af6bf84 Another attempt, frikkin unicode 2015-05-17 05:52:21 -05:00
angelblue05
e50939aa53 Another attempt at solving unicode
Attempt at solving this damn unicode..... For me, it works but I don't
know about anyone else.
2015-05-17 04:47:08 -05:00
angelblue05
d0bee543a1 Reset resume on mark watched and unwatched
Emby behavior for manually marking watch state
2015-05-17 02:50:33 -05:00
angelblue05
f422e076a8 Follow up, Version bump 0.1.88
Added Emby behavior in Kodi - when marking unwatched, also erase any
resume point.
2015-05-17 02:08:18 -05:00
angelblue05
ddb7ec4bbd Second attempt at fixing playcount situation
This should also reflect the actual Emby playcount. The websocket didn't
echo, but what I did is kill the echo caused by the video library update
after userdata change happens.
2015-05-17 00:37:53 -05:00
angelblue05
2aefab1545 Fix unicode error once and for all
Turns out to keep a variable that's unicode and keep working with that
variable as unicode, need to do unicode(variable). Reincoding using
.encode('utf-8') is not the same!!  Added extra logging for the future
to help debug direct play.
2015-05-16 20:21:49 -05:00
xnappo
84c7130cc9 Option to suppress server connection notification
It make an error noise that I have grown to despise.
2015-05-16 15:12:50 -05:00
xnappo
26befdb859 Typo fix 2015-05-16 14:57:44 -05:00
xnappo
08a94a5427 Commit not needed if using same connection 2015-05-16 11:04:09 -05:00
xnappo
9041f16ff9 Clean up shows emptied by web socket 2015-05-16 10:58:48 -05:00
angelblue05
7454b022f7 Seek playback
Reflect more accurately in the dashboard
2015-05-16 03:52:30 -05:00
angelblue05
52994a65a2 Revert "Last one, promise!"
This reverts commit 513362eb2b.
2015-05-16 03:47:06 -05:00
angelblue05
513362eb2b Last one, promise!
Make seeking reflect more accurately when reporting to dashboard
2015-05-16 03:45:41 -05:00
angelblue05
c847bbbdd2 Revert "Last one, promise!"
This reverts commit 4446bcd313.
2015-05-16 03:44:11 -05:00
angelblue05
4446bcd313 Last one, promise!
Makes seeking reflect more accurately. I found that why the type the
reportplayback is called, the service loop didn't update the
currentPosition yet.
2015-05-16 03:35:37 -05:00
angelblue05
bdfef9f8b7 SendString - General command
It just clicked in my mind that "send string" can be used to input to
keyboard dialogs in kodi. Awesome :)
2015-05-16 02:11:41 -05:00
angelblue05
79e4bd8a6a Fix watched feedback and added General command
Everything in the remote control is supported except for audiostream and
subtitleindex. Turns out the watched playcount bug was indeed a
feedback, so to prevent this I'm skipping the first message that has the
itemId right after marking watched.
2015-05-16 01:31:08 -05:00
angelblue05
05777a0f23 Small adjustment for the direct play failed
Just a different, more appropriate presentation.
2015-05-14 01:05:52 -05:00
angelblue05
e32c27685b Quick follow up 2015-05-14 00:11:15 -05:00
angelblue05
17ebed7d3d Missed a line 2015-05-14 00:10:20 -05:00
angelblue05
11e4a70e25 Reworked the userclient with possibilities
Revoked token was actually broken, handle access schedule better,
restart/start properly. This is to stabilize things.
2015-05-13 23:48:35 -05:00
angelblue05
696586e952 Revert "Revert "Retrying retrieving sessionId""
This reverts commit 585b1ac64e.
2015-05-13 13:49:27 -05:00
angelblue05
585b1ac64e Revert "Retrying retrieving sessionId"
This reverts commit a303f73273.
2015-05-13 13:30:56 -05:00
angelblue05
a303f73273 Retrying retrieving sessionId
But only after capabilities have been posted, instead of before.
2015-05-13 13:23:33 -05:00
xnappo
4f46debd31 Revert parental control - breaking change
I don't have any restrictions set up and this completely breaks the
addon for me...
2015-05-12 22:24:18 -05:00
angelblue05
8973bca9bf Tweak for parental control
In case the server is also offline while access is restricted.
2015-05-12 19:55:46 -05:00
Marcel van der Veldt
d2a3f316be added boxsets to IncrementalSync 2015-05-12 21:40:58 +02:00
Marcel van der Veldt
da4b99f989 more fancy solution for the episode adds where show doesn't exist yet 2015-05-12 21:27:27 +02:00
Marcel van der Veldt
025fd31da8 a little more error handling added 2015-05-12 18:16:30 +02:00
xnappo
e44d2a4b3d Force a full sync when items added (for now) 2015-05-12 07:14:38 -05:00
angelblue05
de527327a5 Another follow up
Use a while loop instead.
2015-05-12 03:16:34 -05:00
angelblue05
354f0905f6 Support Parental control - access schedule
I had to reorganize the service.py loop a bit for this to work.
Logically the top level inside the while loop should be if the user is
authenticated.
2015-05-12 02:34:03 -05:00
shaun
a3b500061a add back in the service monitor watchdog 2015-05-12 10:10:33 +10:00
im85288
0923b649e7 backdrop fix for albums/songs 2015-05-11 14:02:34 +01:00
angelblue05
684167a031 Follow up for unicode 2015-05-10 08:07:06 -05:00
angelblue05
df665343c5 Fix unicode failed playback
Failing due to window prop, doh!
2015-05-10 07:39:16 -05:00
im85288
f7a65c6763 added role for actors for kodi 15 2015-05-10 13:28:42 +01:00
Marcel van der Veldt
4063be6e99 fixed music runtime calculation 2015-05-10 02:30:47 +02:00
Marcel van der Veldt
ad00392a68 fix main entry point: not respond to other addons requests 2015-05-09 21:26:01 +02:00
Marcel van der Veldt
4a3200f6df just some more safety checks for the music import
musicbrainzID is unique in Kodi while it's not in emby ?
2015-05-09 19:16:49 +02:00
xnappo
833e2b553f Really remove all 'pending' code 2015-05-09 07:26:33 -05:00
Marcel van der Veldt
eb636def38 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-09 12:53:39 +02:00
Marcel van der Veldt
5b6c72150c some fixes for video nodes and isengard 2015-05-09 12:53:23 +02:00
angelblue05
7a1d4c2558 Fix for unicode path
Seems os.path.exists needs utf-8 encoding or else it blows up.
2015-05-09 05:04:13 -05:00
angelblue05
0ad7ed3c18 Added support for webclient message
Both "send message" and "send text"
2015-05-09 02:17:58 -05:00
angelblue05
3b3f9f7bba First attempt at supporting split movies. 2015-05-09 01:44:02 -05:00
Marcel van der Veldt
93f28836d5 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-09 03:16:14 +02:00
Marcel van der Veldt
1e61c9edc8 (finally) fixed the video node sublevels filtered on tagname with episodes 2015-05-09 03:16:03 +02:00
xnappo
4d77401512 Close database after delete 2015-05-08 19:01:25 -05:00
im85288
e2b952911f media icons for nextup dialog 2015-05-08 20:31:20 +01:00
im85288
858f811362 fix import error and new default nextupinfo 2015-05-08 19:54:43 +01:00
xnappo
e45b59c487 Add offer delete for episode option 2015-05-08 12:40:36 -05:00
Marcel van der Veldt
68c7c7ac64 fixed nextup node 2015-05-08 19:10:58 +02:00
Marcel van der Veldt
b6af96f8c0 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-08 19:05:27 +02:00
Marcel van der Veldt
684d8604ca removed iteminfo dialog stuff because that is never going to work with this addon
fix for wrong entries in episodes widgets/submenus
2015-05-08 19:05:10 +02:00
xnappo
b3619201c1 Re-implement delete
Also restores accidently removed items
2015-05-08 11:23:22 -05:00
Marcel van der Veldt
105d863979 fixed error in incrementalsync 2015-05-08 15:46:07 +02:00
Marcel van der Veldt
25ae3cea76 add safety check for album adds 2015-05-08 13:16:21 +02:00
Marcel van der Veldt
4b190bab34 fix for music sync in Kodi Isengard
fix for directplay check in music path - should support remote streaming now
2015-05-08 12:21:11 +02:00
Marcel van der Veldt
77c8f6862e added percentage to progress dialog on sync 2015-05-08 12:05:15 +02:00
angelblue05
e592df0a36 Hide hidden users from addtosession list 2015-05-07 22:29:54 -05:00
Marcel van der Veldt
599fd4e2ac playback fixed (fow now) 2015-05-08 03:04:46 +02:00
Marcel van der Veldt
27b13d6509 final attempt to get the unlinked artist correctly shown up 2015-05-08 02:56:43 +02:00
Marcel van der Veldt
7fde54514e Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-05-08 02:44:50 +02:00
Marcel van der Veldt
acef00f2bb fix for missing artists links in kodi 2015-05-08 02:44:32 +02:00
angelblue05
68077d5578 Minor follow up 2015-05-07 19:38:27 -05:00
angelblue05
71d234ced7 Fix playback report
It now shows the appropriate info in dashboard - Direct Play, Direct
Stream or Transcoding
2015-05-07 19:24:32 -05:00
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
7a135b71fa Typo 2015-05-04 19:11:05 -05: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
b882596e29 Quick fix for deprecated method
RunPlugin goes with pluginsource default.py. This gets rid of the
deprecated message when using the action to reset local db.
2015-05-04 16:40:44 -05: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
im85288
657c813112 add back disable coverart option 2015-05-04 14:39:29 +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