Jump to content


Photo

General functionality issues - Emby Server

GENERAL SERVER TRANSCODING BUGS

  • This topic is locked This topic is locked
39 replies to this topic

#21 acnp77 OFFLINE  

acnp77

    Advanced Member

  • Members
  • 230 posts
  • Local time: 09:54 PM
  • LocationSwitzerland

Posted 16 September 2016 - 09:42 PM

1. I'm not here to defend the work of other Kodi add-ons. As far as I'm concerned, considering the sheer amount of work that's been put into the project, I think we are on a different level than other Kodi add-ons. There's a reason Plex decided to copy our project.

 

2. You say you want to use Kodi because it's the best player, so what library function would you be missing compared to the web client? Do you have an example?

 

3. Yeah, the proposed setup should do it. I've used Kodi by itself for a long time. With the emby add-on, I find the Kodi experience to be more stable because it does not maintain the library. Instead the add-on just syncs what you have on your server. There's no automatic background check, everything is done in real time. So there's minimum strain put on the rpi. The biggest step is getting your Emby library synced which can take some time on low powered device. After that, it should be smooth sailing.

 

4. There's other Emby apps that will also direct play most of your content. But if you want direct play 100% of the time, then yes the Emby add-on with native playback mode will give you this with minimum impact on your device. With add-on playback, you can also direct play all of your content. However, it's more demanding of low powered devices since the add-on retrieves paths in real time from your server. However with add-on playback, this is the way to allow for remote playback to work in Kodi. For LAN low powered device only, go with native playback mode and you are set.

 

Can't really comment on that, I've never used the dlna aspect of the server. You speak of sharing and flexibility, but can you even use dlna outside the server's network?...

 

1. I wish you all the best - keep it up :)

 

2. This was just a theoretical thing... I did not want to get used to any native kodi library functions that I would miss in the Webinterface. But I dont even know what that could be. So not important.

 

3. Perfect :)

 

4. Wow... ok, that sounds really great if it does work. I stand by my before mentioned oppinion concerning kodi addons for a stable setup, but what you did is really, really cool and I will be using it. Many thanks! I just saw emby as a DLNA Server but it did not really work perfectly for me. Then I tried the atv4 emby app. Really cool but very limited in playback formats. Why transcode if you dont have to? - no sense there... So if I understood you correctly with the kodi-emby addon I get all the good kodi stuff plus directplay from my emby server? sound really great... I will try tomorrw as it is very late...

 

 

cheers


  • Angelblue05 likes this

#22 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12738 posts
  • Local time: 02:54 PM

Posted 16 September 2016 - 09:59 PM

So if I understood you correctly with the kodi-emby addon I get all the good kodi stuff plus directplay from my emby server?

 

Yes, that is correct. Native playback mode is more advanced because it requires your paths to be valid off the bat otherwise you'll end up having to go through the initial syncing process more than once to have Kodi to be able to locate your files. That's why I suggest before you start the process with the add-on, go to Kodi settings > addons > install from zip, navigate to your content and make sure the path in the dialogue reflects the exact path in Emby (dashboard > library). If they are not the same, you'll need to apply path substitution to make them the same (dashboard > library > path substitution). Take a look at the path substitution wiki if you are unsure what path substitution is: https://github.com/M...th Substitution

 

If you are unsure about this, let us know if you are going to use smb or nfs to access your content over your network. Provide your emby library paths (dashboard > library) + the Kodi path you see in the dialogue. We'll then be able to tell you the path substitution you require for Kodi to locate your content using Emby paths.

 

Edit: Make sure to remove any Kodi sources that would reflect the content found on Emby - start fresh. I'm currently reviewing the initial setup process. Let me know if you have any suggestions. We update the add-on regularly, you should check our wiki: https://github.com/M...ugin.video.emby


Edited by Angelblue05, 16 September 2016 - 10:13 PM.

  • CBers likes this

#23 acnp77 OFFLINE  

acnp77

    Advanced Member

  • Members
  • 230 posts
  • Local time: 09:54 PM
  • LocationSwitzerland

