2021-05-23, 21:19
I testing now with Plex and for now not bad at all...6710 series episodes imported in 27 minutes...over night i try with 180k episodes...
When you get new version just tell me
When you get new version just tell me
(2021-05-24, 14:07)webmaher Wrote: P.S. timed out again and again when i want import over 10.000 movies or 100.000 episodes....
(2021-05-25, 21:44)webmaher Wrote: and as i have also HBO addon is any chance to create also HBO importer...
(2021-05-29, 12:33)LongMan Wrote: @webmaher
(2021-05-25, 21:44)webmaher Wrote: and as i have also HBO addon is any chance to create also HBO importer...
Montellese could add MediaImport to the HBO addon but as he has stated a couple of times his time is limited and it would be good to have addon developers familiar with the feature. Could you ask the developer of the HBO addon to add MediaImport support? The instructions are here.
Cheers,
LongMan
(2021-05-25, 21:44)webmaher Wrote: i hope that you find a way to speed up this because i cant import complete movies and series... and as i have also HBO addon is any chance to create also HBO importer...So I've taken another stab at speeding things up. While I still haven't figured out how to improve
Thanks for your work so far
python-plexapi
to not perform unnecessary requests I started working on an approach where mediaimporter.plex
uses background worker threads to retrieve the details of each media item in parallel. I've added a setting to specify how many background worker threads it should use since this highly depends on the machine / CPU that the add-on is running on. I've tried it with 10 worker threads (the default) and on my setup it speeds the process up from 165s to 55s to retrieve ~1k movies.mediaimporter.plex
. If you need a ZIP file you can get it directly from GitHub. Beware that I haven't spent much time testing it but I'm looking forward to your feedback and logs.
(2021-06-06, 14:39)LongMan Wrote: @Supersilver,I'll be sure to give it a go sounds like the improvements could help a lot, I'll get back to ye once I've tried it out.
Could provide some feedback on the latest improvements to mediaimpoter.plex mentioned above?
Cheers,
LongMan
mediaimporter.plex
: I managed to update python-plexapi
from version 3.5.0 to 4.6.0 which offers a way to customize requests for item metadata. That way I was able to improve the performancy of retrieving 1k items by more than 50%. In combination with the experimental parallel metadata retrieval posted above the improvement reaches 75%.(2021-06-09, 12:18)M4tt0 Wrote: That sounds great @Montellese! I'm not using Plex, so I cannot test it, but I keep testing the Emby functionality on my laptop and it's really phantastic!
mediaimporter.plex
on a movie library with 9k+ movies. Last time I ran the import (back in March) it took 95 minutes. Now it took 6 minutes. That's not a bad speedup.(2021-06-09, 12:18)M4tt0 Wrote: I've realized that you have started to PR some of your media importing commits into Kodi master recently. Given the very advanced state your work is in now, are you planning to continue pushing your whole work into Master over the next couple of months or do you still want to keep it separate for longer?I'm still working on getting specific parts into mainline if they are useful for Kodi independent of media import. Right now there is one part which I would like to get into Kodi mainline but it needs some additional work to be suitable.
(2021-06-09, 21:34)Montellese Wrote:I agree again and that is where I think things should accelerate: I sincerely believe that the functionality you are providing should be a strategic priority for Team Kodi. I've posted the rationale a couple of months ago already: IMHO Kodi can only stay relevant if it continues to INTEGRATE all kind of popular media sources (stored media, TV streaming, streaming services, music, you name it) into one common ecosystem. That is what I believe users appreciate: One familiar and convenient platform to manage many things of relevance to the users. Kodi's add-on system was extremely visionary "at the time", but Kodi itself is currently being "demoted" to "just one app" within the ecosystems of the androids of the world. Today the choice on android is "Kodi App" vs. "Emby App" vs. "Netflix App" vs. "Music App", and no longer "Kodi App" and "Emby Add-on within Kodi" and "Netflix add-on within Kodi" and "Music section of Kodi".(2021-06-09, 12:18)M4tt0 Wrote: [...][...] While I've received a lot of positive feedback on the idea and the approach only very few have actually given it a try.
(2021-06-09, 21:34)Montellese Wrote:(2021-06-09, 12:18)M4tt0 Wrote: That sounds great @Montellese! I'm not using Plex, so I cannot test it, but I keep testing the Emby functionality on my laptop and it's really phantastic!
Thanks for the feedback. I just tested my latest performance improvements ofmediaimporter.plex
on a movie library with 9k+ movies. Last time I ran the import (back in March) it took 95 minutes. Now it took 6 minutes. That's not a bad speedup.
(2021-06-09, 22:14)M4tt0 Wrote: Many thanks for your comprehensive response and explanations.
I fully understand what you are writing and sincerely appreciate your very dilligent approach.
(2021-06-09, 21:34)Montellese Wrote:I agree again and that is where I think things should accelerate: I sincerely believe that the functionality you are providing should be a strategic priority for Team Kodi. I've posted the rationale a couple of months ago already: IMHO Kodi can only stay relevant if it continues to INTEGRATE all kind of popular media sources (stored media, TV streaming, streaming services, music, you name it) into one common ecosystem. That is what I believe users appreciate: One familiar and convenient platform to manage many things of relevance to the users. Kodi's add-on system was extremely visionary "at the time", but Kodi itself is currently being "demoted" to "just one app" within the ecosystems of the androids of the world. Today the choice on android is "Kodi App" vs. "Emby App" vs. "Netflix App" vs. "Music App", and no longer "Kodi App" and "Emby Add-on within Kodi" and "Netflix add-on within Kodi" and "Music section of Kodi".(2021-06-09, 12:18)M4tt0 Wrote: [...][...] While I've received a lot of positive feedback on the idea and the approach only very few have actually given it a try.
YOU offer a solution to that, but - as you rightly write - too few users have tried it or even appreciate what you offer here: Your integrative approach should not just be used for Emby and Plex, but for EVERY media source provider seeking integration into Kodi. And the transition needs to happen WHILE you still have a significant user base. And I believe Kodi CAN prevail, exactly because you have no commercial interests and because you are not trying to abuse your ecosystem to change revenue streams.
I understand and appreciate the voluntary nature of open source development and the Kodi project in particular. But bloody hell, I don't think you should need to handle all of this yourself! I'm no expert and my be wrong here, but intuitively, PRing more of your work quicker should lead to more testers and users and maybe also more developers helping and advancing the code.
Food for thought for you and Team Kodi from a long-time fan of the project, the community around it and the great work you have been doing here for so many years...