• 1
  • 91
  • 92
  • 93(current)
  • 94
  • 95
  • 122
Release gdrive - Google Drive Video/Music Add-on
If anyone manages to get crypto working on Windows let me know.

Things I've tried but failed:

I have downloaded the PyCrypto Windows binaries from: http://www.voidspace.org.uk/python/modul...l#pycrypto

I have added the Crypto folder created by the .exe in the link above to the root of the gdrive addon folder, repackaged the addon zip file and installed.

I have added the Crypto folder to the root of gdrive addon folder and to the resources/lib directory too. Repackaged the addon zip file and installed.

I have added the Crypto folder to Kodi\system\python\Lib

I have downloaded this script module: https://github.com/eirki/script.module.pycryptodome and edited the gdrive addon.xml by adding <import addon="script.module.pycryptodome" version="3.4.1"/> under the requires section. Repackaged the addon zip file and installed.

Along with various combinations of the above.
Reply
(2017-07-31, 06:54)SEIKT Wrote: Additional logs have been distributed to your inbox dmd.

I'm changing the logic to use labels, might work better for tracking.
Reply
(2017-08-03, 05:45)SEIKT Wrote: If anyone manages to get crypto working on Windows let me know.

Things I've tried but failed:

I have downloaded the PyCrypto Windows binaries from: http://www.voidspace.org.uk/python/modul...l#pycrypto

I have added the Crypto folder created by the .exe in the link above to the root of the gdrive addon folder, repackaged the addon zip file and installed.

I have added the Crypto folder to the root of gdrive addon folder and to the resources/lib directory too. Repackaged the addon zip file and installed.

I have added the Crypto folder to Kodi\system\python\Lib

I have downloaded this script module: https://github.com/eirki/script.module.pycryptodome and edited the gdrive addon.xml by adding <import addon="script.module.pycryptodome" version="3.4.1"/> under the requires section. Repackaged the addon zip file and installed.

Along with various combinations of the above.

For your attempts at loading PyCrypto, it fails because the modules wouldn't load?

I did hear pycryptodome works better on Windows, but I would need to validate everything works (plus I would need to make a call to it). I can make a change and give you a special build to test that tries to use pycryptodome.
Reply
(2017-08-03, 05:57)dmdsoftware Wrote:
(2017-07-31, 06:54)SEIKT Wrote: Additional logs have been distributed to your inbox dmd.

I'm changing the logic to use labels, might work better for tracking.

That file we have been discussing... it still doesn't get marked as watched, I'd test other unencrypted files but that's the only one I have available due to my ebay purchased google account being deleted. However, resume support is functional. With that said, the resume/watch status functionality doesn't work on encrypted files so I can't test the changes on my encrypted library.

Also worth noting, I'm not sure if you're aware of this bug that's related to the crypto streamer. When first starting Kodi if I play an encrypted strm file immediately, movie or tv show, the spinning loading icon will spin endlessly, no video will load. To get around this, when you first start Kodi, you have to access the gdrive addon and sign into the account which hosts the encrypted files. From there, you can return to the main menu and play any strm file without hassle.

(2017-08-03, 13:03)dmdsoftware Wrote: For your attempts at loading PyCrypto, it fails because the modules wouldn't load?

I did hear pycryptodome works better on Windows, but I would need to validate everything works (plus I would need to make a call to it). I can make a change and give you a special build to test that tries to use pycryptodome.

I assume nothing loads as when I click "treat as crypto" it doesn't show the files. Yeah that would be great to test.


Oh and another suggestion. Seeing as local resume support is now working perhaps set that as the default setting.
Reply
Quote:Also worth noting, I'm not sure if you're aware of this bug that's related to the crypto streamer. When first starting Kodi if I play an encrypted strm file immediately, movie or tv show, the spinning loading icon will spin endlessly, no video will load. To get around this, when you first start Kodi, you have to access the gdrive addon and sign into the account which hosts the encrypted files. From there, you can return to the main menu and play any strm file without hassle.

Definitely know what is causing this and hoping to finally fix it once-and-for-all soon.

Quote:For your attempts at loading PyCrypto, it fails because the modules wouldn't load?

I did hear pycryptodome works better on Windows, but I would need to validate everything works (plus I would need to make a call to it). I can make a change and give you a special build to test that tries to use pycryptodome.