Posted 17 September 2016 - 05:13 PM

Yes, that is correct. Native playback mode is more advanced because it requires your paths to be valid off the bat otherwise you'll end up having to go through the initial syncing process more than once to have Kodi to be able to locate your files. That's why I suggest before you start the process with the add-on, go to Kodi settings > addons > install from zip, navigate to your content and make sure the path in the dialogue reflects the exact path in Emby (dashboard > library). If they are not the same, you'll need to apply path substitution to make them the same (dashboard > library > path substitution). Take a look at the path substitution wiki if you are unsure what path substitution is: https://github.com/M...th Substitution

 

If you are unsure about this, let us know if you are going to use smb or nfs to access your content over your network. Provide your emby library paths (dashboard > library) + the Kodi path you see in the dialogue. We'll then be able to tell you the path substitution you require for Kodi to locate your content using Emby paths.

 

Edit: Make sure to remove any Kodi sources that would reflect the content found on Emby - start fresh. I'm currently reviewing the initial setup process. Let me know if you have any suggestions. We update the add-on regularly, you should check our wiki: https://github.com/M...ugin.video.emby

 

 

Thanks!

 

I installed the kodi-emby-addon...

 

I am having problems with the path ...

 

My movies are on smb shares on a linux server, so the name of the share would be: //10.0.0.101/movies

 

I could not get anything to show up under "network" in the media-library-setup in emby. I would have preferred to just use the share. I think it might have something to do with user rights, my emby server runs on debian 8, but I cant get it figured out. So I mounted the smb share in the os. (mount -t cifs //10.0.0.101/movies /mnt/media/movies )

 

So the local emby-server-path is:  /mnt/media/movies

The smb share: //10.0.0.101/movies

 

I tried a path subst. like: /mnt/media/movies -> //10.0.0.101/movies

 

I also tried a path substitution like: /mnt/media/movies -> //emby-server/mnt/media/movies

 

 

But this does not seems to work.

 

When I try to configure the kodi addon it tells me that it can not find the movie xy when trying to sync the library the first time.

 

Do I need to make a network share from my emby-server?

 

 

Need help...

 

Strange thing is... I can direct play many items with DLNA... or is this a different subject?

 

Thanks :)

Thanks for any help...



#24 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12738 posts
  • Local time: 02:54 PM

Posted 17 September 2016 - 05:36 PM

Your slashes are facing the wrong way. Try using backward slashes instead, it should fix it. Let me know.

From: /mnt/media/
To: \\10.0.0.101\

Sent from my iPhone using Tapatalk

Edited by Angelblue05, 17 September 2016 - 05:39 PM.


#25 acnp77 OFFLINE  

acnp77

    Advanced Member

  • Members
  • 230 posts
  • Local time: 09:54 PM
  • LocationSwitzerland

Posted 17 September 2016 - 07:56 PM

Your slashes are facing the wrong way. Try using backward slashes instead, it should fix it. Let me know.

From: /mnt/media/
To: \\10.0.0.101\

Sent from my iPhone using Tapatalk

Thanks!!
That worked. The library got scanned and when I play a movie it is directplay. Looking good...

 

One thing I noticed in the setup: If you are presented with a dialog asking if you want to proceed with server xy and you say "yes", then the next dialog ("user") is empty. no input possibility.

(I run rpi1, fresh openelec (kodi) install). Otherwise smooth install. Function to remove local kodi libray (cleanup) is great.

 

I have a folder with mixed content, that is not named properly yet. In emby-server I have a "media library" called "new", with all of this content. The content that is not recognized is just display with the filename. So no problems there. But in kodi-addon the content get split up in "new movies" and "new tv" and when I try to play an item it tells me that the source is gone and askes to remove the item.

 

I guess I should remove the unorganized folder. is this normal?

 

Is it possible that my path issue is still not resolved? - I figured if I can see "directplay" in the emby-server-dashboard it means that the path is ok. agree?


  • Angelblue05 likes this

#26 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12738 posts
  • Local time: 02:54 PM

Posted 17 September 2016 - 08:38 PM

