• 1
  • 97
  • 98
  • 99(current)
  • 100
  • 101
  • 122
Release gdrive - Google Drive Video/Music Add-on
Has auto update of strm links been added yet?
Reply
(2017-10-13, 14:01)dmdsoftware Wrote:
(2017-10-09, 07:31)kyosean Wrote: Hi 
I think there is an issue Kodi cannot load subtitle through strm file when the movie's file name includes the symbol " ' " but it works fine through the gdrive Addon 
Thanks

How did you create the STRM file?  Can you try recreating the STRM file by right-clicking on the item in the plugin, save to STRM.  There should be a folder id inside the STRM file.  If the srt file is in the same directory as the movie, regardless of name, it should load, unless you are using a STRM file that lacks the folder ID information.  Then it is search for file.

Hi, 
Thanks for your reply, 
About the problem of srt file you mentioned,  I tried before and I think it is weird that KODI sometimes can load srt file properly when srt file's name is different from movie's but sometimes can't. Therefore, I named the srt file's name as the same as movie's in case it couldn't work with subtitle properly.

About the problem of STRM file, I'm sorry that I don't know if I'm using a STRM file that lacks the folder ID info. Here's the issues what I faced: 
I have tried recreating the STRM file, it could play the movie through the STRM file but just couldn't load the subtitle. 
So, I checked the STRM file by using Wordpad and found its content including " %27 " if the movie filename includes " ' " just like the example below

example:

Movie's filename: 
2.Pirates of the Caribbean Dead Man's Chest 2006 BluRay 720p DTS 2Audio x264-MTeam.mkv

The content of STRM file:
 plugin://plugin.video.gdrive/?mode=video&username=***@gmail.com&filename=0B382Yqec8sqLV01ZUjhYVUdlRVk&title=2.Pirates+of+the+Caribbean+Dead+Man%27s+Chest+2006+BluRay+720p+DTS+2Audio+x264-MTeam.mkv

It would load the subtitle properly through STRM file if I recreated its STRM file and played it by having renamed the movie's name without the symbol " ' "

I have tested another movie this morning, the result is just like what I mentioned above. 
I think it may be an issue, that's why I reported it to you previously.

Thanks
Reply
(2017-09-09, 01:48)f@rth Wrote: Hello, can I add my google drive folder with films to kodi media source? Thx for answer

Nobody knows?
Reply
(2017-10-14, 20:01)f@rth Wrote:
(2017-09-09, 01:48)f@rth Wrote: Hello, can I add my google drive folder with films to kodi media source? Thx for answer

Nobody knows?

You can Save to STRM and import STRMs into KODI library for playback.
Reply
(2017-09-28, 15:54)SEIKT Wrote:
(2017-09-26, 14:37)neik Wrote:
(2017-09-25, 16:59)hasamba Wrote: can you pleaseeeeee make a small instructions guide how to encrypt and upload for noobs?

thanks

@SEIKT, thanks for answering.

I had a look at all files you mentioned but to be honest I didn't really get how to use it.

So, I'm with hasamba: A little How To would be awesome. Unfortunately, I couldn't find anything that explain how it works.

If all you want to do is file encryption, just use encrypt.py and encryption.py from that github link. Here's the command you need to enter into your terminal:

Code:
python encrypt.py saltfile thepassword sourcefolderpath filename destinationfolderpath

Example:

I have a movie located in: /home/bob/movie/cindy 2011
and the filename = cindy.mkv

I would enter this command in the terminal

Code:
python encrypt.py saltfile thepassword "/home/bob/movie/cindy 2011" cindy.mkv /home/bob/upload

Forgot to mention you would need to have pycrypto installed.

hey @SEIKT,
i tried what you wrote but im getting "none" each time
this is the command i used: "c:\Python27\python.exe" encrypt.py saltfile R25hfYY1p4ZUw4FwkWOUac8Q2jQcG2Pt f:\Yaniv\Downloads\Encrypt-and-Upload-GDrive-master 1.mp4 f:\Yaniv\Uploads
i tried playing with the slashes, with the paths...nothing works
can you help?
thanks

btw, how can i do it automaticly for an entire folder? can i use *.*? can i upload automaticly to gdrive?
Reply
(2017-10-20, 11:43)hasamba Wrote:
(2017-09-28, 15:54)SEIKT Wrote:
(2017-09-26, 14:37)neik Wrote: @SEIKT, thanks for answering.

I had a look at all files you mentioned but to be honest I didn't really get how to use it.

So, I'm with hasamba: A little How To would be awesome. Unfortunately, I couldn't find anything that explain how it works.

If all you want to do is file encryption, just use encrypt.py and encryption.py from that github link. Here's the command you need to enter into your terminal:

