WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.89k stars 972 forks source link

ROKU RSS + Trending... Data blank #7517

Open gbrn opened 1 year ago

gbrn commented 1 year ago

@DanielnetoDotCom After requiring login to VIDEO platform, ROKU RSS stopped working, list is always blank: https://cnetv.com.br/feed/index.php?roku=1 or https://cnetv.com.br/roku.json?catName=independentes Any RSS is inaccessible.

{"providerName":"CNETV","language":"en","lastUpdated":"2022-12-27T23:42:04-03:00","movies":[],"playlists":[{"name":"all","itemIds":[]}],"categories":[{"name":"All","playlistName":"all","order":"most_recent"}]}

Any specific URL I have to use now?

Even the Trending of the site is also empty without login: https://cnetv.com.br/trending image

Any specific configuration I have to do?

I think this is due to the login requirement. How can I solve these two cases without having to release access without login?

DanielnetoDotCom commented 1 year ago

I do not know what you have done but ...

first, try to update your site to the latest version. then clear your log files and try again.

if fails check your logs for errors

gbrn commented 1 year ago

@DanielnetoDotCom Returning to this issue... so I migrated to a new ubuntu server and am running the latest version AVideo 12.4.

I did some tests and the problem is the same. Content is not accessible externally without login:

For example: The following ROKU RSS URL is only accessible once I login. http://168.138.238.116/AVideo/roku.json?catName=independentes

Unauthenticated login: image

Authenticated login: image

Same case for trending: http://168.138.238.116/AVideo/trending

Unauthenticated login: image

Authenticated login: image

DanielnetoDotCom commented 1 year ago

this behavior is exactly how it is expected.

if the video is private it should not appear in the feed

gbrn commented 1 year ago

Dani, I figured this might have already been programmed for that purpose. But you see, business models are clashing right now. The AVideo platform is developed in the "YouTube" type model and in this case you have developed a plugin that gives a "Netflix" type appearance. On youtube there are private videos and public videos. As for the "Netflix" model, the exact same logic does not work... because basically the user does not add videos and the videos are offered according to a subscription or PPV.

The "trending" as well as the ROKU RSS, are means of advertising the content. The user can check the videos that are in "trending", this helps in the user's decision to subscribe or not to subscribe to the platform. Likewise Roku's RSS. Unable to update Roku when all videos are blocked. OK, that there is still no way to manage Roku at this point. But the way it stands totally kills Roku.

My suggestion is to make it possible to display these contents, blocked or not, for those who are not users of the restricted group. Selecting via a "swtich button" within the YouPHPFlix2 plugin.

gbrn commented 1 year ago

@DanielnetoDotCom Do you think of any solution to this problem mentioned? I don't think I'm the only one using the AVIDEO platform this way.

DanielnetoDotCom commented 1 year ago

Currently, there is no solution for this due to a compatibility model.

Customizing it to your business model requires some extra code.

currently, I am not seeing a way. to make it private on the web and playable on Roku only

also, Roku subscriptions/users are not connected to the AVideo platform.

the only real solution I see is for you to build your own Roku app and use the API (NOT the JSON feed)

gbrn commented 1 year ago

@DanielnetoDotCom Updating you on this issue. It still exists. I got around this by manually exporting the JSON from Feed Roku, and hosting it independently....so I have to manually update this each time I create a video.

Can you put this problem on the to-do list? My suggestion is to create permissions by IP... for example, when Roku's servers request the Feed, it would pass without any authentication. If it is possible.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

gbrn commented 1 year ago

@DanielnetoDotCom Returning to this problem I've been facing since December 2022. I noticed that the problem with the Feed not displaying information about videos that require a login... nothing has been done.

Interestingly, I was looking at the SITEMAP.XML and I noticed that the Site Map, which is something similar to the Feed... this one has the information of all enabled videos and that still require a login. https://cnetv.com.br/sitemap.xml

Can you explain me that? Why does the Site Map access the full list of videos and the Feed does not?

It's very clear that this is a programming issue. What is the prediction for you to fix this problem?