Commit graph

869 commits

Author SHA1 Message Date
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