Code:
python encrypt.py saltfile thepassword sourcefolderpath filename destinationfolderpath

Example:

I have a movie located in: /home/bob/movie/cindy 2011
and the filename = cindy.mkv

I would enter this command in the terminal

Code:
python encrypt.py saltfile thepassword "/home/bob/movie/cindy 2011" cindy.mkv /home/bob/upload

Forgot to mention you would need to have pycrypto installed.

hey @SEIKT,
i tried what you wrote but im getting "none" each time
this is the command i used: "c:\Python27\python.exe" encrypt.py saltfile R25hfYY1p4ZUw4FwkWOUac8Q2jQcG2Pt f:\Yaniv\Downloads\Encrypt-and-Upload-GDrive-master 1.mp4 f:\Yaniv\Uploads
i tried playing with the slashes, with the paths...nothing works
can you help?
thanks

btw, how can i do it automaticly for an entire folder? can i use *.*? can i upload automaticly to gdrive?

You are missing crypto python libraries (pycrypto).
Reply
(2017-10-21, 02:34)dmdsoftware Wrote:
(2017-10-20, 11:43)hasamba Wrote:
(2017-09-28, 15:54)SEIKT Wrote: If all you want to do is file encryption, just use encrypt.py and encryption.py from that github link. Here's the command you need to enter into your terminal:

Code:
python encrypt.py saltfile thepassword sourcefolderpath filename destinationfolderpath

Example:

I have a movie located in: /home/bob/movie/cindy 2011
and the filename = cindy.mkv

I would enter this command in the terminal

Code:
python encrypt.py saltfile thepassword "/home/bob/movie/cindy 2011" cindy.mkv /home/bob/upload

Forgot to mention you would need to have pycrypto installed.

hey @SEIKT,
i tried what you wrote but im getting "none" each time
this is the command i used: "c:\Python27\python.exe" encrypt.py saltfile R25hfYY1p4ZUw4FwkWOUac8Q2jQcG2Pt f:\Yaniv\Downloads\Encrypt-and-Upload-GDrive-master 1.mp4 f:\Yaniv\Uploads
i tried playing with the slashes, with the paths...nothing works
can you help?
thanks

btw, how can i do it automaticly for an entire folder? can i use *.*? can i upload automaticly to gdrive?

You are missing crypto python libraries (pycrypto).

i installed pycrypto before but i guess it didnt install well, im getting :
running install
running build
running build_py
running build_ext
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
building 'Crypto.Random.OSRNG.winrandom' extension
error: Unable to find vcvarsall.bat

trying to figure that problem...
im on win10
python 2.7
Reply
(2017-10-13, 14:03)dmdsoftware Wrote:
(2017-10-12, 14:03)klesk Wrote:
(2017-10-07, 17:48)klesk Wrote: Hi,

after one week of testing i discovered something, which i think maybe, is not only related to teamdrives. I searched whether it was already posted on Github and here but couldn't find anything.
After round about 1 hour of watching a movie, when i jump backward, the movie played crashes (i forgot to verify if it behaves the same if i jump forward).  I can immediately start the movie again and in most cases from the timestamp where it crashed. After restart i can jump forward/backward again. It is always around the 1 hour mark, even shortly before jumping is not a problem. I will try to provide a log file later.

Thanks.


Tested it a little bit in the meantime and discovered that the problem doesn't only appears after the mentioned time,  rather random. But for sure, it is not from the beginning of the movie. The more the movie proceeds the chances getting higher that it happens.

Code:
01:33:02.159 T:1469051808   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                            - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                           Error Type: <type 'exceptions.TypeError'>
                                           Error Contents: onPlayBackSeek() takes exactly 2 arguments (3 given)
                                           TypeError: onPlayBackSeek() takes exactly 2 arguments (3 given)
                                           -->End of Python script error report<--