What is the version of the emby add-on installed? Is it 2.2.19? I'll check the dialog issue, thanks.

Yes, you are direct playing. That's the only possible outcome when choosing native playback mode.

Well as you might know, mixed content is not supported in Kodi. So we split it by content type for Kodi. It's not normal, however that Kodi is unable to locate them. What is the path to your mixed content in the dashboard > library? Is it the same as your movies? In Kodi, If you open the context menu > info for those items, it should display the path. Let me know what you see.


Sent from my iPhone using Tapatalk

Edited by Angelblue05, 17 September 2016 - 09:05 PM.


#27 acnp77 OFFLINE  

acnp77

    Advanced Member

  • Members
  • 230 posts
  • Local time: 09:54 PM
  • LocationSwitzerland

Posted 18 September 2016 - 04:17 PM

What is the version of the emby add-on installed? Is it 2.2.19? I'll check the dialog issue, thanks.

Yes, you are direct playing. That's the only possible outcome when choosing native playback mode.

Well as you might know, mixed content is not supported in Kodi. So we split it by content type for Kodi. It's not normal, however that Kodi is unable to locate them. What is the path to your mixed content in the dashboard > library? Is it the same as your movies? In Kodi, If you open the context menu > info for those items, it should display the path. Let me know what you see.


Sent from my iPhone using Tapatalk

@ Angelblue05:

The addon version is 2.2.19 - yes.

I solved the path problem. Thanks for help. The problem was on my side. (I named the path "new" instead of "_new"). No problem with the addon. It seems to pick up the path substitions nicely.

That the content is split up in kodi is not a problem. Just need to get used to it.

BUT:

Now I just have one problem: I can not see all my content in kodi-library:

I have a folder that is called "_new", it contains all new media. it is mixed content and the files are not yet named correctly. In Emby-server this is no problem. Let's say file "A.mp4" does not get recognized when scanning the library, so it will simply show up in emby-library with the filename. That ist a great feature. So I can access "A.mp4" from emby-library. So far so good. But in kodi-emby-addon I can not find "A.mp4" anywhere. (and I really, really did search...)

This is what I meant in a earlier post when I was talking about library inconsistancy. If this is really so it is a huge problem for me as I need to have access to all content in "_new". I hope I am wrong about this... I would love to use the addon.

Cheers

 

 

EDIT: I restarted my kodi to see if it would get the missing music-item. It started scanning... scanned not all, but a part of the library again. (maybe 30% or so). I hav not made ANY changes to the source. It did not add the missing item but it did remove an other item (which worked perfectly before) for no apparent reason. I did a kodi restart again. This time no library scan occured. Nothing changed.

 

EDIT2: With my organized "movie" folder everything works smoothly... :)) All of my problems seem to involve my "new" folder which contains crappy folder- and filenames. I think it is not a good ides to try to add the "new" folder to the emby library and then sync it to kodi. It's just asking for errors... as mentioned- with correctly named folders everthing is great.


Edited by acnp77, 18 September 2016 - 07:41 PM.

  • Angelblue05 likes this

#28 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12738 posts
  • Local time: 02:54 PM

Posted 18 September 2016 - 07:27 PM

@acnp77

 

I just think because you are using mixed library it's a lot less forgiving in Kodi than other apps which just displays what is on your server. In order to handle the mixed content scenario, we pull everything type "movie", and everything type "tv show". If the server doesn't detect them as the specified type, then the content will not be returned in the api when Emby for Kodi asks the server what belong to the mixed content library.

 

Unset mixed content doesn't mean "unidentified content" library. It simply means that everything is bunched up, but still retains the proper structure/naming for individual items.

 

I would consider changing the library type to Home Videos instead, which is the closest you'll get to having mixed unidentified content, with little to no metadata. Then you'll be able to view and playback your content from that folder in Kodi.

 

 

EDIT: I restarted my kodi to see if it would get the missing music-item. It started scanning... scanned not all, but a part of the library again. (maybe 30% or so). I hav not made ANY changes to the source. It did not add the missing item but it did remove an other item (which worked perfectly before) for no apparent reason. I did a kodi restart again. This time no library scan occured. Nothing changed.

 

