Commit graph

995 commits

Author SHA1 Message Date
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
xnappo
c0238574b7 Updates from pünktchen 2015-08-10 09:55:57 -05: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
2dc0a20e0a Remove deprecated settings 2015-08-06 03:15:09 -05: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