Coder Social home page Coder Social logo

gdomenici / plugin.video.pcloud-video-streaming Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 3.0 189 KB

Plugin for Kodi (Matrix and above) to provide video streaming from pcloud.com

License: GNU General Public License v3.0

Python 100.00%
kodi pcloud pcloud-api streaming video

plugin.video.pcloud-video-streaming's People

Contributors

danieldiazi avatar eng2heb avatar gdomenici avatar gdomenici-insidesecure avatar gdomenici-verimatrix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin.video.pcloud-video-streaming's Issues

Suggestion: Publish addon on kodi official repository

Hi, great job and useful addon.
This is a suggestion, if it's possible, why not publish your addon on kodi official repository. Kodi users will have the addon in a easy way for download.

Maybe is a hard work, if I can help, no problem!

PCLOUD STREAMING PLUGIN FOR KODI 16.0 JARVIS

Good Evening Guido,

Hope all is well and you and your loved ones are in the best of health. We spoke before the close of last year in regards to this wonderful add on you developed. It has been working like a charm for my wife and kids. As I am sure you are aware; KODI is now at version 16.0 JARVIS and it seems as though the PCLOUD plugin is not as accurate as usual when content is added to my pcloud. Maybe it requires an update for ANDROID & WINDOWS? Not sure but I wanted to give you a heads up. Again, thanks a million for your hard work; it's greatly appreciated over here and if you ever need a donation ; I'l be glad to extend what I can.

Respectfully,

John Smart

Two-Factor Authentication

Hi,
can you add support for case when I have u2f authentification enabled on my pCloud - would be great

Strano comportamento tastiera su Xiaomi Mi tv

Salve, grazie ancora per il contributo! (:

Volevo segnalare che sul dispositivo Xiaomi Mi TV la tastiera SOLO sull'addon di Pcloud ha un comportamento strano. Non esistono i caratteri speciali e non mi è possibile inserire la @ per la mail da inserire. Grazie

Kodi Matrix

Hello Guido,

Please help us, kodi matrix is much faster and we need an update for pcloud addon :)

error calling api.pcloud.com/userInfo

running ver 1.4.2 on Kodi 18.4 and error occurred when entering pcloud account.
Event Log logged error as "Error: cannot logon to pCloud: Error calling userInfo: Unknown error".

Multimedia viewer

Hi, first thanks you very much for this add-on, very convenient under Kodi on androidtv !
Works great, except for pictures. It's able to show à pic, with a nice effect. but seems unable to change to next or previous files. I can't find any option to modify that.
Does someone would have any idea ?
Thanks

ConnectionResetError: [Errno 104] Connection reset by peer

I use CoreELEC 19.3-Matrix with latest pcloud-video-streaming plugin, but I got following error, for non empty folders:

2021-12-07 23:20:06.851 T:6026 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ConnectionResetError'>
Error Contents: [Errno 104] Connection reset by peer
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.pcloud-video-streaming/addon.py", line 121, in
folderContents = pcloud.ListFolderContents(folderID, isMyShares)
File "/storage/.kodi/addons/plugin.video.pcloud-video-streaming/resources/lib/pcloudapi.py", line 137, in ListFolderContents
response = self.ExecuteRequest(url)
File "/storage/.kodi/addons/plugin.video.pcloud-video-streaming/resources/lib/pcloudapi.py", line 89, in ExecuteRequest
response = self.HttpHandler.open(httpRequest)
File "/usr/lib/python3.8/urllib/request.py", line 525, in open
File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
File "/usr/lib/python3.8/urllib/request.py", line 1397, in https_open
File "/usr/lib/python3.8/urllib/request.py", line 1358, in do_open
File "/usr/lib/python3.8/http/client.py", line 1348, in getresponse
File "/usr/lib/python3.8/http/client.py", line 316, in begin
File "/usr/lib/python3.8/http/client.py", line 277, in _read_status
File "/usr/lib/python3.8/socket.py", line 669, in readinto
File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into
File "/usr/lib/python3.8/ssl.py", line 1099, in read
ConnectionResetError: [Errno 104] Connection reset by peer
-->End of Python script error report<--

Do you have any idea why this error is coming? Please help me to solve it

Unable to sign in Kodi 19.1.0 | Platform Windows | Pcloud EU

