Code Monkey home page Code Monkey logo

plugin.video.lbry's People

Contributors

accumulator avatar amacchietto avatar probonopd avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin.video.lbry's Issues

Queueing/playing via the Kodi Android app doesn't work

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?

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

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

Search function weirdness

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.

Channel lists

Hi.
is there a way to see the lists of a channel ?
Thanks in advance

API Error 405

"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.

ytdl-org/youtube-dl#31362

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.

How to get the API server working for LibreELEC on Raspbery Pi?

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.

Not possible to follow a channel

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.

Document how to get the API Server to work

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.

API error: json: cannot unmarshal string ...

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.

~/.kodi/userdata/addon_data/plugin.video.lbry does not exist.

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?

Attempting to open a channel with a live stream will throw an exception

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':                    

API error: authentication token missing

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

Backported Leia branch for users that are not able to comfortably switch to Matrix

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.

Kodi Matrix

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.

Question: Fork of your code for Rumble possible?

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!

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.