01:33:02.928 T:1521009568   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
01:33:02.947 T:1571341216  NOTICE: CVideoPlayer::OnExit()
01:33:02.947 T:1571341216  NOTICE: VideoPlayer: eof, waiting for queues to empty
01:33:02.947 T:1571341216  NOTICE: Closing stream player 1
01:33:02.958 T:1443885984  NOTICE: thread end: OMXPlayerAudio::OnExit()
01:33:03.039 T:1571341216  NOTICE: Closing stream player 2
01:33:03.039 T:1479066528   ERROR: OMXPlayerVideo: Got MSGQ_IS_ERROR(-1) Aborting
01:33:03.039 T:1479066528  NOTICE: thread end: video_thread
01:33:03.089 T:1571341216  NOTICE: Closing stream player 3
01:33:03.161 T:1469051808  NOTICE: gdrive-testing: PLAYBACK ENDED
01:33:03.303 T:1944997888   ERROR: Control 50 in window 10025 has been asked to focus, but it can't
01:33:03.563 T:1944997888  NOTICE: CVideoPlayer::CloseFile()
01:33:03.564 T:1944997888  NOTICE: VideoPlayer: waiting for threads to exit
01:33:03.564 T:1944997888  NOTICE: VideoPlayer: finished waiting
01:33:03.565 T:1944997888  NOTICE: CVideoPlayer::CloseFile()t
01:33:03.565 T:1944997888  NOTICE: VideoPlayer: waiting for threads to exit
01:33:03.565 T:1944997888  NOTICE: VideoPlayer: finished waiting
01:33:04.913 T:1469051808  NOTICE: gdrive-testing: 1 Updated watch status local tv db id=1398 playcount=1
01:33:04.914 T:1469051808 WARNING: Attempt to use invalid handle 32
01:33:16.012 T:1479066528  NOTICE: gdrive-testing: Seek 0

Almost looks like a KODI bug because I don't call those two methods, and the code is calling the methods with the wrong number of parameters.  But why randomly?  I would need to reproduce it to capture exactly what is going on.

Generally the back and forth won't work well with Google streams once the buffer fills because they don't tend to like to handle seeks well.  The intention of the streamer option is to bypass this.

Yes, the Error Message seems Kodi related, but isn't the reason for the Player to close, because i looked at it and have several of this error messages in the log every time i use the skip function. So the player just exits without any errorlog. Maybe i have to enable debug mode to force some error output in the log file.
Anyway i think this error shouldn't be top priority.
Maybe if you have some free time to spare and watch a movie in the evening, and you want to try to reproduce the error, just try to use the skip function after round about half of the film has past.
I can't even exclude that it is related to the weak hardware of the RPI, because in the first half of every movie, skipping works like expected.
But like i wrote before, it is not that much of a problem.

Do you had any chance to look at the error with the spreadsheet preventing playback ?
Reply
Does anyone have a guide on how to use all the functions of this add-on because I don't understand most of them and would really appreciate the help.
Reply
(2017-10-26, 18:21)klesk Wrote:
(2017-10-13, 14:03)dmdsoftware Wrote:
(2017-10-12, 14:03)klesk Wrote: Tested it a little bit in the meantime and discovered that the problem doesn't only appears after the mentioned time,  rather random. But for sure, it is not from the beginning of the movie. The more the movie proceeds the chances getting higher that it happens.

Code:
01:33:02.159 T:1469051808   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                            - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                           Error Type: <type 'exceptions.TypeError'>
                                           Error Contents: onPlayBackSeek() takes exactly 2 arguments (3 given)
                                           TypeError: onPlayBackSeek() takes exactly 2 arguments (3 given)
                                           -->End of Python script error report<--
01:33:02.928 T:1521009568   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 401
01:33:02.947 T:1571341216  NOTICE: CVideoPlayer::OnExit()
01:33:02.947 T:1571341216  NOTICE: VideoPlayer: eof, waiting for queues to empty
01:33:02.947 T:1571341216  NOTICE: Closing stream player 1
01:33:02.958 T:1443885984  NOTICE: thread end: OMXPlayerAudio::OnExit()
01:33:03.039 T:1571341216  NOTICE: Closing stream player 2
01:33:03.039 T:1479066528   ERROR: OMXPlayerVideo: Got MSGQ_IS_ERROR(-1) Aborting
01:33:03.039 T:1479066528  NOTICE: thread end: video_thread
01:33:03.089 T:1571341216  NOTICE: Closing stream player 3
01:33:03.161 T:1469051808  NOTICE: gdrive-testing: PLAYBACK ENDED
01:33:03.303 T:1944997888   ERROR: Control 50 in window 10025 has been asked to focus, but it can't
01:33:03.563 T:1944997888  NOTICE: CVideoPlayer::CloseFile()
01:33:03.564 T:1944997888  NOTICE: VideoPlayer: waiting for threads to exit
01:33:03.564 T:1944997888  NOTICE: VideoPlayer: finished waiting
01:33:03.565 T:1944997888  NOTICE: CVideoPlayer::CloseFile()t
01:33:03.565 T:1944997888  NOTICE: VideoPlayer: waiting for threads to exit
01:33:03.565 T:1944997888  NOTICE: VideoPlayer: finished waiting
01:33:04.913 T:1469051808  NOTICE: gdrive-testing: 1 Updated watch status local tv db id=1398 playcount=1
01:33:04.914 T:1469051808 WARNING: Attempt to use invalid handle 32
01:33:16.012 T:1479066528  NOTICE: gdrive-testing: Seek 0

