Commit graph

1415 commits

Author SHA1 Message Date
tomkat83
6c40455ac6 Trying to fix SSL issues. Seems to be a Kodi request issue for very first calls?!?
still get "[Errno 8] _ssl.c:510: EOF occurred in violation of protocol"
2015-12-27 13:20:53 +01:00
tomkat83
2d84c39be5 added getServerId to allow for Plex machineIdentifier 2015-12-27 12:23:59 +01:00
tomkat83
72b3b49b6e brought downloadutils.py up to speed 2015-12-27 12:21:25 +01:00
tomkat83
ed1915ec7e Get plex login in initialsetup.py 2015-12-27 12:14:06 +01:00
tomkat83
e6db2e1b96 Added PlexAPI.py. Adjusted settings.xml 2015-12-27 12:09:07 +01:00
tomkat83
962fe6c605 Renamed to plugin.video.plexkodiconnect. Adjusted addon.xml 2015-12-27 11:49:14 +01:00
angelblue05
a116db491c Add limit to request from server 2015-12-27 01:05:51 -06:00
angelblue05
493459de33 Fix artwork cache
Still looking into the delay with extra fanart scenario
2015-12-26 20:07:13 -06:00
angelblue05
f472f44a40 Fix missing import 2015-12-26 17:50:38 -06:00
angelblue05
0b6b5861c7 Fix missing pdialog 2015-12-26 16:23:29 -06:00
angelblue05
c125414991 Correct path for deviceid 2015-12-26 12:39:54 -06:00
angelblue05
8d219b64b3 Revert "Correct path for deviceid"
This reverts commit 67c4c33a5b.
2015-12-26 12:29:38 -06:00
angelblue05
67c4c33a5b Correct path for deviceid 2015-12-26 12:19:42 -06:00
angelblue05
a5e9fb1698 Add force refresh playlist
To correct missing tag bug.
2015-12-26 03:42:13 -06:00
angelblue05
7b3aae2d83 Fix fanart 2015-12-26 03:09:47 -06:00
angelblue05
7b2d67a8bf Fix typo 2015-12-26 01:50:32 -06:00
angelblue05
47976c81be Fix typo 2015-12-26 01:22:25 -06:00
angelblue05
8f8cdbaa88 Fix typo 2015-12-25 21:56:15 -06:00
angelblue05
0e78089aad Fix people
Scenario where actor doesn't have a role defined in the metadata.
2015-12-25 21:41:28 -06:00
angelblue05
9959806f5b Fix boxset 2015-12-25 21:36:46 -06:00
angelblue05
a7a82f4ebb Fix AR 2015-12-24 18:02:31 -06:00
angelblue05
17913241a1 Fix trailer 2015-12-24 16:45:18 -06:00
angelblue05
0e15daa37a Fix user image 2015-12-24 16:16:58 -06:00
angelblue05
163881e79f Fix typo 2015-12-24 15:16:47 -06:00
angelblue05
3007f8fdac Fix typo 2015-12-24 15:07:06 -06:00
angelblue05
69884a1b54 Readd with lowercase name 2015-12-24 14:07:00 -06:00
angelblue05
9855ac4c94 Remove to readd 2015-12-24 14:06:31 -06:00
angelblue05
08f9add813 Revert "Replace"
This reverts commit f28c9fe069.
2015-12-24 13:56:11 -06:00
angelblue05
f28c9fe069 Replace
Seems I have to rename the filename to lowercase manually.
2015-12-24 13:54:34 -06:00
angelblue05
3f6fe0a9e7 Version 1.1.63
alpha ready for beta testing
2015-12-24 13:51:47 -06:00
angelblue05
0200df3225 Fix key error 2015-12-05 19:43:41 -06:00
marcelveldt
7b9a601735 fix issue with nextepisodes node tag filter 2015-12-04 11:10:11 +01:00
angelblue05
9f7f81fd55 Correct typo 2015-12-02 16:55:20 -06:00
angelblue05
3384124f9c Adjust delete cached artwork
If fails, move on instead.
2015-12-02 16:51:30 -06:00
angelblue05
73d3974e39 Convert Force transcode to an option
Only for 1080p/H265
2015-12-02 16:47:07 -06:00
angelblue05
d07816d7fb Correct typo 2015-12-02 05:00:00 -06:00
angelblue05
d57f8ddde3 Force transcode 1080p/h265 2015-12-02 04:58:20 -06:00
angelblue05
988d62c9ac Fix cursor staying open after marking as watched 2015-12-01 00:53:59 -06:00
angelblue05
4e2cd67946 Fix for connection
In case status is good, but server is unreachable.
2015-11-25 17:20:06 -06:00
Shaun
fc8c41ccf3 remove some save last sync calls 2015-11-24 15:20:12 +11:00
marcelveldt
3e1efdf824 add recommended and random nodes 2015-11-23 18:45:42 +01:00
Shaun
3c9aa10587 add messaging to sync thread exit 2015-11-20 13:52:06 +11:00
angelblue05
faa376a520 Version bump 1.1.60
Stable release
2015-11-12 16:32:02 -06:00
angelblue05
66a9a85fc4 Direct path setup
Add a caution note.
2015-11-09 21:01:31 -06:00
angelblue05
7dbc1339bb Fix directors 2015-11-09 19:59:45 -06:00
angelblue05
4da967a65c fix sources.xml
argument not available on older python versions
2015-11-08 08:31:49 -06:00
angelblue05
3431b5d28d Use fallback artists
If album artists is missing
2015-11-08 05:42:53 -06:00
angelblue05
6156557b7d Follow kodi track# convention
disc#*2**16 + track#
2015-11-08 00:20:40 -06:00
angelblue05
9f4584d83f Fix albumartist 2015-11-06 22:40:08 -06:00
angelblue05
d03d24d078 Making sync process more robust
Central commit, central force update kodi library. This is to make sure
we don't have a kodi videoscan running at the same time as our syncing
process, in order to prevent the dreaded "database is locked" error.
2015-11-05 21:11:42 -06:00
angelblue05
5a39208aa3 Correcting sources
With elementetree instead
2015-11-03 07:22:03 -06:00
im85288
c10cee3cb3 jarvis music db bump 2015-11-03 11:07:31 +00:00
angelblue05
158008415f Prevent invalid paths
Strm file scenario
2015-11-03 02:27:59 -06:00
angelblue05
6ba664037e Adjust new ask to play trailer setting
Ask only if there should be trailers to be played.
2015-10-26 08:49:13 -05:00
marcelveldt
a5562e896b fix crash on playback when music sync is not enabled 2015-10-25 02:13:13 +02:00
marcelveldt
4c43139765 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-10-24 10:53:59 +02:00
angelblue05
d5c1bec4c6 Add music video artist link 2015-10-23 20:00:34 -05:00
marcelveldt
6950505341 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-10-23 21:06:55 +02:00
marcelveldt
138a495906 close handle to file 2015-10-23 21:06:35 +02:00
angelblue05
dbf6a350c7 Fix direct path
By the time the initial setup went thru, the class was already loaded.
Instead, load the settings in the instance.
2015-10-23 02:21:12 -05:00
angelblue05
bcee7dde76 First try at fixing singles issue for music 2015-10-23 01:45:52 -05:00
angelblue05
1893e79014 Add option to ask to play trailers 2015-10-22 23:09:01 -05:00
angelblue05
22b62133eb Kodi database scan
Prevent writing to database when the kodi database scan is running.
2015-10-22 21:55:32 -05:00
angelblue05
540745e24a Fix kodi exception
For music report playback, verify that the type we are about to process
is actually a song, otherwise we get a lot of exceptions that file is
not playing.
2015-10-22 19:46:29 -05:00
angelblue05
56ef721836 Fix artwork for albums
Boxrear is poster, primary is thumb instead of primary being thumb and
poster and boxrear is poster.
2015-10-22 17:49:38 -05:00
angelblue05
d0bf205331 Database warning
Warn the user visually of the database not found error.
2015-10-21 22:44:40 -05:00
angelblue05
6a9eddd413 Fix unicode error
Since we are not using self.logMsg, this is needed incase the path
contains unicode characters (window username)
2015-10-21 16:30:52 -05:00
angelblue05
ca2b2745db Take into account coverart settings
To disable coverart
2015-10-21 02:40:02 -05:00
angelblue05
54f39fa58e Support report playback for music 2015-10-20 04:18:13 -05:00
angelblue05
a0347ce03d Fix error for playback report
Take into account TypeError (nonetype), depending on the player used, it
might not return a result.
2015-10-19 00:40:19 -05:00
angelblue05
6849c22414 Support emby tags for music videos 2015-10-18 21:15:49 -05:00
angelblue05
069379ae59 Studios modification
Kodi only takes in one studio to display the studio logo. All of the
studios are still process, but only the first one will be added in the
movie table.
2015-10-18 20:54:57 -05:00
im85288
5a481e7779 jarvis music db bump 2015-10-18 14:17:13 +01:00
angelblue05
a841b68ee0 Ignore channels
Now that they are being integrated in views
2015-10-17 18:22:41 -05:00
angelblue05
eabf94623a Allow dateAdded to be updated
For movies, music videos, episodes.
2015-10-16 17:38:25 -05:00
angelblue05
a3d7369576 Disable warning in downloadutils
For insecure ssl connections
2015-10-15 17:11:44 -05:00
angelblue05
0295291450 Fix missing argument 2015-10-15 16:47:45 -05:00
im85288
79e79eddd1 Set and Clear additional user images for use in skins 2015-10-14 19:58:32 +01:00
angelblue05
e781e9e02d Add parent album to artwork
For parent images
2015-10-14 08:46:46 -05:00
angelblue05
d8ae0b695c Fix typo 2015-10-13 12:22:22 -05:00
angelblue05
46d8c1d4c2 Extend the artwork method
To grab parent artwork
2015-10-13 10:40:21 -05:00
angelblue05
13501b42d1 Adding support for Boxrear artwork
For albums.
2015-10-13 06:42:15 -05:00
angelblue05
b7cf3bc15a Fix for missing fanart for albums
Re-added old method for fanart specifically.
2015-10-13 06:24:23 -05:00
angelblue05
5a2b8b7cfd Fix delete settings 2015-10-13 05:41:28 -05:00
angelblue05
582949e79c Fix error caused by idSeason
Will properly skip the episode in the event the actual season is missing
it's number.
2015-10-13 05:05:03 -05:00
angelblue05
48654801e5 Fix double report progress
Removed stack implementation. Working with playlist and setresolvedurl.
2015-10-13 03:00:32 -05:00
xnappo
9970a770c4 Add check for season 0 as server now returns this 2015-10-12 13:45:23 -05:00
angelblue05
32ad6cf684 Fix for collections
Filter out trailers channel
2015-10-12 12:44:20 -05:00
angelblue05
0fd88210b4 Fix syntax causing error on Android 2015-10-12 12:22:51 -05:00
angelblue05
4061d0b7e9 Fix lag at start up
Prevent lag before displaying welcome message.
2015-10-12 11:31:02 -05:00
angelblue05
ddd334f285 Fix playback
Intros, additional parts, playlists should now be fully functional... I
hope...
2015-10-12 11:20:50 -05:00
im85288
dfedf545ba allow option to select direct paths at startup 2015-10-12 16:29:05 +01:00
angelblue05
2d636d5b2d Fix artwork
Prevent artwork type not supported from syncing
2015-10-11 23:41:55 -05:00
im85288
75a877ee9e jarvis support 2015-10-11 23:50:46 +01:00
im85288
45a840e12e jarvis support 2015-10-11 22:03:59 +01:00
angelblue05
d5f3db078f Readjust playback using playlists
Instead of fighting against Kodi, work with already set playlist and
adding items to it. Added extra comments to help understand.
2015-10-11 09:25:10 -05:00
angelblue05
5f3f45e404 Fix playcount 2015-10-08 20:11:06 -05:00
angelblue05
06ad9ab18c New artwork method implement
Old method still available for backward compatibility
2015-10-08 04:18:56 -05:00
angelblue05
6c4242abeb Revert "Update artwork method"
This reverts commit 3928b3edb7.
2015-10-07 19:49:18 -05:00
angelblue05
3928b3edb7 Update artwork method
In preparation for extra fanart
2015-10-07 19:39:30 -05:00
angelblue05
91396d84e8 Preparation for new artwork method
Moved to cache texture to limit duplicated methods (video and music).
Update backdrop instantly, should not cause any issues this time since
it only triggers if the url is different than the new one.
2015-10-05 06:02:43 -05:00
angelblue05
3605a48933 Fix for tv show is not found on server
When processing episodes, if the show failed to be added.
2015-10-04 06:40:39 -05:00
angelblue05
7d9fe89806 Prevent double marking as watched
Also removed the mark watched at: % setting. It is controlled by the
server itself.
2015-10-04 06:05:31 -05:00
angelblue05
43494ec053 getAllArtwork
Get all the artwork for an item at once.
2015-10-03 03:41:39 -05:00
angelblue05
8f75f96909 Fix typo 2015-10-02 19:28:32 -05:00
angelblue05
5d74dcedc4 Fix to follow emby views
To follow "my views" presentation
2015-10-02 02:08:21 -05:00
angelblue05
fe5ae9386a Support Emby tags 2015-10-01 22:30:11 -05:00
angelblue05
4ab6991968 Transcode revision, stack files, playback cleanup 2015-10-01 08:08:34 -05:00
angelblue05
0294957d14 Studios convert to Kodi compatible studios 2015-10-01 03:13:39 -05:00
angelblue05
86c4db78f9 Change dialog to notification for direct play
Still allow for playback, while letting the user know.
2015-09-30 18:19:34 -05:00
im85288
9cb84906b1 Merge remote-tracking branch 'origin/master' 2015-09-27 22:06:30 +01:00
im85288
0c0832421b rotten tomatoes removed 2015-09-27 22:06:22 +01:00
angelblue05
3954cdddd0 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-09-26 17:09:57 -05:00
angelblue05
142c5cad01 DTS-HD MA fix 2015-09-26 17:09:53 -05:00
im85288
dac614b284 video db bumped to version 97 for jarvis 2015-09-26 11:25:11 +01:00
angelblue05
a39784cb81 Fix profile switch v2
Make sure the threads are terminated correctly. This time, verify the
profile before anything else.
2015-09-24 06:59:26 -05:00
angelblue05
e0343891af Revert "Fix profile switching"
This reverts commit 0e61825579.
2015-09-24 06:48:43 -05:00
angelblue05
0e61825579 Fix profile switching
Make sure the threads are properly terminated.
2015-09-24 06:16:19 -05:00
angelblue05
9d86604800 Support strm file playback regardless of method 2015-09-17 16:00:58 -05:00
angelblue05
cb9aeebd3d Fix music in initial set up wizard
Reverse the logic since music is enabled by default.
2015-09-16 16:12:42 -05:00
angelblue05
1c4bf024fb Fix for intro
Not very pretty but this should prevent loop when enabling intros
2015-09-16 11:57:08 -05:00
angelblue05
05e421415f Revert "Fix for intro"
This reverts commit 773fa19762.
2015-09-16 11:29:51 -05:00
angelblue05
df685030d3 Revert "Final fix for intros"
This reverts commit 97d4a99897.
2015-09-16 11:29:39 -05:00
angelblue05
97d4a99897 Final fix for intros 2015-09-16 10:28:22 -05:00
angelblue05
3a7afedb6c Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-09-16 10:07:34 -05:00
angelblue05
773fa19762 Fix for intro 2015-09-16 10:07:30 -05:00
im85288
c5d5e87574 drop emby only if it exists...which should be most of the time :) 2015-09-16 16:00:54 +01:00
im85288
84096ad022 fix playback intros 2015-09-16 15:52:54 +01:00
im85288
3a392ce27f assure to drop emby table on reset 2015-09-16 09:52:48 +01:00
im85288
0a6dd94eff add library monitor to assist with embyskinhelper for data such as critcrating etc 2015-09-15 18:03:52 +01:00
angelblue05
0546dcc2f6 Move database log line
So it only prints one time.
2015-09-15 11:26:32 -05:00
angelblue05
ea941ed6b4 Fix for add people 2015-09-15 07:48:42 -05:00
xnappo
5496cb0667 Switch to local code for version check 2015-09-10 21:27:36 -05:00
im85288
b0592d3b02 support new jarvis version of music db 54 2015-09-10 17:16:18 +01:00
angelblue05
c92454bb92 Support mixed content and undefined collection
Undefined collection - when rich presentation is disabled.
2015-09-08 13:36:49 -05:00
angelblue05
09966b25bb Option to sync specials ordering
False by default, since not everyone likes displaying them within
seasons.
2015-09-07 10:30:25 -05:00
angelblue05
c698e39bb2 Prevent loop if user decides not to reset db yet 2015-09-07 04:12:28 -05:00
xnappo
5592429863 Missed a line at merge 2015-09-06 12:32:07 -05:00
xnappo
76bec3e846 Add library version tracking 2015-09-06 12:28:00 -05:00
shaun
2b9e352d72 user server time, add max items setting 2015-09-06 15:44:23 +10:00
im85288
5a5ff2871c bumped video db version for Jarvis 2015-09-05 10:56:00 +01:00
shaun
b923eed55d move data access to inside the try 2015-09-05 18:35:46 +10:00
angelblue05
3591d085af Follow up fix for encoding 2015-09-05 02:18:24 -05:00
Shaun
53cc2c9c74 ad some limits to the inc sync counts atm its 1K 2015-09-05 16:58:39 +10:00
angelblue05
30ea23aea0 Fix for externalsubs - direct paths 2015-09-02 23:00:29 -05:00
im85288
0eee08f0bd bumped video db version for Jarvis 2015-09-01 19:20:18 +01:00
Shaun
fc0442e0ed remove all movies from box set before updating to cacth movies that have been removed
only sync box sets that have changed for inc sync
2015-09-01 23:02:55 +10:00
angelblue05
63bba9d450 Fix for new rating
UR - Not rated
2015-08-31 22:13:42 -05:00
angelblue05
efd6b95408 Fix for dialog error when 401 2015-08-30 20:17:09 -05:00
angelblue05
67e2256c62 Change logging level for database checks 2015-08-28 03:13:06 -05:00
angelblue05
fc1344b7da Add option to sync empty tv shows 2015-08-25 22:21:31 -05:00
angelblue05
de9fe79ab8 Add setup dialog
For music - to enable and if direct stream should be used.
2015-08-24 06:44:23 -05:00
angelblue05
1691fd5e8b External subtitles
Add external subtitles as tracks for direct play and direct stream.
Important to note, when direct streaming, the tracks are defined as
Unknown(external). There's no way to correct this.
2015-08-24 05:55:37 -05:00
angelblue05
475a671d08 Set central window property
Always have the latest properties and will clean up the code. Will
centralize the rest of the code a bit later.
2015-08-24 02:39:19 -05:00
angelblue05
e09c209a6b Music library
make it seemless - dependant on alternate ip to be enabled to add
pathsubstitution.
2015-08-22 11:17:54 -05:00
angelblue05
64e413b9d1 Fix db not scanning in after reset
Only affected by reset via add-on settings. Because the settings dialog
is open, when it closes, it overwrites every settings. So in order to
prevent this, close any dialogs open before the reset actually happens.
2015-08-22 04:22:57 -05:00
angelblue05
41fa61ada9 Revert "Take into account item type for direct stream"
This reverts commit 53fbbffa75.
2015-08-20 20:51:54 -05:00
angelblue05
afa582057a Revert "Music library - remote"
This reverts commit 88632dad60.
2015-08-20 20:51:47 -05:00
angelblue05
53fbbffa75 Take into account item type for direct stream
Video and audio
2015-08-20 09:15:37 -05:00
angelblue05
e24d982c36 Prevent errors in reporting to server
For other media that are not movies and tv shows.
2015-08-20 07:27:29 -05:00
angelblue05
88632dad60 Music library - remote
Trying strm files to still have plugin paths. Will require restart
because I've added a new column to hold the full path for strm in the
event we need to delete them.
2015-08-20 06:42:40 -05:00
angelblue05
eae370c33f Fix for transcoding
Using AC3 instead of AAC because the sound quality was very degraded
with higher audio channels.
2015-08-19 08:26:03 -05:00
angelblue05
c3e70602c5 Fix potential local reference error 2015-08-18 23:40:03 -05:00
angelblue05
888e5f2989 Fix for userdata
Forgot the music check for the database check.
2015-08-17 18:24:07 -05:00
angelblue05
f290372c5d Added permanent users
When starting the Kodi session, will automatically add users to the
session.
2015-08-15 00:20:06 -05:00
angelblue05
db45faed24 Add userdata update only for music
Only songs have playcount and lastplayed
2015-08-14 22:16:38 -05:00
shaun
f87cdae256 add progress dialog to inc sync 2015-08-15 12:00:21 +10:00
angelblue05
0da02868c2 Comment out music userdata
Not ready yet, forgot to exclude it.
2015-08-14 05:33:40 -05:00
angelblue05
2e2448b823 Revert "Comment out music userdata as it's not ready yet."
This reverts commit 5b81da2d96.
2015-08-14 05:32:11 -05:00
angelblue05
5b81da2d96 Comment out music userdata as it's not ready yet. 2015-08-14 05:30:43 -05:00
angelblue05
c0f9948cf5 Convert settings to utils method for addon settings 2015-08-14 04:03:12 -05:00
angelblue05
811e91a0b5 In prep for userdata only modification
Speed up the process. Waiting for the insertion of the kodi_file_id in
the emby database table.
2015-08-12 05:18:07 -05:00
angelblue05
40b381de94 Set up for central addon settings
Please start using it for new methods. I will take care of changing
older ones.
2015-08-12 04:59:05 -05:00
Shaun
05be6eaa07 Move last sync run save time to after the updates happen 2015-08-11 09:14:22 +10:00
angelblue05
232e2d98ed Fix bug in incremental
Due to changes in parameter, requires the full item instead of the
itemId.
2015-08-09 21:18:26 -05:00
im85288
6ffd7fb491 added user image property for skins to use 2015-08-09 16:44:02 +01:00
angelblue05
1660a29e68 Improve network quality logging 2015-08-08 10:11:41 -05:00
angelblue05
2fc282175d Improve logging 2015-08-08 08:15:05 -05:00
angelblue05
7c4ea6ecea Quick follow up for mpaa
Incase other rating contain the NR. To avoid mix ups.
2015-08-08 07:18:53 -05:00
angelblue05
fee8b958de Adjust mpaa rating and quick fix for ratio 2015-08-08 07:16:51 -05:00
angelblue05
ef927d6b3b Metadata aspect ratio
Take it into consideration
2015-08-08 03:57:04 -05:00
angelblue05
ec6daa3a87 Fix playback key error
For real this time.
2015-08-07 22:29:27 -05:00
angelblue05
e7335b05a0 Fix error caused when starting from widget
.get to avoid key error. Didn't think about the playback error from
widgets.
2015-08-06 21:30:15 -05:00
Marcel van der Veldt
3b9d1ac02f Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-08-06 13:01:49 +02:00
Marcel van der Veldt
aacd72486e fixed nextepisodes updating by removing the caching 2015-08-06 13:01:33 +02:00
angelblue05
ecaaa11deb Added audio/sub selection for transcoding
Also fixed transcoding not terminating as it should and leaving the
ffmpeg running.
2015-08-06 03:09:45 -05:00
angelblue05
68245268ba Quick follow up
Account for when subtitles are disabled.
2015-08-05 23:56:47 -05:00
angelblue05
08285df00f Revert "Quick follow up"
This reverts commit 567da0114e.
2015-08-05 23:55:55 -05:00
angelblue05
567da0114e Quick follow up
Account for when subtitles are disabled.
2015-08-05 23:55:20 -05:00
angelblue05
abe60aa3b8 Added remote control - audio and subtitle streams
Fix the index of streams to properly reflect the correct ones.
2015-08-05 23:30:33 -05:00
Marcel van der Veldt
c7c35fd442 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-08-05 15:05:58 +02:00
Marcel van der Veldt
8e3eba858d fix extrafanart retrieval 2015-08-05 15:05:37 +02:00
Shaun
72ff484777 use new date param 2015-08-05 19:44:18 +10:00
angelblue05
e972ae2729 Clean up + encoding utf-8
Added message when server is restarting. Optional.
2015-08-05 03:40:54 -05:00
xnappo
7e281ecf13 Still allow full manual sync 2015-08-04 09:17:41 -05:00
angelblue05
021261617e Add season fanart 2015-08-04 04:45:26 -05:00
angelblue05
5dd607f6d2 Albums fix for latest added
Sort by date created so the result is the same as the server.
2015-08-04 03:45:23 -05:00
angelblue05
de0690833e Follow up - apply limit to the artists and albums 2015-08-04 02:12:58 -05:00
angelblue05
59aaa4d42b First attempt at fixing music
Pull the list of songs in batch of 200 items to prevent timeouts.
2015-08-04 01:07:39 -05:00
angelblue05
94055c952c Restore the 50 ids limit 2015-08-03 23:04:34 -05:00
angelblue05
a243b50f87 Revert itemtype change
Since .getItem no longer returns None but returns an empty dictionary.
2015-08-03 04:59:39 -05:00
angelblue05
3aa2598c79 Fix nodes - forgot the encoding
Also replace none with empty dictionary for getItem
2015-08-03 04:45:23 -05:00
shaun
d548ab6e27 add url encoding to time stamp 2015-08-03 18:36:35 +10:00
angelblue05
560abbcc5d Created normalize method for video nodes only
Since no modification can happen to the theme naming.
2015-08-02 19:28:13 -05:00
Marcel van der Veldt
a7310dc634 normalize paths in videonode building 2015-08-03 01:52:47 +02:00
shaun
c3e2d88784 Merge remote-tracking branch 'origin/master'
Conflicts:
	resources/lib/LibrarySync.py
