XF2 [8WR] XenRio 2 (Streams) PRO

XF2 [8WR] XenRio 2 (Streams) PRO [Paid] 2.3.0.4

No permission to buy ($40.00)
@Jaxel

Approval queue has issues. Queue message in moderator panel just says...


Stream channel:

https://youtube.com/watch?v=


it doesn't link to the actual channel submitted by the user.

Error in admin cp...

  • XF\PrintableException: Job XF\Job\ApprovalQueueProcess: An error occurred while connecting with YouTube. Please try again later.
  • src/addons/EWR/Rio/Api/YouTube.php:74
  • Generated by: Unknown account
  • Jan 17, 2026 at 8:27 PM

Stack trace​

#0 [internal function]: EWR\Rio\Api\YouTube::dumpChannel(Object(EWR\Rio\Entity\Service), Array, false)
#1 src/addons/EWR/Rio/Repository/Channel.php(93): call_user_func_array(Array, Array)
#2 src/addons/EWR/Rio/ApprovalQueue/Queue.php(23): EWR\Rio\Repository\Channel->scrapeChannel('https://youtube...', 9)
#3 src/XF/ApprovalQueue/AbstractHandler.php(201): EWR\Rio\ApprovalQueue\Queue->actionApprove(Object(EWR\Rio\Entity\Queue))
#4 src/XF/Job/ApprovalQueueProcess.php(71): XF\ApprovalQueue\AbstractHandler->performAction('approve', Object(EWR\Rio\Entity\Queue))
#5 src/XF.php(906): XF\Job\ApprovalQueueProcess->XF\Job\{closure}()
#6 src/XF/Job/ApprovalQueueProcess.php(57): XF::asVisitor(Object(Andrew\ModeratorPanel\XF\Entity\User), Object(Closure))
#7 src/XF/Job/Manager.php(275): XF\Job\ApprovalQueueProcess->run(8)
#8 src/XF/Job/Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
#9 src/XF/Job/Manager.php(121): XF\Job\Manager->runJobEntry(Array, 8)
#10 job.php(25): XF\Job\Manager->runByIds(Array, 8)
#11 {main}

Request state​

array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(38) "https://website.com/approval-queue/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}



8WAY.webp
 
Last edited:
Hey all, can anyone help please?

Ive added youtube and have that working with no issues

My problem is with twitch, added the api keys and added channels, it shows the channels available and chat which is working, but i get no video stream, i can click the twitch link and go to twitch and watch with no issue

thanks in advance if anyone knows the issue

>>> Found the issue to be brave browser and related to twitch block the browser as it blocks adverts
 
Last edited:
Hey @Jaxel I modified YouTube.php for my personal use to add game-specific stream matching for YouTube. Since YouTube deprecated their Freebase topic IDs, there's no way to match streams to specific games like Twitch and Kick can. The spelling field only accepts broad categories like "Gaming" which doesn't help when you want separate categories for different games.

My modification adds a "t:" prefix for the YouTube spelling field with the format t:SearchQuery|keyword1,keyword2,keyword3. The search query before the pipe is what gets sent to the YouTube API, and the keywords after it are used to verify and distribute results to the correct game. For example:

  • FF7: t:Final Fantasy|Final Fantasy VII,FF7,FFVII
  • FF8: t:Final Fantasy|Final Fantasy VIII,FF8,FFVIII
  • FF8R: t:Final Fantasy|Final Fantasy VIII Remastered,FF8 Remastered,FFVIII Remastered
  • FF9: t:Final Fantasy|Final Fantasy IX,FF9,FFIX
  • FFX: t:Final Fantasy|FFX,FF10,Final Fantasy X ,Final Fantasy X/X-2,Final Fantasy 10,Final Fantasy X HD

The key feature is that all games sharing the same search query use ONE YouTube API call. So all your Final Fantasy games only hit the API once, and the results get distributed to the correct game based on keyword matching against the stream title and description. This keeps API usage low.

It also includes a 1-hour cache using XenForo's simpleCache to stay within YouTube's free API quota (10,000 units/day). With this approach you can have multiple franchise groups (Final Fantasy, Resident Evil, etc.) each only costing one API call per hour.

Additionally, manually added YouTube channels now get categorized into the correct game using the same keyword matching, so a channel streaming Tomb Raider won't incorrectly appear under Final Fantasy VII.

Everything is backward compatible, no database changes, and the original category-based matching still works. If you're interested I can share the modified file. Happy to contribute it if it's useful for a future update.

1773194441868.webp
1773196992256.webp
 
Last edited:
Back
Top Bottom