• 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 10
Release YouTube to KODI library
#46
(2020-06-04, 17:41)didi82 Wrote: Thanks for the Leila version!
Can you test now? Works on my phone after you defeat the API key boss...
 
(2020-06-02, 20:05)mac1202 Wrote: Hi just tested your addon but unfortunately ii didn't work on linux.

Mind to test it again, haven't tested this on linux yet but reads/writes are handled by KODI now so it might have solved it.
Reply
#47
(2020-06-06, 05:54)evantaur Wrote:
(2020-06-04, 17:41)didi82 Wrote: Thanks for the Leila version!
Can you test now? Works on my phone after you defeat the API key boss...

Mind to test it again, haven't tested this on linux yet but reads/writes are handled by KODI now so it might have solved it.

Works on Coreelec Odroid C2 with Kodi Leila. Thank you!

How about your own repository to host the addon? 😬 Would make updating the addonmuch easier for the users.
Reply
#48
(2020-06-06, 05:22)evantaur Wrote: Holy s**t typing this API key on android is a frustrating experience, i'll see if there's anything i can do to make it less painful.....

I use Yatse as remote for Kodi. You can easily copy/paste text from your phone to Kodi.

https://play.google.com/store/apps/detai...widgetfree
Reply
#49
Deleting a show gives this error:

Code:
2020-06-06 09:23:11.538 T:3115742080 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: [Errno 2] No such file or directory: '/storage/.kodi/userdata/library/series\\spacex'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.youtube2kodilibrary/addon.py", line 738, in <module>
__C_MENU(foldername)
File "/storage/.kodi/addons/plugin.youtube2kodilibrary/addon.py", line 704, in __C_MENU
shutil.rmtree(cdir)
File "/usr/lib/python2.7/shutil.py", line 262, in rmtree
File "/usr/lib/python2.7/shutil.py", line 260, in rmtree
OSError: [Errno 2] No such file or directory: '/storage/.kodi/userdata/library/series\\spacex'
-->End of Python script error report<--
2020-06-06 09:23:11.932 T:3195556736 ERROR: GetDirectory - Error getting plugin://plugin.youtube2kodilibrary/?foldername=UCY3gHIXi4mc75Rpt7afu_7A&mode=C_MENU
2020-06-06 09:23:11.936 T:4093804560 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.youtube2kodilibrary/?foldername=UCY3gHIXi4mc75Rpt7afu_7A&mode=C_MENU) failed

\\spacex is not a valid path on Linux.
Reply
#50
Thumbs Up 
(2020-06-06, 09:26)didi82 Wrote: Deleting a show gives this error:

Code:
2020-06-06 09:23:11.538 T:3115742080 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: [Errno 2] No such file or directory: '/storage/.kodi/userdata/library/series\\spacex'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.youtube2kodilibrary/addon.py", line 738, in <module>
__C_MENU(foldername)
File "/storage/.kodi/addons/plugin.youtube2kodilibrary/addon.py", line 704, in __C_MENU
shutil.rmtree(cdir)
File "/usr/lib/python2.7/shutil.py", line 262, in rmtree
File "/usr/lib/python2.7/shutil.py", line 260, in rmtree
OSError: [Errno 2] No such file or directory: '/storage/.kodi/userdata/library/series\\spacex'
-->End of Python script error report<--
2020-06-06 09:23:11.932 T:3195556736 ERROR: GetDirectory - Error getting plugin://plugin.youtube2kodilibrary/?foldername=UCY3gHIXi4mc75Rpt7afu_7A&mode=C_MENU
2020-06-06 09:23:11.936 T:4093804560 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.youtube2kodilibrary/?foldername=UCY3gHIXi4mc75Rpt7afu_7A&mode=C_MENU) failed

\\spacex is not a valid path on Linux.

I'll fix it soonish Smile (that's the only task XBMCVFS can't handle)  Turns out it can!
*FIXED*
Reply
#51
(2020-06-04, 17:41)didi82 Wrote: How about your own repository to host the addon? 😬 Would make updating the addonmuch easier for the users.
i could do that 👍

(2020-06-06, 09:16)didi82 Wrote:
(2020-06-06, 05:22)evantaur Wrote: Holy s**t typing this API key on android is a frustrating experience, i'll see if there's anything i can do to make it less painful.....

I use Yatse as remote for Kodi. You can easily copy/paste text from your phone to Kodi.

https://play.google.com/store/apps/detai...widgetfree

Thinkin more like... use kodi browser to import it from a text file.
Reply
#52
(2020-06-06, 09:59)evantaur Wrote:
(2020-06-06, 09:26)didi82 Wrote: Deleting a show gives this error:

Code:
2020-06-06 09:23:11.538 T:3115742080 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OSError'>
Error Contents: [Errno 2] No such file or directory: '/storage/.kodi/userdata/library/series\\spacex'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.youtube2kodilibrary/addon.py", line 738, in <module>
__C_MENU(foldername)
File "/storage/.kodi/addons/plugin.youtube2kodilibrary/addon.py", line 704, in __C_MENU
shutil.rmtree(cdir)
File "/usr/lib/python2.7/shutil.py", line 262, in rmtree
File "/usr/lib/python2.7/shutil.py", line 260, in rmtree
OSError: [Errno 2] No such file or directory: '/storage/.kodi/userdata/library/series\\spacex'
-->End of Python script error report<--
2020-06-06 09:23:11.932 T:3195556736 ERROR: GetDirectory - Error getting plugin://plugin.youtube2kodilibrary/?foldername=UCY3gHIXi4mc75Rpt7afu_7A&mode=C_MENU
2020-06-06 09:23:11.936 T:4093804560 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.youtube2kodilibrary/?foldername=UCY3gHIXi4mc75Rpt7afu_7A&mode=C_MENU) failed

\\spacex is not a valid path on Linux.

I'll fix it soonish Smile (that's the only task XBMCVFS can't handle)  Turns out it can!
*FIXED*

I tried it with the plugin from up to commit https://github.com/evantaur/plugin.youtu...c9b361.zip , master fails installing with this error:

ERROR: Failed to read 'zip://%2fstorage%2fdownloads%2fLeia.zip/plugin.youtube2kodilibrary-Leia/addon.xml'

I've downloaded it a few times, but no succes. I think commit "for future" is giving problems. But I do like your future plans, music videos support!

Deleting a show works, but I still see an error:

Code:
2020-06-06 14:02:00.789 T:3016205184 ERROR: GetDirectory - Error getting plugin://plugin.youtube2kodilibrary/?foldername=UCtSL7Kr0QP65uoHpSzQBr_A&mode=AddItem
2020-06-06 14:02:00.804 T:4093804560 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.youtube2kodilibrary/?foldername=UCtSL7Kr0QP65uoHpSzQBr_A&mode=AddItem) failed
2020-06-06 14:02:33.770 T:3016205184 NOTICE: /storage/.kodi/userdata/library/series\Opium Testing

Ohw, and about this show, it's the first result when you search for "test" 😁
Reply
#53
(2020-06-06, 14:14)didi82 Wrote: I tried it with the plugin from up to commit https://github.com/evantaur/plugin.youtu...c9b361.zip , master fails installing with this error:

ERROR: Failed to read 'zip://%2fstorage%2fdownloads%2fLeia.zip/plugin.youtube2kodilibrary-Leia/addon.xml'

I've downloaded it a few times, but no succes. I think commit "for future" is giving problems. But I do like your future plans, music videos support!

Deleting a show works, but I still see an error:

Code:
2020-06-06 14:02:00.789 T:3016205184 ERROR: GetDirectory - Error getting plugin://plugin.youtube2kodilibrary/?foldername=UCtSL7Kr0QP65uoHpSzQBr_A&mode=AddItem
2020-06-06 14:02:00.804 T:4093804560 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.youtube2kodilibrary/?foldername=UCtSL7Kr0QP65uoHpSzQBr_A&mode=AddItem) failed
2020-06-06 14:02:33.770 T:3016205184 NOTICE: /storage/.kodi/userdata/library/series\Opium Testing

Ohw, and about this show, it's the first result when you search for "test" 😁
Probably those changes i made to addon.xml for the language support, i'll take a look...

and about those errors, they're printed there because deleting action doesn't provide a file structure(if taht makes any sense).
Reply
#54
(2020-06-06, 14:14)didi82 Wrote: ERROR: Failed to read 'zip://%2fstorage%2fdownloads%2fLeia.zip/plugin.youtube2kodilibrary-Leia/addon.xml'

 Just tried it, and it updated normally.
Reply
#55
(2020-06-06, 16:48)evantaur Wrote: and about those errors, they're printed there because deleting action doesn't provide a file structure(if taht makes any sense).

those are quite annoying tho... gotta find a way to "fix it".
Reply
#56
Image

a little teaser. Wink
Reply
#57
Cool, cant wait to use it Big Grin
Btw, can we have more options for how long between the automatic updates are?
Right now the minimum is  6 hours. Could we get it down to 2 hours?
Reply
#58
(2020-06-07, 13:07)Albinator Wrote: Cool, cant wait to use it Big Grin
Btw, can we have more options for how long between the automatic updates are?
Right now the minimum is  6 hours. Could we get it down to 2 hours?
done... (i mean the setting part, not the music video thingy)
Reply
#59
Thanks Big Grin
Reply
#60
Progress so far, Able to import music videos with some restrictions (öäÄåэлектрическиймиксер etc... won't get imported cause of unicode error...)

also restricted videos still gets listed, so these needs to be fixed and it's good for release... 

ImageImageImage
Reply
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 10

Logout Mark Read Team Forum Stats Members Help
YouTube to KODI library1