Are you saying you have music in your mixed content library? If so, it won't be synced to Kodi because it's not of type movie or tvshow.

 

Keep me posted.


Edited by Angelblue05, 18 September 2016 - 07:27 PM.


#29 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 49894 posts
  • Local time: 03:54 PM

Posted 19 September 2016 - 10:11 AM

Hey Angel - cool to move this over into the Kodi forum so that other Kodi (and potential Kodi) users can benefit?


  • CBers likes this

#30 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12738 posts
  • Local time: 02:54 PM

Posted 19 September 2016 - 11:15 AM

Yes please, thanks


Sent from my iPhone using Tapatalk

#31 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15543 posts
  • Local time: 08:54 PM
  • LocationKent, England.

Posted 19 September 2016 - 12:08 PM

Hey Angel - cool to move this over into the Kodi forum so that other Kodi (and potential Kodi) users can benefit?


Yes please, thanks


Done.

#32 acnp77 OFFLINE  

acnp77

    Advanced Member

  • Members
  • 230 posts
  • Local time: 09:54 PM
  • LocationSwitzerland

Posted 19 September 2016 - 01:49 PM

@acnp77

 

I just think because you are using mixed library it's a lot less forgiving in Kodi than other apps which just displays what is on your server. In order to handle the mixed content scenario, we pull everything type "movie", and everything type "tv show". If the server doesn't detect them as the specified type, then the content will not be returned in the api when Emby for Kodi asks the server what belong to the mixed content library.

 

Unset mixed content doesn't mean "unidentified content" library. It simply means that everything is bunched up, but still retains the proper structure/naming for individual items.

 

I would consider changing the library type to Home Videos instead, which is the closest you'll get to having mixed unidentified content, with little to no metadata. Then you'll be able to view and playback your content from that folder in Kodi.

 

 

 

Are you saying you have music in your mixed content library? If so, it won't be synced to Kodi because it's not of type movie or tvshow.

 

Keep me posted.

 

Thanks for the hint... for the "new"-folder I tried "homevideos and photos" as content type for emby-library. This does not work either for my usecase as I have movies, tv shows and music in my "new" folder.

 

It is interessting, when I use "mixed content" for the "new"-folder it does sync some (but not all) music into the kodi-music-library.

 

Your app work very nicely with properly named files and folders like "movies" "tv" "music" etc...

But for an unorganized folder containing mixed content that is not properly label yet I came to the conclusion that it does not work. (This is not the apps fault as this simply can not be done in Kodi library)

 

So the only  :)  issue is with the unsorted, mixed "new"-folder:

In Emby I have 2 lib's: "movies" and "new". On Emby-server the "new" library works very well. Everthing in one place and even if not recognized, it's still playable. Whereas in Kodi library things look a bit different.

 

Question:

-> Is there any way to only sync "movies" to kodi-emby-addon?  So I just would exclude the "new"-emby-library from syncing. Is this somehowe possible? The contents of "new" could be accessed with DLNA (which is not as nice as your app but will be good enough for the "new" items that have not yet been organized into the respective folders yet.)

 

 

Comment / question on setup of addon:

-> I installed the addon as video addon. Then, in setttings I enabled the "music-library". Am I all set or do I nned to install as music-addon too? This is just about the only unclear thing about the setup. Otherwise great. 

 

 

Question:

I assume the sync is one-way just down to kodi-addon and the addon can not change the contents of server-emby-library. So if I add other sources to my local-kodi-library they wil not get synced back to the server.

Which make sense IMHO. Is this correct?

 

 

Let me know if I can help with ome testing... just to say.

 

Thanks

Cheers


Edited by acnp77, 19 September 2016 - 01:56 PM.


#33 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12738 posts
  • Local time: 02:54 PM

Posted 19 September 2016 - 03:25 PM

Your mixed content throws your setup off, especially with music because the structure and naming is not detected properly. That causes a lot of issues when we pull info, because mixed content is treated differently where we have to pull by content type movie or tvshow. Your presentation in the webclient must be pretty awful with the _new folder with little to no metadata, right?

