Work in Progress - Media importing and library integration (UPnP, Emby, ...)

  Thread Rating:
  • 5 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
angelblue05 Offline
Senior Member
Posts: 169
Joined: Nov 2014
Reputation: 9
Post: #361
A little bird told me that a project could very well be made to fully support Emby live tv in Kodi in a near future.
find quote
Jdiesel Offline
Senior Member
Posts: 173
Joined: Jan 2014
Reputation: 4
Post: #362
That is exciting news!
find quote
steve1977 Offline
Posting Freak
Posts: 2,634
Joined: Dec 2006
Reputation: 0
Post: #363
i'm using the kodi upnp server. accessing it with 3rd party upnp clients, so my question is not about library integration.

problem is that kodi upnp server does not make the album year available through upnp. assume this is a simple add? possible to include?


Sent from my iPhone (typie typie)

Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
find quote
steve1977 Offline
Posting Freak
Posts: 2,634
Joined: Dec 2006
Reputation: 0
Post: #364
Besides adding album year to be available over UPNP, would it also be possible to add a custom tag for disk number? Thanks in advance for considering. The UPNP implementation is really great and these two tags will make a big difference!

Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
find quote
Montellese Offline
Team Kodi Developer
Posts: 4,845
Joined: Jan 2009
Reputation: 72
Location: Switzerland
Post: #365
(2017-07-09 07:36)steve1977 Wrote:  i'm using the kodi upnp server. accessing it with 3rd party upnp clients, so my question is not about library integration.

problem is that kodi upnp server does not make the album year available through upnp. assume this is a simple add? possible to include?


Sent from my iPhone (typie typie)

(2017-07-11 06:13)steve1977 Wrote:  Besides adding album year to be available over UPNP, would it also be possible to add a custom tag for disk number? Thanks in advance for considering. The UPNP implementation is really great and these two tags will make a big difference!

Please create a separate thread for these suggestions. They are not directly related to the work of this project. I haven't really looked into music integration yet because it is missing a lot more library management functionality than the video library in core.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
find quote
steve1977 Offline
Posting Freak
Posts: 2,634
Joined: Dec 2006
Reputation: 0
Post: #366
Thanks @Montellese for your help. I have opened a new thread in the feature request section (https://forum.kodi.tv/showthread.php?tid=318071).

You are right that this is a separate request / topic. I am not looking for music library integration, which should be a major effort. I am looking for some smaller UPNP fixes, which may be easier to implement. Let me know if you need my help on trouble-shooting.

Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
find quote
LongMan Offline
Senior Member
Posts: 163
Joined: Apr 2013
Reputation: 0
Post: #367
I've figured out why imported items are always removed and re-added instead of synced and updated and added a fix (which will probably need discussing with other team members / developers).

@Montellese. I noticed that you have changed the plugin from a Service, to a "Discover-able Service". Is that the solution you were referring to earlier?
find quote
Montellese Offline
Team Kodi Developer
Posts: 4,845
Joined: Jan 2009
Reputation: 72
Location: Switzerland
Post: #368
(2017-07-16 23:01)LongMan Wrote:  I've figured out why imported items are always removed and re-added instead of synced and updated and added a fix (which will probably need discussing with other team members / developers).

@Montellese. I noticed that you have changed the plugin from a Service, to a "Discover-able Service". Is that the solution you were referring to earlier?

No but I realized that a media importer can consist of up to three different parts:
  1. A discovery service which detects potential media providers and tells Kodi about them
  2. A script capable of importing media items from a media provider
  3. A synchronisation service which detects changes to already imported media items and tells Kodi about them

That's why I've started renaming the "service" script to "discovery" service because there might also be a "synchronisation" service. Not every media importer has to implement all three of these parts though.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
find quote
LongMan Offline
Senior Member
Posts: 163
Joined: Apr 2013
Reputation: 0
Post: #369
Thanks for the explanation. Really looking forward to this.
find quote
natethomas Offline
XBMC Chief and Kodi Project Manager
Posts: 6,260
Joined: Apr 2008
Reputation: 131
Location: Kansas
Post: #370
This came up in another thread, but in reviewing this project, I realized it didn't seem to be a feature. Do you consider the handling of duplicate media to be part of a media importer's job, or is that a separate thing? For example, if someone had a local copy of Sintel, a plex copy of Sintel, and it was also on Netflix, would the library simply list 3 copies of Sintel, or would the library list Sintel once, and then when selected would give the option of selecting the preferred copy?

Is it possible that's more of a job for an improved library, which is being worked on elsewhere, hopefully still, I think. Smile
find quote
LongMan Offline
Senior Member
Posts: 163
Joined: Apr 2013
Reputation: 0
Post: #371
@natethomas.

The feature was discussed in
https://forum.kodi.tv/showthread.php?tid...ht=rsanger
find quote
Montellese Offline
Team Kodi Developer
Posts: 4,845
Joined: Jan 2009
Reputation: 72
Location: Switzerland
Post: #372
@natethomas: IMO this is not part of media importing. Media importing is simply about getting items from additional sources into the database. That being said I've looked into it before, see https://github.com/Montellese/xbmc/commi...file_items from 2014, and it's not that hard to get the basics working but getting all the special cases right is a huge pain in the ass. In the thread mentioned by LongMan I also discussed how best to implement this.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
find quote
Post Reply