accumulator / plugin.video.lbry

This is a basic plugin for accessing LBRY content in Kodi/XBMC
GNU General Public License v2.0
26 stars 6 forks source link

API connection failed (https://api.lbry.tv/api/v1/proxy) #6

Closed QNET17 closed 2 years ago

QNET17 commented 3 years ago

2021-03-07 17:31:42.833 T:32446 ERROR: GetDirectory - Error getting plugin://plugin.video.lbry/new/1 2021-03-07 17:31:42.840 T:5726 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.lbry/new/1) failed 2021-03-07 17:31:51.580 T:32486 ERROR: GetDirectory - Error getting plugin://plugin.video.lbry/new/1 2021-03-07 17:31:51.598 T:5726 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.lbry/new/1) failed 2021-03-07 17:32:06.339 T:32560 ERROR: GetDirectory - Error getting plugin://plugin.video.lbry/new/1 2021-03-07 17:32:06.354 T:5726 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.lbry/new/1) failed 2021-03-07 17:34:24.560 T:5737 NOTICE: Trying to open: samplerate: 44100, channelMask: 12, encoding: 4 2021-03-07 17:34:24.566 T:5737 NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 49248 m_frames: 3078 m_frameSize: 8 channels: 2 2021-03-07 17:34:24.772 T:840 ERROR: GetDirectory - Error getting plugin://plugin.video.lbry/new/1 2021-03-07 17:34:24.778 T:5726 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.lbry/new/1) failed 2021-03-07 17:35:57.876 T:5726 NOTICE: CWinSystemAndroid::DestroyWindow 1

accumulator commented 3 years ago

Yes I was afraid this would happen. The public (?) API server at api.lbry.tv might not be always available.

The most reliable way is to run your own API server locally, and then use http://localhost:5279 as the API server URL in the kodi plugin..

QNET17 commented 3 years ago

I am not a developer, how can I do this? The error is currently reappearing, which is bad.

2021-05-02 13:24:32.795 T:32280 INFO <general>: initializing python engine. 2021-05-02 13:24:33.565 T:32280 INFO <general>: CPythonInvoker(4, /storage/emulated/0/Android/data/org.xbmc.kodk/files/.kodi/addons/plugin.video.lbry/lbry.py): script successfully run 2021-05-02 13:24:33.615 T:32280 INFO <general>: Python interpreter stopped 2021-05-02 13:24:34.507 T:32294 INFO <general>: initializing python engine. 2021-05-02 13:24:35.716 T:24012 INFO <general>: CActiveAESink::OpenSink - initialize sink 2021-05-02 13:24:35.717 T:32294 INFO <general>: CPythonInvoker(5, /storage/emulated/0/Android/data/org.xbmc.kodk/files/.kodi/addons/plugin.video.lbry/lbry.py): script successfully run 2021-05-02 13:24:35.717 T:24012 INFO <general>: Trying to open: samplerate: 44100, channelMask: 12, encoding: 4 2021-05-02 13:24:35.720 T:24012 INFO <general>: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 73872 m_frames: 2308 m_frameSize: 8 channels: 2 2021-05-02 13:24:35.807 T:32294 INFO <general>: Python interpreter stopped 2021-05-02 13:24:35.812 T:32293 ERROR <general>: GetDirectory - Error getting plugin://plugin.video.lbry/playlist/list/Watch+Later 2021-05-02 13:24:35.820 T:23979 ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.lbry/playlist/list/Watch+Later) failed 2021-05-02 13:24:35.827 T:32300 INFO <general>: initializing python engine. 2021-05-02 13:24:36.624 T:32300 INFO <general>: CPythonInvoker(6, /storage/emulated/0/Android/data/org.xbmc.kodk/files/.kodi/addons/plugin.video.lbry/lbry.py): script successfully run 2021-05-02 13:24:36.688 T:32300 INFO <general>: Python interpreter stopped 2021-05-02 13:24:36.955 T:32311 INFO <general>: initializing python engine. 2021-05-02 13:24:37.926 T:32311 INFO <general>: CPythonInvoker(7, /storage/emulated/0/Android/data/org.xbmc.kodk/files/.kodi/addons/plugin.video.lbry/lbry.py): script successfully run 2021-05-02 13:24:37.987 T:32311 INFO <general>: Python interpreter stopped 2021-05-02 13:24:38.001 T:32310 ERROR <general>: GetDirectory - Error getting plugin://plugin.video.lbry/follows 2021-05-02 13:24:38.017 T:23979 ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.lbry/follows) failed 2021-05-02 13:24:38.025 T:32316 INFO <general>: initializing python engine. 2021-05-02 13:24:38.709 T:32316 INFO <general>: CPythonInvoker(8, /storage/emulated/0/Android/data/org.xbmc.kodk/files/.kodi/addons/plugin.video.lbry/lbry.py): script successfully run 2021-05-02 13:24:38.771 T:32316 INFO <general>: Python interpreter stopped 2021-05-02 13:24:41.215 T:23979 INFO <general>: CWinSystemAndroid::DestroyWindow

accumulator commented 3 years ago

Don't be discouraged by the term 'SDK', you can run the API server without needing to be a developer. Just follow the instructions in the link I posted above to install lbry-sdk and run lbrynet on the system running kodi.

QNET17 commented 3 years ago

Hello,

unfortunately this doesn't do anything for me, because if I created a custom build and share it with the family, they still can't access lbry.tv.

accumulator commented 2 years ago

Closed this for now. If you feel this is still an issue the plugin should solve, please re-open