I assume nothing loads as when I click "treat as crypto" it doesn't show the files. Yeah that would be great to test.


Oh and another suggestion. Seeing as local resume support is now working perhaps set that as the default setting.
[/quote]


I think the issue is that both can't co-exist, but there is an option here to install a dedicated third version that uses it's own userspace to ensure it doesn't conflict with Crypto. See here:
https://github.com/eirki/script.module.pycryptodome

This would definitely need a code change. I can make this change and also perhaps provide an error indicator to the user if Crypto is working or not.
Reply
(2017-08-03, 14:01)dmdsoftware Wrote: I think the issue is that both can't co-exist, but there is an option here to install a dedicated third version that uses it's own userspace to ensure it doesn't conflict with Crypto. See here:
https://github.com/eirki/script.module.pycryptodome

This would definitely need a code change. I can make this change and also perhaps provide an error indicator to the user if Crypto is working or not.

Alright, cool. I did play around with that module as mentioned in my post but didn't get anywhere. Do you think resume/watched status support will be possible on encrypted strms?
Reply
(2017-08-03, 14:19)SEIKT Wrote: [quote='dmdsoftware' pid='2626808' dateline='1501761673']
Quote:I think the issue is that both can't co-exist, but there is an option here to install a dedicated third version that uses it's own userspace to ensure it doesn't conflict with Crypto. See here:
https://github.com/eirki/script.module.pycryptodome

This would definitely need a code change. I can make this change and also perhaps provide an error indicator to the user if Crypto is working or not.

Alright, cool. I did play around with that module as mentioned in my post but didn't get anywhere. Do you think resume/watched status support will be possible on encrypted strms?


I need to add a change in order to use that one I posted about. And I'll add some dialog if encryption doesn't load.

You mean from encrypted streams from STRM?
Reply
(2017-08-03, 14:33)dmdsoftware Wrote: You mean from encrypted streams from STRM?

Yup. Resume/watch status aren't working on the STRM files that point to encrypted files on my LibreELEC device.
Reply
(2017-08-03, 16:37)SEIKT Wrote:
(2017-08-03, 14:33)dmdsoftware Wrote: You mean from encrypted streams from STRM?

Yup. Resume/watch status aren't working on the STRM files that point to encrypted files on my LibreELEC device.

I thought I already an issue open for that for tracking but can't find it so I opened one https://github.com/ddurdle/GDrive-for-KODI/issues/138

Your windows request for the other crypto package, opened an issue here https://github.com/ddurdle/GDrive-for-KODI/issues/139

Hopefully both are easy turn arounds.
Reply
(2017-08-03, 20:40)dmdsoftware Wrote:
(2017-08-03, 16:37)SEIKT Wrote:
(2017-08-03, 14:33)dmdsoftware Wrote: You mean from encrypted streams from STRM?

Yup. Resume/watch status aren't working on the STRM files that point to encrypted files on my LibreELEC device.

I thought I already an issue open for that for tracking but can't find it so I opened one https://github.com/ddurdle/GDrive-for-KODI/issues/138

Your windows request for the other crypto package, opened an issue here https://github.com/ddurdle/GDrive-for-KODI/issues/139

Hopefully both are easy turn arounds.

Sweet

Seems LibreELEC uses PyCryptodome too

https://github.com/LibreELEC/LibreELEC.t...package.mk

Quote: # Create Cryptodome as an alternative namespace to Crypto (Kodi addons may use either)
ln -sf /usr/lib/python2.7/site-packages/Crypto $INSTALL/usr/lib/python2.7/site-packages/Cryptodome
Reply
(2017-08-04, 06:37)SEIKT Wrote:
(2017-08-03, 20:40)dmdsoftware Wrote:
(2017-08-03, 16:37)SEIKT Wrote: Yup. Resume/watch status aren't working on the STRM files that point to encrypted files on my LibreELEC device.

I thought I already an issue open for that for tracking but can't find it so I opened one https://github.com/ddurdle/GDrive-for-KODI/issues/138

Your windows request for the other crypto package, opened an issue here https://github.com/ddurdle/GDrive-for-KODI/issues/139

Hopefully both are easy turn arounds.

Sweet

Seems LibreELEC uses PyCryptodome too

https://github.com/LibreELEC/LibreELEC.t...package.mk