2021-08-23 02:42:27.789 T:16816   ERROR <general>: ERROR: cannot logon to pCloud: Error calling userinfo: Log in failed
2021-08-23 02:42:27.789 T:16816    INFO <general>: CPythonInvoker(3, C:\Users\Shubham\AppData\Roaming\Kodi\addons\plugin.video.pcloud-video-streaming\addon.py): script aborted
2021-08-23 02:42:27.798 T:16816    INFO <general>: Python interpreter stopped
2021-08-23 02:42:27.798 T:6676    ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.pcloud-video-streaming/?content_type=video
2021-08-23 02:42:27.807 T:11972   ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pcloud-video-streaming/?content_type=video) failed

Scrapping not taken into account

Hi there and thank you for your plugin,

I have properly managed the configuration in order to have my pCloud as a video source. But the problem I'm encountering is that all covers and movies information are not displayed in my media library (in short, the .nfo is totally ignored). Simply said, if I go to "My Movies", Kodi informs me that I have to register a movie source (even if the pCloud source is displayed and properly configured).

I have heard about .strm files. My question is simple : how can I do to have Kodi recognizes my pCloud storage correctly in order to have covers and movie info provided with that .nfo? Do you know if it's possible with .strm files? If so, can you give me a little example? And if not, maybe there is another way to do it?

Thanks in advance for your answer.

ANDROID

Great add on mate. Works perfect on all of my WINDOWS based devices; however, I keep receiving an error message on my ANDROID devices (ERROR: PCLOUD STREAMING ERROR. CHECK THE CHANGE LOG FOR MORE INFORMATION ). I am unable to log in with my credentials; Once I launch the add on I receive this error message immediately. Hopefully you'll be able to resolve this issue; I really like this add on and find it very useful for KODI but I need it to work on ANDROID. THANKS in advance.

ERROR: cannot logon to pCloud: Error calling userinfo: Log in failed

hi,
if a try to login with your plugin i get following error.

2021-10-27 21:26:44.464 T:10648   ERROR <general>: ERROR: cannot logon to pCloud: Error calling userinfo: Log in failed.
2021-10-27 21:26:44.465 T:10648    INFO <general>: CPythonInvoker(11, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.pcloud-video-streaming/addon.py): script aborted
2021-10-27 21:26:44.592 T:10648 WARNING <general>: CPythonInvoker(11, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.pcloud-video-streaming/addon.py): the python script "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.pcloud-video-streaming/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
2021-10-27 21:26:44.593 T:10648    INFO <general>: Python interpreter stopped
2021-10-27 21:26:44.593 T:10647   ERROR <general>: GetDirectory - Error getting plugin://plugin.video.pcloud-video-streaming/
2021-10-27 21:26:44.595 T:8744    ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pcloud-video-streaming/) failed

my setup:
kodi 19.1.0 on fire cube
latest plugin version
2FA is off

do you have any idea why it doesn't work?

urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)

ssl issue exist any more :(
finally today i did the test for #18 with new version on windows and got the errors again.

12:23:35.432 T:7240 ERROR: ERROR: cannot logon to pCloud: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)> 12:23:35.474 T:3432 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.pcloud-video-streaming/?content_type=video 12:23:35.482 T:3432 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pcloud-video-streaming/?content_type=video) failed

Sort by Date

Hi,

I used this addon for a long time and very appreciate your work. It's really help me to watch my video from Kodi and PCLOUD.

I just have a little bit problem with the files sort by name. Will this addon support sort by date option? Now it has the feature sort by name only. It's hard for me to find a new video just added.

Thank you very much for the great addon

suggestions

Great plugin!

I would like to suggest some features:

1- support for loading external subtitles. I have several files with srt subtitles. It would be interesting to be able to load them together with the video, like kodi does when the file is stored locally.

2- sort the files in the folders alfabetically

thx!

Flac streaming

Hello,

great add-on.
I would like to use it to stream flac music files that I have on pcloud. I'm using the android version of kodi on my mobile phone with your plugin.

It works in the current version but only for one file at a time.

Could you please program the add-on to play the next file in the album/folder automatically? and also add next track or previous track buttons...
Is the flac transoded to lower quality when streaming ?

Thank you !
Mashik Coller

ssl error

23:13:40.377 T:12076 ERROR: ERROR: cannot logon to pCloud: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>
23:13:40.406 T:10880 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.pcloud-video-streaming/?content_type=video
23:13:40.408 T:10880 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pcloud-video-streaming/?content_type=video) failed

Add-on breaks with Kodi 19, due to the Python 3 interpreter

pcloud-video-streaming cannot start on Kodi 19 preview (Kodi 19.0-ALPHA1) due to the Python 3 interpreter present in that Kodi version instead of Python 2 in all previous versions. See https://www.ghacks.net/2019/11/19/kodi-19-may-break-some-add-ons/.

See also https://kodi.tv/article/attention-addon-developers-migration-python-3.