All of your content that doesn't sync from it is not properly identified. Some people do use mixed content and it works fine for them. I also have a test folder that contains random movies and shows that serves as my mixed content and it works fine. I don't know how music can sync from mixed content. I coded it to only pull movies and shows. So what you are saying isn't really reflecting what should happen... Does it get synced to your Kodi music library? Doubt it.

To disable the mixed content would mean you'll need to disable the library in the emby dashboard > user(select your user) > access. Then run a manual sync in Kodi by launching the emby add-on. Otherwise I'd suggest using home videos instead. Then the addon simply displays what the server has under home videos - it's the best type for unidentified content. You could give it a try and see how it performs for you.

Question about music:
Enabling the setting alone won't do anything, however, running a manual sync will get any emby music library added to Kodi.

Question about sync:
Correct, local kodi libraries do not sync to Emby in any way.

 

 

Edit: If you decide to try home videos, the content is not imported into the database - it's a realtime plugin listing. The shortcut is found by launching the Emby add-on. You can also add the shortcut to your homescreen for easy access if you decide to keep it this way.

 

Keep me posted.


Edited by Angelblue05, 20 September 2016 - 01:34 AM.

  • acnp77 likes this

#34 acnp77 OFFLINE  

acnp77

    Advanced Member

  • Members
  • 230 posts
  • Local time: 09:54 PM
  • LocationSwitzerland

Posted 20 September 2016 - 05:04 PM

@Angelblue05

 

My problem is not really with the mixed content but much more with the "new"-folder because it contains unorganized, not properly named items. Of coures, the fact thet is is mixed content does not help.

 

about the music-syncing: (maybe this info can help you)

I did the following:

1. fresh install of openelec (kodi) on rpi1 (sdcard)

2. installed your addon

3. in addon settings select to use music lib and to directstream music

4. create mixed-content lib on emby-srv. (The content is made up of movies, tv shows and music but nothing named properly yet)

5. wait for sync to finish

6. check in kodi music lib: there are three items from the mixed content (also the correct genre has been created)

-> you may want to try this... I know you write that this should not happen. But I did. Again I think it is due to the fact that the naming of the files and folders is not done yet. But if you say that nothing should go into the music lib- I find it a bit strange. Just for info. (I did definitly not have any content in my kodi library before the sync with emby-srv.)

 

 

about the setup: the setup is great and works fast. What I do not understand: when I open the addon-repo I get "emby addon" in "video-addons" and in "music-addons". I only installed from "video addons" and that seemed to be enough (I see "emby" in music, movies,tv and photo library. So I think everything is ok.) It is just the setup that presented itself a little unlogical. But maybe thats just me. I do not understand what the setting "enable music lib" does.

 

about home videos (realtime plugin listing.): GREAT!!

Something like this is what I was looking for. The "home video" emby-lib will not show the music but that's ok. And on kodi I can direct play these items without syncing and making a mess :)

The solution is far from perfect though- on my rpi the "realtime plugin listing" for a directory with 116 items takes around 20secs. Is there any way for caching this lists? Or making it faster? (without changing the client)

 

 

Conclusion:

Emby, Kodi and your addon is by far the best solution out there IMHO. So I will stick with it.

Most problems involve my unorg. content. so I simply removed it from the emby-server. Now things are looking good :)

***

 

I would love to add my "new"-folder to the emby-srv. as mixed content without it beeing synced to the kodi-addon.

If your addon would allow me to select which emby libs I want to sync and which ones to access with "realtime listing" or maybe not at all- that would be the absolut perfect thing. ;) 

Now I am feeling like one client is limiting the possibilities of the whole system. (Meaning I could add the "new"-folder to the server and use it with e.g. the webclient or 10 other clients- but because Kodi-addon will pick up on that and make a "mess" I no longer have this posiblity) - I think this is an important point. What are your thoughts on that?

 

Cheers


  • Angelblue05 likes this

#35 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15543 posts
  • Local time: 08:54 PM
  • LocationKent, England.

