accumulator / plugin.video.lbry Goto Github PK
View Code? Open in Web Editor NEWThis is a basic plugin for accessing LBRY content in Kodi/XBMC
License: GNU General Public License v2.0
This is a basic plugin for accessing LBRY content in Kodi/XBMC
License: GNU General Public License v2.0
Thanks for this add-on, very useful!
When using the LBRY app on a phone, one should be able to press "Share" and pick "Play on Kodi", this works with YouTube/Vimeo/etc.
This is just me guessing, but I suppose the app sends the raw LBRY URL to Kodi, which then asks all installed add-ons whether they can handle the destination/protocol, and currently fails because this add-on doesn't implement this interface.
If you'd like help on this, I can research a bit more and send a pull request?
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
Hi,
Thanks for the work so far.
When using search, I get a list of vids to watch as expected. When I watch one and it finishes playing or I stop it, I'm returned to the search input box to enter another search instead of the previous list of search results as I would expect.
I think it worked in a previous version.
Using latest Matrix on FireTV stick 4K and latest Lbry from Kodi repo.
Hi.
is there a way to see the lists of a channel ?
Thanks in advance
"HTTP Error 405: Method Not Allowed" when trying to access latest videos (prior-set channels).
As also experienced by youtube-dl, as of November 17th.
There appears to be a workaround for video extraction in YTDL, but discovery and metadata necessary for this plugin is probably a whole other problem.
Sorry but I'm lost. I want to be able to download videos and also contribute to the lbry network because I don't like leaching bandwidth all the time. My understanding from reading issues in this repo and elsewhere is I have to get lbrynet working by installing it on a PC connected to the same LAN. Is this correct? If so, I downloaded it to my Linux laptop, ran it in the terminal, changed the API server from https://api.na-backend.odysee.com/api/v1/proxy to http://localhost:5279 in the addon but whenever I click on "Followed Channel" it says API error.
Does lbrynet have to be installed on the Raspberry Pi? If so, I transferred the zip to my LibreELEC samba share and extracted it but nothing happens when I click on it.
Any help is appreciate. Thanks.
EDIT: I'm also trying to get help in a different thread. Might be more updated info there.
First, thanks for making this plugin!
The problem I am having is that it does not appear possible to follow a channel. I have found out how to add a channel to favorites, but even though there is a "followed channels" folder, I can not figure out how to add anything to it! Though adding channels as favorites is a work around, it is not ideal.
I am using Kodi 19 on macos.
Apparently this plugin needs an "API Server".
How to install that API Server on a ARM-powered KODI "TV box"?
It would be nice if it would at least give some hints where to get that "API Server" from. Without one, the plugin seems not to be usable.
hello,
when i try to use the addon i get the following error message:
json: cannot unmarshal string into Go struct field RPCrequest.id of type int
this happens on rpi3b+ with libreelec (kodi leila) and khadas vim3 with coreelec (kodi matrix)
any idea what to do?
thanks.
There is another addon in development
kpl-addons/plugin.video.odysee#3
It looks like you are working on the same thing.
Maybe you can colaborate?
I did a fresh install of LibreElec 10.0.1 on an Rpi4 and installed the LBRY plugin. Using the search tool I found a channel and followed it; however, when I went back to 'Followed channels' it was empty. I ssh'ed into the kodi box. It seems that the /.kodi/userdata/addon_data/plugin.video.lbry folder was not created. After manually creating the folder I was able to follow channels properly.
Is this folder supposed to be automatically created when the plugin is installed?
Hi, could you explain how your work correlates with the others?
I don't know why they decided to make their own version, I assume they have a reason they didn't want to use this one.
The exception is in result_to_item_list.
def result_to_itemlist(result, playlist='', channel=''):
items = []
for item in result:
if not 'value_type' in item:
xbmc.log(str(item))
continue
if item['value_type'] == 'stream' and item['value']['stream_type'] == 'video':
# nsfw?
if 'tags' in item['value']:
if 'mature' in item['value']['tags'] and not nsfw:
continue
li = to_video_listitem(item, playlist, channel)
url = plugin.url_for(claim_play, uri=serialize_uri(item))
items.append((url, li))
...
'stream_type' does exist in item['value'] for live stream streams. I fixed the issue locally by changing the line to
if item['value_type'] == 'stream' and 'stream_type' in item['value'] and item['value']['stream_type'] == 'video':
When I click on Select Channel it shows "Loading user chanel list" and then quickly fails with "API error: authentication token missing".
Version 0.2.2+matrix.1
Kodi nexus
it would be nice to include the Greek language so that videos with Greek titles can be played
The current main branch is only compatible with Kodi Matrix. I created a Leia branch and backported all functionality of the main Matrix branch. Kodi Matrix is still in Beta with LibreElec and some devices may not have the necessary stability to be used comfortably (I encountered quite a few issues using an Rpi4).
The branch is located here:
https://github.com/amacchietto/plugin.video.lbry/tree/leia-18.9
Unfortunately, it doesn't seem possible to create a pull request if the branch doesn't exist on the target.
Already posted this on stellartux/plugin.video.lbry#6
LBRY plugin does not work in Kodi Matrix. If I manually up the python version in addon.xml to 3.0.0 it seems to work unil I go into one of my subcribed channels.
I cannot reproduce anything since i downgraded back to Leia. Sorry. Just wanted to let you know.
Just install Matrix and try the plugin to reproduce the error.
Hi @accumulator,
I really enjoy your plugin, but to fit my needs I created a fork with Odysee Integration:
https://github.com/azzy9/plugin.video.lbryplus
I made my own fork since I do not know what path you wish to take your plugin,
but you can use any of my code if you want to include the functionality.
Or if you wish for me to make a PR just let me know.
I was wondering if your code base can be used to modify it for rumble.
There is an addon available for Matrix, but Matrix on RPI3 is unusable. I used Matrix since Milhouse libreelec builds and downgraded back to Leia last week.
The rumble Matrix addon is encrypted.
I found some help pages for the rumble api https://player.rumble.com/developers/Rumble-Player-API.html or https://www.rumbleplayer.com/developers/Rumble-Platform-API.html
Can you take a look inside and tell me if your code can be modified for rumble? Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.