Quote: # Create Cryptodome as an alternative namespace to Crypto (Kodi addons may use either)
ln -sf /usr/lib/python2.7/site-packages/Crypto $INSTALL/usr/lib/python2.7/site-packages/Cryptodome

Your unrelated issue around needing to enter the plugin at least once before invoking STRM files (when using crypto or streamer) is fixed in testing 0.8.49. One word of caution though, you need to have your default account for STRM (in addon settings, account) set to the intended account where the encrypted media will playback. I will address this limitation in the near future, as well as adding support for multiple salt/passwords.

Enabling Cryptodome will be next.

v0.8.49 (2017-08-04)
- limitation: Streamer needs to work with multiple accounts #141
- fix: Streamer causes plugin to hang when running from STRM #140
Reply
(2017-08-04, 14:19)dmdsoftware Wrote:
(2017-08-04, 06:37)SEIKT Wrote:
(2017-08-03, 20:40)dmdsoftware Wrote: I thought I already an issue open for that for tracking but can't find it so I opened one https://github.com/ddurdle/GDrive-for-KODI/issues/138

Your windows request for the other crypto package, opened an issue here https://github.com/ddurdle/GDrive-for-KODI/issues/139

Hopefully both are easy turn arounds.

Sweet

Seems LibreELEC uses PyCryptodome too

https://github.com/LibreELEC/LibreELEC.t...package.mk

Quote: # Create Cryptodome as an alternative namespace to Crypto (Kodi addons may use either)
ln -sf /usr/lib/python2.7/site-packages/Crypto $INSTALL/usr/lib/python2.7/site-packages/Cryptodome

Your unrelated issue around needing to enter the plugin at least once before invoking STRM files (when using crypto or streamer) is fixed in testing 0.8.49. One word of caution though, you need to have your default account for STRM (in addon settings, account) set to the intended account where the encrypted media will playback. I will address this limitation in the near future, as well as adding support for multiple salt/passwords.

Enabling Cryptodome will be next.

v0.8.49 (2017-08-04)
- limitation: Streamer needs to work with multiple accounts #141
- fix: Streamer causes plugin to hang when running from STRM #140

Good shit. Working great.
Reply
(2017-08-04, 14:19)dmdsoftware Wrote: v0.8.49 (2017-08-04)
- limitation: Streamer needs to work with multiple accounts #141
- fix: Streamer causes plugin to hang when running from STRM #140

I'm tried the drive-testing, but it doesn't work at alll because the .strm file tries to open drive.plugin and not gdrive-testing.plugin.
I'm created a stream file with gdrive-testing.plugin, but it didn't work also.
The Plugin asks me for the account, then nothing happened .
Any idea, how I can try the v0.8.49 ?

thanks for helping!
Reply
(2017-05-10, 20:14)Anubiz Wrote: hey, thx for your great work.
Sadly, i have a few problems.
Usling Linux, kodi 16, i cant get the oauth working
tried google aps and your pass-through.
when i use yours, after i clicked on the acc the first time there was a popup saying account activated/verified successfull, but then i get a popup error, check logs plz
when i use google aps, i get same error popup

https://pastebin.com/1Tv15D1F

the auth works under windows

I found the same popup error at this post.
Reply
(2017-08-05, 04:09)vassagopc Wrote:
(2017-08-04, 14:19)dmdsoftware Wrote: v0.8.49 (2017-08-04)
- limitation: Streamer needs to work with multiple accounts #141
- fix: Streamer causes plugin to hang when running from STRM #140

I'm tried the drive-testing, but it doesn't work at alll because the .strm file tries to open drive.plugin and not gdrive-testing.plugin.
I'm created a stream file with gdrive-testing.plugin, but it didn't work also.
The Plugin asks me for the account, then nothing happened .
Any idea, how I can try the v0.8.49 ?

thanks for helping!

Extract the addon zip file. Open notepad++ , press ctrl+f, click the "find in files" tab,in the "find what" text box add: -testing
leave the "replace with" text box empty. Change the directory to the gdrive folder. Then press the "replace in files" button. Zip the gdrive folder and install.
Reply
  • 1
  • 91
  • 92
  • 93(current)
  • 94
  • 95
  • 122

Logout Mark Read Team Forum Stats Members Help
gdrive - Google Drive Video/Music Add-on12