WWBN / AVideo

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

ROKU Feed #5744

Closed gbrn closed 2 years ago

gbrn commented 3 years ago

Dear,

I'm studying building an application for the ROKU system. I verified that AVIDEO has FEED compatibility for the ROKU system. But inserting the link, ROKU has an error, not detecting JSON and only detecting MRSS. Have you guys checked this problem? Do you know what could be happening? Below is screenshot.

Screenshots image

gbrn commented 3 years ago

After processing the link in the ROKU system, this invalid format error is displayed:

"The feed format is invalid. We are unable to parse it.: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 20; The processing instruction target matching "[xX][mM][lL]" is not allowed."

image

DanielnetoDotCom commented 3 years ago

Hi

for this http://www.cnetv.com.br/feed/ I have no idea why you have an error on the first row

but for Roku you should use this URL http://www.cnetv.com.br/roku.json

gbrn commented 3 years ago

Thanks Daniel,

It's working now.

I was just trying the directory: /feed/ /feed/roku.json

I didn't find instructions.

gbrn commented 3 years ago

Daniel,

In my tests of Feed for Roku. I verified that the new updates are not in the Feed. Added a new file and it wasn't listed on Roku. I checked the URL and the new post isn't really there: http://www.cnetv.com.br/roku.json

Another detail, when I access Roku's administrative, displays the following error message: "O servidor retornou um código de status não 200 - (301)."

image

DanielnetoDotCom commented 3 years ago

I do not know why you are redirecting http://www.cnetv.com.br/roku.json to https://cnetv.com.br/feed/index.php?roku=1

you can try 2 things...

  1. use the link https://cnetv.com.br/feed/index.php?roku=1 instead.
  2. fix your htaccess / modrewrite so it will properly use the links and not redirect
gbrn commented 3 years ago

So, I didn't do any redirection is the platform's original configuration. I am using "http://www.cnetv.com.br/roku.json" because it was your instruction. I changed the configuration on Roku's website and it looks like it was accepted.

I know how to change the htaccess, but I don't know which line is the right one, could you tell me?

gbrn commented 3 years ago

Hi Daniel,

As previously reported, I still see problems updating the feed. After uploading a new file the ROKU Feed is not updated. Do I need any additional commands to update the Feed?

The settings in ROKU are all correct and working perfectly: image

DanielnetoDotCom commented 3 years ago

try to clear the cache and run it again.

the feed is probably cached

gbrn commented 3 years ago

Hi Daniel, I verified that the cache has automatically updated.

DanielnetoDotCom commented 3 years ago

I am not sure, is it working or not?

is it only not updating on roku?

gbrn commented 3 years ago

Hi Daniel,

I still don't understand how the Feed update works. It seems to me that there is some scheduling routine that updates after some time, is that right? The feed on Roku is working, but it takes a while to update, something like 24 hours later.

stale[bot] commented 2 years 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 2 years ago

Hi Daniel, I verified that the inactive videos are still showing on the ROKU list. How can this be resolved?

DanielnetoDotCom commented 2 years ago

I just double check and it does not suppose to show inactive videos. but the Roku mrss uses a cache. so if you inactivate it after the cache was generated, you may need to clear the cache to generate a new json.

on the Roku side, the feed is not online and is not requested on every app opened. they update the feed after some time

gbrn commented 2 years ago

I did a test, I inactivated a video and after 24 hours, the video was still available for viewing. Without me cleaning the cache.

In addition to this issue of the cache taking a long time to update, there is the issue of the video being fully available to view even if it is not activated.

DanielnetoDotCom commented 2 years ago

check this on your site ...

inactivate a video, clear the cache and check your roku.json URL Check if the video you have inactivated is still there. if it is not on roku.json and still on Roku TV, the problem is on Roku and there is nothing we can do.

For example, the demo roku.json is this https://demo.avideo.com/roku.json