Posted 21 September 2016 - 03:00 AM

I dont want to use the Emby-Kodi plugin- for many reasons, so please do not propose this.

 

Emby, Kodi and your addon is by far the best solution out there IMHO. So I will stick with it.

 

High praise indeed :)


  • Vidman, Angelblue05 and e123enitan like this

#36 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12738 posts
  • Local time: 02:54 PM

Posted 21 September 2016 - 03:13 AM

I would love to add my "new"-folder to the emby-srv. as mixed content without it beeing synced to the kodi-addon.

If your addon would allow me to select which emby libs I want to sync and which ones to access with "realtime listing" or maybe not at all- that would be the absolut perfect thing. ;)

Now I am feeling like one client is limiting the possibilities of the whole system. (Meaning I could add the "new"-folder to the server and use it with e.g. the webclient or 10 other clients- but because Kodi-addon will pick up on that and make a "mess" I no longer have this posiblity) - I think this is an important point. What are your thoughts on that?

 

Cheers

 

It was one of my original suggestion, to allow the possibility of blacklisting emby libraries from being synced. There's not many votes on the feature so if it does end up getting implemented, it will low on the priority list.

https://trello.com/c...-specific-views

 

About plugin listing, it will definitely be reviewed to bring some improvements. It will take a little time for me to get to it, unless another dev gets the chance to work on it. Thanks for the feedback!

 

about the setup: the setup is great and works fast. What I do not understand: when I open the addon-repo I get "emby addon" in "video-addons" and in "music-addons". I only installed from "video addons" and that seemed to be enough (I see "emby" in music, movies,tv and photo library. So I think everything is ok.) It is just the setup that presented itself a little unlogical. But maybe thats just me. I do not understand what the setting "enable music lib" does.

 

It's just the way the add-on is being marked in Kodi. It provides video/audio/image, so you will see the same add-on appear in different list. There's also 3 emby for kodi dependencies linked to the main add-on (movies, shows, musicvideos). You don't need to worry yourself about these, they are very very rarely updated, but are essential to the functionality of Emby for Kodi.


Edited by Angelblue05, 21 September 2016 - 03:18 AM.

  • acnp77 likes this

#37 acnp77 OFFLINE  

acnp77

    Advanced Member

  • Members
  • 230 posts
  • Local time: 09:54 PM
  • LocationSwitzerland

Posted 21 September 2016 - 10:18 AM

@ CBers

 

This is out of context - and does not contradict itself...

 

I just thought that in general one should not have to depend on something like a kodi addon coded by a very small group of people to achive a log-term and stable system. I still stand by this.

 

But in this actual situation the addon is by far the best solution. (And it's a good one)

 

Cheers ;)


Edited by acnp77, 21 September 2016 - 10:22 AM.


#38 acnp77 OFFLINE  

acnp77

    Advanced Member

  • Members
  • 230 posts
  • Local time: 09:54 PM
  • LocationSwitzerland

Posted 21 September 2016 - 10:21 AM

@ Angelblue05

 

thanks for your feedback... looking forward to the future of kodi-emby-addon - great work.


  • Angelblue05 likes this

#39 CBers OFFLINE  

CBers

    Advanced Member

  • Moderators
  • 15543 posts
  • Local time: 08:54 PM
  • LocationKent, England.

Posted 21 September 2016 - 12:29 PM

This is out of context - and does not contradict itself...


I didn't say it did, but you went from not wanting to use it, to saying it's the "best solution" within 99 hours :)

As long as you're happy, then it's all good.
  • acnp77 likes this

#40 acnp77 OFFLINE  

acnp77

    Advanced Member

  • Members
  • 230 posts
  • Local time: 09:54 PM
  • LocationSwitzerland

Posted 21 September 2016 - 02:04 PM

I didn't say it did, but you went from not wanting to use it, to saying it's the "best solution" within 99 hours :)

As long as you're happy, then it's all good.

 

Yeah, you are right... (It's a complicated world)... :)


  • CBers likes this





Also tagged with one or more of these keywords: GENERAL, SERVER, TRANSCODING, BUGS

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users