2015-08-02 19:23:54 +10:00
shaun
ac80632644 fix silly bug with addon setting not being setup soon enough 2015-08-02 19:16:55 +10:00
angelblue05
6ff953df55 Fix error 2015-08-02 03:59:41 -05:00
shaun
6df36cd6a3 always rebuild the nodes and create sources on a startup sync 2015-08-02 16:24:26 +10:00
xnappo
50d83dee7e error handling 2015-08-01 22:10:43 -05:00
xnappo
59b7080b33 Use query by Id list for <50 items 2015-08-01 12:03:17 -05:00
xnappo
084d1fb493 Don't use incremental sync on first run 2015-08-01 10:49:28 -05:00
shaun
327d790095 added the last time sync run (-5 min) 2015-08-01 12:21:01 +10:00
shaun
368c474ce9 use the user changes function to register for user changes at startup 2015-08-01 10:53:33 +10:00
Shaun
9903b8d53d first cut at using the new server plugin to do start up sync 2015-08-01 10:26:22 +10:00
angelblue05
90c7d68d15 Fix for aspect ratio 2015-07-31 16:13:32 -05:00
im85288
541f440853 duration fix for streamdetails 2015-07-31 21:17:05 +01:00
angelblue05
ec5ad7d762 Version bump 1.1.18
Convert audio dts-hd ma to dts, because Kodi doesn't recognize it.
2015-07-31 07:51:11 -05:00
angelblue05
8763654a6d Quick fix for mpeg without profiles
apply xvid flag by default.
2015-07-31 06:34:34 -05:00
Marcel van der Veldt
44ab16d1f0 fix for missinf ParentBackdropImageTags 2015-07-31 13:30:52 +02:00
Marcel van der Veldt
46918b914e fixes for music sync 2015-07-30 21:23:50 +02:00
angelblue05
f7605802d3 adjust log
so users can understand there's no season number assigned.
2015-07-28 20:08:13 -05:00
angelblue05
32f239c2d8 Prevent error in the event the type is not yet defined
I saw the error, if the item is added to the server and there's no type
assigned yet while the server finishes up the library scan.
2015-07-28 20:03:05 -05:00
Marcel van der Veldt
f7c25be2b1 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-07-29 02:52:14 +02:00
Marcel van der Veldt
619ea2d876 fix for playcount sync 2015-07-29 02:51:57 +02:00
angelblue05
4f677ea310 Aspect ratio fix
Handle missing aspect ratio with closest value. Also defined codecs such
as dvix, xvid and avc1.
2015-07-28 01:43:15 -05:00
Marcel van der Veldt
2968638220 fixed strange bug in music sync 2015-07-28 02:29:21 +02:00
Marcel van der Veldt
62d9ae5b65 Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-07-28 01:16:33 +02:00
Marcel van der Veldt
64b9594bb7 small fix for episode adds 2015-07-28 01:16:24 +02:00
angelblue05
2b79b471f0 Quick follow up music video section
Playcount returns an integer or None, using dateadded/created method in
API()
2015-07-27 17:58:43 -05:00
Marcel van der Veldt
d174f4793f fixes for the path changes
fixed issue with musicvideos sync
some small glitches resolved
2015-07-28 00:35:33 +02:00
Marcel van der Veldt
214dc1ed87 fixed issue with recently added episodes Entry
support for Kodi 16 in entrypoints creation
2015-07-27 19:41:01 +02:00
Marcel van der Veldt
9c639d47ca added profiling to default.py to measure speed improvements
added caching to nextup widget generation
2015-07-27 18:48:00 +02:00
angelblue05
6264090741 Adjustment for xvid and avc1
To test
2015-07-27 07:22:39 -05:00
angelblue05
cd618131e7 Fix for aspect ratio
Comparing to Kodi, seems to give the same results now.
2015-07-27 06:02:10 -05:00
angelblue05
929786302c Renamed sources to Emby. 2015-07-27 04:24:00 -05:00
angelblue05
e3a81da2a5 Correct the merging 2015-07-26 07:09:09 -05:00
angelblue05
076a998f67 Fix for nfs playback 2015-07-25 06:57:39 -05:00
angelblue05
5e5dd51be1 Correct typo 2015-07-25 00:13:09 -05:00
angelblue05
5ac746750e Fix log error 2015-07-24 22:49:20 -05:00
im85288
6e66f60331 added option to exclude theme videos on sync 2015-07-24 12:52:33 +01:00
im85288
7f21c61753 support for kodi jarvis 2015-07-24 12:29:41 +01:00
angelblue05
335035d6f2 Correct media flags 2015-07-24 02:52:36 -05:00
angelblue05
9d866f9fc9 Quick follow up
Including additional logging.
2015-07-23 04:02:41 -05:00
angelblue05
4a6c5c10ac Correction to the http dialog
However still unsure there's a bug. The only way the dialog will show up
is if xbmcvfs.exists() returned false. Still waiting for someone to post
a debug log.
2015-07-23 03:18:17 -05:00
angelblue05
097d48c2c4 Revert "Corrected the http dialog"
This reverts commit 5a87c90058.
2015-07-23 02:30:04 -05:00
angelblue05
5a87c90058 Corrected the http dialog
However still unsure there's a problem. The reason why the message pops
up is that xbmcvfs.exists() returned false. Still waiting on someone to
post debug.
2015-07-23 00:34:59 -05:00
angelblue05
1c5bbe0b71 Additional logging for the watched status
This in combination with the websocket message should be enough for us
to know where the problem lies.
2015-07-22 22:06:17 -05:00
angelblue05
682f9418af Fix playback play from http and remember error
Still waiting for someone to post a log to troubleshoot the actual play
from http issue some people seem to be experiencing.
2015-07-22 20:36:41 -05:00
im85288
542679a0f0 change music db to not have helix as default 2015-07-22 14:24:24 +01:00
angelblue05
2bfe377378 Clean up
Also fix settings not saving if reset was initiated.
2015-07-22 08:16:08 -05:00
angelblue05
56c261279c Cache image only when new or modified
Prevent caching image when it is unchanged.
2015-07-21 01:26:17 -05:00
angelblue05
c61a17d48d Resume fix
Forgot to remove old piece of code that interfered with resume point on
homescreen. Also added another verification to removed any Kodi created
bookmark as it messes with plugin paths bookmark.
2015-07-21 01:12:06 -05:00
angelblue05
cbebcbd818 Fix for the aspect ratio error
Missing default value to not fail at the if statement.
2015-07-20 20:26:40 -05:00
angelblue05
7f9f357e37 Fix for merge - part of 1.1.15
Still finding things that didn't follow in the merge... :(
2015-07-20 01:48:43 -05:00
angelblue05
9bb587bc66 Fix for merge - part of 1.1.15
Report playstate change when it happens.
2015-07-20 01:36:58 -05:00
angelblue05
60bc0bfcaf Quick follow up 2015-07-19 23:36:15 -05:00
angelblue05
1cda4ac30e Resume revert
Instead of seeking to position, now using setProperty('StartOffset') to
launch playback at the position we want.
2015-07-19 23:25:59 -05:00
angelblue05
4e7cbc56ba Fix for merge
Create sources, fix for user pref login bug, create a dummy bookmark for
homescreen, remove workaround for resume point
2015-07-19 20:35:14 -05:00
angelblue05
d974c4ed7c Fix getloglevel error that occurs sometimes
During fresh install where settings might not be created yet.
2015-07-18 04:07:58 -05:00
angelblue05
0c54257de6 fix for the merge that didn't follow
Media path fix, and clean up of writeKodiVideoDB. Fix for library sync
for deletes.
2015-07-18 03:08:05 -05:00
xnappo
3589c4b05d Merge branch 'master' of https://github.com/MediaBrowser/Emby.Kodi 2015-07-15 18:39:05 -05:00
angelblue05
56deac31b3 Add support for cast order in Helix 2015-07-15 18:33:21 -05:00
xnappo
0e32e254e3 Merge branch 'clean-up' 2015-07-15 18:32:56 -05:00
im85288
708b042af6 fix cast order - isengard only 2015-07-15 21:05:12 +01:00
xnappo
0b9b5d3e64 Expand offer delete to movies (optionally) 2015-07-04 10:04:04 -05:00
angelblue05
851856eb52 Merge remote-tracking branch 'origin/master' into clean-up 2015-06-30 01:58:07 -05:00
angelblue05
26448574d4 Add default value for mediatype
The cover art should only affect primary posters for video library,
nothing else.
2015-06-29 13:14:54 -05:00
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
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
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
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
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
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
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
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