Commit graph

778 commits

Author SHA1 Message Date
angelblue05
b6668ac6af Revert "Revert "Revert "Revert "Support alternate address""""
This reverts commit 62ea6b0eb8.
2015-06-29 11:45:03 -05:00
angelblue05
4e802623c3 Revert "Revert "First attempt at supporting cover art""
This reverts commit fadc3e0e49.
2015-06-29 11:44:55 -05:00
angelblue05
62ea6b0eb8 Revert "Revert "Revert "Support alternate address"""
This reverts commit 385c3cae7e.
2015-06-29 11:43:38 -05:00
angelblue05
fadc3e0e49 Revert "First attempt at supporting cover art"
This reverts commit c71e5eb293.
2015-06-29 11:43:29 -05:00
angelblue05
c71e5eb293 First attempt at supporting cover art
With option under Extras
2015-06-29 11:40:29 -05:00
angelblue05
385c3cae7e Revert "Revert "Support alternate address""
This reverts commit ef926f94e2.
2015-06-29 09:09:29 -05:00
angelblue05
ef926f94e2 Revert "Support alternate address"
This reverts commit 193ae44417.
2015-06-29 08:51:14 -05:00
angelblue05
9635d2f0d3 Revert "getdirectory error"
This reverts commit ff3041d104.
2015-06-29 07:39:45 -05:00
angelblue05
77bf9a7056 Merge remote-tracking branch 'origin/master' into clean-up 2015-06-28 22:10:37 -05:00
angelblue05
193ae44417 Support alternate address
For the same server, can switch from local to remote by enabling the
option.
2015-06-28 21:41:05 -05:00
angelblue05
5f9dc42950 Fix fail paste 2015-06-28 08:36:44 -05:00
angelblue05
986d60d370 remove reset of updateItem list 2015-06-28 08:33:58 -05:00
angelblue05
e3412912ac Move websocket library to library sync
This allows the websocket to properly communicate, since it's not busy
doing incremental syncs anymore.
2015-06-28 07:08:06 -05:00
angelblue05
dc3dbb202a Merge remote-tracking branch 'origin/master' into clean-up 2015-06-27 23:37:40 -05:00
angelblue05
e4647a90b2 Remove librarysync import
Prevent import error loop
2015-06-27 20:02:00 -05:00
angelblue05
00bf5434dc Fix season poster update
Caused incremental to freeze
2015-06-27 01:07:49 -05:00
Shaun
a1a2901e93 fix the movie addon path 2015-06-27 14:23:27 +10:00
shaun
5717aa8053 Fix the direct path handeling, if path has an issue dont add the item 2015-06-27 09:48:18 +10:00
angelblue05
ff3041d104 getdirectory error
modified script listing by setting folder=false (do not resolve with
listing).
2015-06-24 22:24:02 -05:00
im85288
42f8d91ace added a warn on sync where tvtunes cannot set the settings file. 2015-06-24 18:05:52 +01:00
Marcel van der Veldt
feb6c73fc3 fix texture cache stuff 2015-06-24 10:02:34 +02:00
Marcel van der Veldt
d617aa13ac added window prop to force refresh widgets if content has changed 2015-06-24 09:03:49 +02:00
angelblue05
b6f70fc5bf Attempt at fixing database locked
Hopefully close before cachetexture will fix the issue.
2015-06-23 20:14:38 -05:00
angelblue05
5f356b9147 Revert "Attempt at fixing database locked"
This reverts commit 0e7c8b5959.
2015-06-23 20:12:39 -05:00
angelblue05
0e7c8b5959 Attempt at fixing database locked
Hopefully, the close before cachetexture will fix the issue.
2015-06-23 19:43:51 -05:00
im85288
f946f7ba69 tv tunes now accepts both music/video themes in the same nfo 2015-06-22 20:18:00 +01:00
im85288
6e56d259d4 merged normalize string changes from tvtunes addon 2015-06-20 18:05:54 +01:00
im85288
5e53884030 re-added fix for unicodes 2015-06-20 16:28:52 +01:00
im85288
5e130bf6fd added theme video support 2015-06-20 15:59:00 +01:00
angelblue05
2abee11c6b Fix for unicode error
The normalize_string method needs utf-8 encoding, not unicode.
2015-06-19 09:02:29 -05:00
angelblue05
3118434c47 Watched status
Moved away from Json RPC for DB write instead.
2015-06-19 07:20:31 -05:00
angelblue05
142908d56d Force refresh fanart
The only thing cached into texture13.db I believe fanart was the last
thing that wasn't changing when modified in Emby.
2015-06-19 05:53:22 -05:00
angelblue05
ae07e1b4c6 another attempt at Theme music
For illegal characters - following the same pattern as TV Tunes to make
sure we match 100%
2015-06-19 03:10:41 -05:00
angelblue05
678efedd30 Change to theme music
Apparently CleanName is not CleanFileName... Using Kodi's built in
method instead.
2015-06-18 21:11:48 -05:00
angelblue05
83080815ba Revert db change 2015-06-18 05:42:57 -05:00
angelblue05
aa156a5a63 Add artwork to All-season
Turns out All-season is -1.
2015-06-18 05:10:49 -05:00
angelblue05
494e326413 Season artwork update
When changing artwork
2015-06-18 03:03:44 -05:00
angelblue05
9c1f8476aa Database follow up
When upgrading Kodi, it will leave the old database in the folder. As to
not conflict, use the higher database version number.
2015-06-17 21:34:45 -05:00
angelblue05
fc7916c69b Quick correction for youtube trailer 2015-06-17 03:19:08 -05:00
angelblue05
56c2c9aef2 Added tv tunes compatibility
Automatically set the proper path for tv tunes
2015-06-17 01:57:09 -05:00
angelblue05
7b041d8795 Fix for filename
using utils cleanname and encoding for special characters
2015-06-17 01:32:59 -05:00
angelblue05
079adfb619 Revert "Fix ratio poster"
This reverts commit 0dc19eb87f.
2015-06-17 01:13:21 -05:00
angelblue05
591214590e Added support for youtube trailers 2015-06-17 00:35:07 -05:00
angelblue05
874aab05d5 Revert "Added support for youtube trailers"
This reverts commit ac95b1ce23.
2015-06-17 00:32:10 -05:00
angelblue05
ac95b1ce23 Added support for youtube trailers 2015-06-17 00:26:12 -05:00
angelblue05
ce312bd2c8 Quick follow
To make sure it doesn't pick up the temp file Kodi creates which is the
same name as the database.
2015-06-16 21:27:50 -05:00
angelblue05
0b0d1aaacc Revert "Quick follow up"
This reverts commit 7f2610642b.
2015-06-16 21:11:50 -05:00
angelblue05
7f2610642b Quick follow up
Prevent from picking up the temp journal file Kodi creates.
2015-06-16 20:24:54 -05:00
angelblue05
3c1ce16da0 Use proper DB path
without guessing.
2015-06-16 19:32:42 -05:00
angelblue05
0dc19eb87f Fix ratio poster
1000*1500 Should be correct with and without cover art.
2015-06-16 18:39:12 -05:00
im85288
58ab6432f6 remove beta support and use latest as default so that future changes
hopefully are not needed
2015-06-16 20:38:36 +01:00
angelblue05
aa745f1fcc Put library sync in own thread
Reviewed service for utf-8
2015-06-16 00:53:01 -05:00
angelblue05
91b9d3167d Attempt at supporting Isengard Beta 2 2015-06-15 19:41:40 -05:00
angelblue05
cce246e106 Caused error with special chars 2015-06-15 13:42:34 -05:00
angelblue05
b68ef6df84 Disable audio-subs pref
Temporarily to re-work.
2015-06-13 17:54:48 -05:00
shaun
38c063ddc5 increase logging verbosity for WebSocket message errors 2015-06-13 11:22:51 +10:00
shaun
fd9c3d42d8 import WriteKodiMusicDB 2015-06-13 11:21:21 +10:00
shaun
5fa7387e99 with direct paths make sure a path was returned 2015-06-13 11:20:40 +10:00
im85288
d0325ba737 added stream language and subtitle language to streamdetails 2015-06-12 20:49:07 +01:00
Marcel van der Veldt
c71634d18c prevent errors on empty results 2015-06-12 10:02:11 +02:00
angelblue05
2f78ea46d9 Re-add connection message
Reenabled the option to disable the message as well.
2015-06-11 04:57:33 -05:00
angelblue05
4d28f2a878 Follow up for audio subs pref 2015-06-11 03:17:48 -05:00
angelblue05
983978dc33 Support multiple theme songs 2015-06-11 01:59:44 -05:00
angelblue05
95558edd4e Quick follow up
Forgot the launch menu item.
2015-06-11 00:59:15 -05:00
angelblue05
a6497ce6c7 First attempt at supporting theme music 2015-06-11 00:46:47 -05:00
angelblue05
4d8b4b7ffa Fix bug
not working because it was missing ?format=json
so silly....
2015-06-09 15:09:55 -05:00
angelblue05
f547a4bb4c Fix bug 2015-06-09 05:43:48 -05:00
angelblue05
0dc4f91908 Audio and subs auto selection
Now supports Direct stream, Transcoding and Direct path
2015-06-09 05:30:01 -05:00
angelblue05
3fcdbe0bb8 Tweaking audio subs pref some more 2015-06-08 20:19:56 -05:00
angelblue05
ad6626c086 Refining
People seem to set invalid paths as path subs, this should allow direct
streaming to allow instead. To be tested.
2015-06-08 03:11:04 -05:00
angelblue05
cf17e957bb Quick follow up
The usual revision.
2015-06-08 02:31:13 -05:00
angelblue05
de928ec669 Audio and subtitles automatically set for playback
Currently only available for direct play. Unsure if this works with
direct paths. To find out.
2015-06-07 22:48:28 -05:00
im85288
43b1e3b0eb lable change cinema mode 2015-06-07 12:08:57 +01:00
xnappo
72b7c53934 Change wording for new texture cache setting 2015-06-06 11:31:58 -05:00
im85288
75828e7eec fix for intros/cinema mode bug 2015-06-06 17:19:53 +01:00
im85288
033c2540e9 fix for logic when using preferences, it was saving all the time, now it
only saves when save is pressed
2015-06-06 14:08:39 +01:00
im85288
ad594ff472 user preferences 2015-06-06 12:05:14 +01:00
angelblue05
69064b4579 Officially fix the os.path.exists
By getting rid of it, and using xbmcvfs instead. Ha!
2015-06-06 01:06:33 -05:00
shaun
f5e80ac448 dont do the exists check when useDirectPaths is true 2015-06-06 11:55:11 +10:00
angelblue05
bef482c680 Changed back to encode
Will review why it works under Windows, but not any other platform... :)
2015-06-05 19:50:32 -05:00
Marcel van der Veldt
cdf78de132 added support for kodi texturecache:
- setting in addon settings to turn on the cache feature (now for testing, maybe hidden later)
- for all new items the poster and the fanart image will be cached automatically (when setting is on)
- added a option to the plugin root options to perform full cache fill which will pull every single image to the cache.
2015-06-06 00:11:24 +02:00
im85288
8f8f39bb75 added support for intros 2015-06-05 15:46:17 +01:00
angelblue05
23e039fd43 In preparation of audio/subs pref 2015-06-05 06:57:57 -05:00
angelblue05
20ac3c9465 Log Level instant change
I grew tired of restarting Kodi everytime....so I made it so the log
level changes on the stop without restarting Kodi. Also removed NextUp
import and added the downloadUtils 200 response to help debug in the
future.
2015-06-05 05:12:09 -05:00
angelblue05
5f7f08079c Change logic for server online
Removed server offline from websocket. At least, until we can figure out
why the websocket constantly disconnect from the server for some users.
2015-06-04 05:37:10 -05:00
angelblue05
c36b896f99 Server online check
Only display the notification in the event the server was offline first.
Removed the option to suppress it, as it is now useless. Also muted the
notification.
2015-06-04 03:44:55 -05:00
angelblue05
e37a55bc07 Fix unicode path
for os.path.exists path.decode('utf-8') does the trick. Fingers crossed.
2015-06-02 19:22:33 -05:00
angelblue05
073a83f592 Added logging for Direct play 2015-06-02 16:26:23 -05:00
im85288
4cbb648dc4 nextup info removed 2015-06-01 09:12:09 +01:00
im85288
44286e2764 moved out next up play logic to seperate addon 2015-06-01 01:16:55 +01:00
im85288
0268b9b92e remove unused mb3.png icon 2015-05-31 16:27:53 +01:00
shaun
daef852117 Small wording changes to settings and dont notify sync if playing back 2015-05-31 10:47:44 +10:00
xnappo
c3e2e031b7 Music default, but don't change prior setting.
Version bump
2015-05-30 18:02:45 -05:00
im85288
77c91379b2 set music sync on as default and added emby icon 2015-05-30 22:18:23 +01:00
angelblue05
795430daff Websocket Server online check modification
This is in place, in the hopes to prevent a false "Server unreachable"
error, created by a random int is not be iterated. Will be revisited
once this elusive error is resolved.
2015-05-29 16:42:19 -05:00
xnappo
6a0b9a4934 Fix info for direct play with password on network 2015-05-28 09:57:15 -05:00
xnappo
1915e685b0 Fix non-direct TV show and Music video path 2015-05-28 06:53:07 -05:00
angelblue05
13e54b5a9e Mute logging 2015-05-26 22:42:14 -05:00
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