Almost looks like a KODI bug because I don't call those two methods, and the code is calling the methods with the wrong number of parameters.  But why randomly?  I would need to reproduce it to capture exactly what is going on.

Generally the back and forth won't work well with Google streams once the buffer fills because they don't tend to like to handle seeks well.  The intention of the streamer option is to bypass this.

Yes, the Error Message seems Kodi related, but isn't the reason for the Player to close, because i looked at it and have several of this error messages in the log every time i use the skip function. So the player just exits without any errorlog. Maybe i have to enable debug mode to force some error output in the log file.
Anyway i think this error shouldn't be top priority.
Maybe if you have some free time to spare and watch a movie in the evening, and you want to try to reproduce the error, just try to use the skip function after round about half of the film has past.
I can't even exclude that it is related to the weak hardware of the RPI, because in the first half of every movie, skipping works like expected.
But like i wrote before, it is not that much of a problem.

Do you had any chance to look at the error with the spreadsheet preventing playback ?


Can you remind me on the spreadsheet issue?

I don't think the pause/+playback issue is related to the hardware.  I've had playback issues in even official google drive apps.  Even youtube.  It's fact the connection has closed due to inactivity.  The streamer class I designed to deal with this down the road by keeping the connection open or to intercept the disconnection and resume where left off in a new connection.
Reply
(2017-10-28, 18:52)working_on_it Wrote: Does anyone have a guide on how to use all the functions of this add-on because I don't understand most of them and would really appreciate the help.

If I had more time I'd document them.  There are lots of Easter egg features I implemented to try things out but never documented yet.
Reply
(2017-09-23, 22:58)klesk Wrote:
(2017-09-23, 21:46)dmdsoftware Wrote: Are you using google drive spreadsheet functionality to store watch/resume status?

Yes, you hit the mark.
As soon as i set the resume point and playback count to "local only" playback starts working.
If i set it back to "Google Drive Spreadsheet" it stops.
That's what i meant when i wrote about Spreadsheet Issue with Teamdrives.
Reply
(2017-10-29, 16:32)klesk Wrote:
(2017-09-23, 22:58)klesk Wrote:
(2017-09-23, 21:46)dmdsoftware Wrote: Are you using google drive spreadsheet functionality to store watch/resume status?

Yes, you hit the mark.
As soon as i set the resume point and playback count to "local only" playback starts working.
If i set it back to "Google Drive Spreadsheet" it stops.
That's what i meant when i wrote about Spreadsheet Issue with Teamdrives.

Thx, I will look into that issue.
Reply
For this Christmas/Holiday 2017 (as in Dec 24) , Google Drive KODI plugin v0.9.0 will be released.  I'm planning for a lot of new features, in addition to handling stability fixes.

Highlights:
- new run modes:
1) traditional -- like it is today where you load the plugin, authenticate your account with the plugin on the device, and access your media, create STRM files, load your KODI library, etc
2) sever-assisted mode -- where the plugin coordinates with a low powered VPS or google compute engine (you provide or use one provided) that will do the "hard lifting" associated with decrypting streams.  This run mode is for those who want to use encfs or pycrypto but cannot get their device to load the appropriate decryption modules (ios, some android devices)
3) server-dedicated mode -- where your version of KODI (such as a KODI fork) doesn't support add-ons, the low powered VPS or google compute engine handles all the work and your KODI just opens the streams -- ideal for devices like IOS where side-loading KODI is not possible
4) web browser mode -- enjoy the Google Drive KODI plugin experience in any HTML5 browser, no KODI required to be installed on the device (powered by low powered VPS or google compute engine)
5) EmbyServer / Plex mode -- enjoy  the Google Drive KODI plugin in EmbyServer and Plex, no KODI required to be installed on the device   (powered by  ow powered VPS or google compute engine)
6) server-managed mode - like traditional but credentials are handled in a low powered VPS or google compute engine

Other features in all versions, including the traditional KODI plugin form, will include automatic scheduled STRM creation and media upload.

Testing will be conducted in gdrive-testing releases throughout November and December (as 0.8.56+ leading up to 0.9.0).

low-powered VPS or google compute engine is defined as any Linux device with at least 128MB RAM (all development and testing will be performed on maximum 128MB RAM).  This can be easily substituted with an embedded board like a raspberry pi.
Reply
This is AWESOME news. So pleased this addon us getting more love. It's used daily in my household on 4 different devices. I cannot wait to try some of the new features. Particularly the emby or plex solution. Hell who am I kidding I'll be playing with all of the new features. Brilliant!

Sent from my ONEPLUS A3003
Reply
  • 1
  • 97
  • 98
  • 99(current)
  • 100
  • 101
  • 122

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