The error in the log is:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'ModuleNotFoundError'>
                                            Error Contents: No module named 'urllib2'
                                            Traceback (most recent call last):
                                              File "C:\Users\Guido\AppData\Roaming\Kodi\addons\plugin.video.pcloud-video-streaming\addon.py", line 1, in <module>
                                                import resources.lib.pcloudapi
                                              File "C:\Users\Guido\AppData\Roaming\Kodi\addons\plugin.video.pcloud-video-streaming\resources\lib\pcloudapi.py", line 2, in <module>
                                                import urllib2
                                            ModuleNotFoundError: No module named 'urllib2'

New data region login error

Hello. I have used your excellent addon to stream videos and music from kodi for several years. I just changed the data region of my account from the USA to Europe and I get a login error when I try to log in to my account with the addon. I tried logging in with another account that's in the USA and the login was successful. So the addon must be incompatible with the european servers of pcloud. Could you see if you could remedy that because I would hate to lose the option to stream videos from kodi. Bear in mind that most new pcloud subscribers choose the EU servers for their accounts.
I use kodi leia with version 1.4.2 and matrix with version 1.5.1 and it doesnt work in either case.
Thank you in advance for your time.
Kind regards

Can't install from zip file

When trying to install from zip on Kodi v19 an error shows up saying "The dependency on xbmc.python version 2.19.0 could not be satisfied."

Support for external subtitles

Hey. Do you think you can add support for external subtitles?
For instance, it could check if there is a srt subtitle with the same file name as the video file in the pcloud folder, and automatically download the srt file and load it with the video, as it already happens when the files are local.

pCloud Streaming Add On Error Check Log Information Message

Good Evening Guido,

Hope all is well as always. I think I sent a message last year this time. Lol; anyway, I just wanted to let you know that it seems like the pCloud add on is broken again. My wife and I continue to use it for the kids and it's a saver! I would like to thank you again and hope that you could get this plugin back up and running. Two thumbs up from my 5 year old.... Lol. Talk soon.

John Smart

Problem to stream movie from pCloud

Hello Guido,

I was very happy to find your pcloud plugin for KODI. I'm using Kodi 17 sideloaded to the Fire TV Stick. I can login to the pcloud just fine and see all the content. But as soon as I want to stream an error message pops up telling me that there is a streaming error. I tried to stream the standard mp4 video from the pcloud video folder or mkvs but it always fails. Do you have an idea what might be wrong?

Thank you for this wonderful plugin.
bye
Udo

External audio support

Thanks gdomenici for your wonderful work on this pcloud add-on,can you add a support for external audio like as external subtitles,In Kodi If we play file locally,if the movie file name and external audio file name is same then Kodi automatically combine and give option to select the external audio too.eg: movie.mkv and movie external audio.mka then Kodi add the external audio to the movie.
Kindly consider the request please.
Thanks.

login not possible

can not log in to pcloud and use the addon.
system: android
log file entry:
18:25:33.251 T:524520780880 ERROR: ERROR: cannot logon to pCloud: Error calling userinfo: Log in failed
18:25:33.285 T:525164774480 ERROR: GetDirectory - Error getting plugin://plugin.video.pcloud-video-streaming/?content_type=video
18:25:33.286 T:525164774480 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.pcloud-video-streaming/?content_type=video) failed

Kodi 17.5 - pCloud 1.2.5 - Unplayable item

Hi
After I've installed pCloud addon from kodi repository (version 1.2.5) on Raspberrry Pi 3 (libreelec with Kodi 17.5) I can't play any file from pCloud (including sample files of pCloud, like pCloud.mp4 or momentum.mp3).

At log viewer I can see:

"ERROR: Playlist player: skipping unplayable item: 0, path
[plugin://plugin.video.pcloud-video-streaming/?mode=file&fileID=4224397089L]
->End of Python script error report <--
ValueError: invalid literal for int() with base 10: '4224397089L'
.....
ValueError: invalid

"

Thanks in advance for your help

Feature Request NOT an Issue

Please it is possible, to the following feature
At the Moment it is not possible to access to the Crypto Folder on pCloud
But it would be great if you can add this feature to the pcloud video addon beacause so I (an other useres) can put privat videos to crypto folder and show this over kodi

Cannot go back to the main directory

Using 1.4.1 with Leia 18.6 and Nolimits. It is not possible to go back to the root directory of pCloud and the only way to bypass this is to uninstall and reinstall and logon again. All of the sudden the system gets you to a directory that has no "Go to Parent" and when you go back you just exit the add-on. If you want me to reproduce it somehow or submit a video let me know

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.