XF2 [8WR] XenRio 2 (Streams) PRO

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

No permission to buy ($40.00)
Change the chat HTML to this:
Code:
<iframe width="100%" height="100%" scrolling="no" frameborder="0" src="//www.twitch.tv/{serviceVAL1}/chat?{theme}popout="></iframe>
If that doesnt work... then Twitch doesn't support forcing themes on their chat.
 
Change the chat HTML to this:
Code:
<iframe width="100%" height="100%" scrolling="no" frameborder="0" src="//www.twitch.tv/{serviceVAL1}/chat?{theme}popout="></iframe>
If that doesnt work... then Twitch doesn't support forcing themes on their chat.

Worked! Thanks!
 
Hello!

I keep getting these errors in my log:


Code:
ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/EWR/Rio/Pub/Controller/Stream.php:238
Generated by: Unknown account Feb 4, 2018 at 10:38 PM
Stack trace
#0 src/addons/EWR/Rio/Pub/Controller/Stream.php(238): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/empire/pu...', 238, Array)
#1 src/addons/EWR/Rio/Pub/Controller/Stream.php(21): EWR\Rio\Pub\Controller\Stream->actionStream(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(249): EWR\Rio\Pub\Controller\Stream->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Rio:Stream', 'Index', 'html', Object(XF\Mvc\ParameterBag), 'EWRrio', Object(EWR\Rio\Pub\Controller\Stream), NULL)
#4 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#6 src/XF.php(328): XF\App->run()
#7 index.php(13): XF::runApp('XF\\Pub\\App')
#8 {main}

Request state

array(4) {
  ["url"] => string(45) "/streams/10.ul1barri.38301436/streams/search/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}



As well as




Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [stream_value1] src/XF/Mvc/Entity/Entity.php:685
Generated by: Unknown account Feb 4, 2018 at 10:38 PM
Stack trace

#0 src/XF/Mvc/Entity/Entity.php(572): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'stream_value1', 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(671): XF\Mvc\Entity\Entity->set('stream_value1', NULL, Array)
#2 src/addons/EWR/Rio/Pub/Controller/Stream.php(221): XF\Mvc\Entity\Entity->bulkSet(Array)
#3 src/XF/Mvc/Dispatcher.php(249): EWR\Rio\Pub\Controller\Stream->actionStream(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Rio:Stream', 'Stream', 'html', Object(XF\Mvc\ParameterBag), 'EWRrio', Object(EWR\Rio\Pub\Controller\Stream), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}

-------------

Previous InvalidArgumentException: Attempted to convert NULL to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:104
#0 src/XF/Mvc/Entity/Entity.php(681): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(572): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'stream_value1', 5, Array)
#2 src/XF/Mvc/Entity/Entity.php(671): XF\Mvc\Entity\Entity->set('stream_value1', NULL, Array)
#3 src/addons/EWR/Rio/Pub/Controller/Stream.php(221): XF\Mvc\Entity\Entity->bulkSet(Array)
#4 src/XF/Mvc/Dispatcher.php(249): EWR\Rio\Pub\Controller\Stream->actionStream(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Rio:Stream', 'Stream', 'html', Object(XF\Mvc\ParameterBag), 'EWRrio', Object(EWR\Rio\Pub\Controller\Stream), NULL)
#6 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#8 src/XF.php(328): XF\App->run()
#9 index.php(13): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(46) "/streams/10.faker.43691/stream?uncategorized=1"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["uncategorized"] => string(1) "1"
  }
  ["_POST"] => array(0) {
  }
}




From what it looks like, its due to xenrio., but as to why, i have no idea. But my log is filling with it.
 
Hello!

I keep getting these errors in my log:


Code:
ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/EWR/Rio/Pub/Controller/Stream.php:238
Generated by: Unknown account Feb 4, 2018 at 10:38 PM
Stack trace
#0 src/addons/EWR/Rio/Pub/Controller/Stream.php(238): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/empire/pu...', 238, Array)
#1 src/addons/EWR/Rio/Pub/Controller/Stream.php(21): EWR\Rio\Pub\Controller\Stream->actionStream(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(249): EWR\Rio\Pub\Controller\Stream->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Rio:Stream', 'Index', 'html', Object(XF\Mvc\ParameterBag), 'EWRrio', Object(EWR\Rio\Pub\Controller\Stream), NULL)
#4 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#6 src/XF.php(328): XF\App->run()
#7 index.php(13): XF::runApp('XF\\Pub\\App')
#8 {main}

Request state

array(4) {
  ["url"] => string(45) "/streams/10.ul1barri.38301436/streams/search/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}



As well as




Code:
InvalidArgumentException: Attempted to convert NULL to string/binary [stream_value1] src/XF/Mvc/Entity/Entity.php:685
Generated by: Unknown account Feb 4, 2018 at 10:38 PM
Stack trace

#0 src/XF/Mvc/Entity/Entity.php(572): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'stream_value1', 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(671): XF\Mvc\Entity\Entity->set('stream_value1', NULL, Array)
#2 src/addons/EWR/Rio/Pub/Controller/Stream.php(221): XF\Mvc\Entity\Entity->bulkSet(Array)
#3 src/XF/Mvc/Dispatcher.php(249): EWR\Rio\Pub\Controller\Stream->actionStream(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Rio:Stream', 'Stream', 'html', Object(XF\Mvc\ParameterBag), 'EWRrio', Object(EWR\Rio\Pub\Controller\Stream), NULL)
#5 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}

-------------

Previous InvalidArgumentException: Attempted to convert NULL to string/binary - src/XF/Mvc/Entity/ValueFormatter.php:104
#0 src/XF/Mvc/Entity/Entity.php(681): XF\Mvc\Entity\ValueFormatter->castValueToType(NULL, 5, Array)
#1 src/XF/Mvc/Entity/Entity.php(572): XF\Mvc\Entity\Entity->_castValueToType(NULL, 'stream_value1', 5, Array)
#2 src/XF/Mvc/Entity/Entity.php(671): XF\Mvc\Entity\Entity->set('stream_value1', NULL, Array)
#3 src/addons/EWR/Rio/Pub/Controller/Stream.php(221): XF\Mvc\Entity\Entity->bulkSet(Array)
#4 src/XF/Mvc/Dispatcher.php(249): EWR\Rio\Pub\Controller\Stream->actionStream(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Rio:Stream', 'Stream', 'html', Object(XF\Mvc\ParameterBag), 'EWRrio', Object(EWR\Rio\Pub\Controller\Stream), NULL)
#6 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#8 src/XF.php(328): XF\App->run()
#9 index.php(13): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(46) "/streams/10.faker.43691/stream?uncategorized=1"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["uncategorized"] => string(1) "1"
  }
  ["_POST"] => array(0) {
  }
}




From what it looks like, its due to xenrio., but as to why, i have no idea. But my log is filling with it.
Its because people are still trying to access streams from the old URL structure from XF1...

Put this in your htaccess:
Code:
    RedirectMatch 301 ^/streams/([\d]+)\.([\w-]+)\.([\w-]+)/ https://url-to-your-forums/streams/$1/$2/$3/
 
@Jaxel Seems i'm still getting the following


Code:
ErrorException: [E_NOTICE] Trying to get property of non-object src/addons/EWR/Rio/Pub/Controller/Stream.php:238
Generated by: Unknown account Feb 5, 2018 at 12:08 AM
Stack trace
#0 src/addons/EWR/Rio/Pub/Controller/Stream.php(238): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/empire/pu...', 238, Array)
#1 src/addons/EWR/Rio/Pub/Controller/Stream.php(21): EWR\Rio\Pub\Controller\Stream->actionStream(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(249): EWR\Rio\Pub\Controller\Stream->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Rio:Stream', 'Index', 'html', Object(XF\Mvc\ParameterBag), 'EWRrio', Object(EWR\Rio\Pub\Controller\Stream), NULL)
#4 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(1880): XF\Mvc\Dispatcher->run()
#6 src/XF.php(328): XF\App->run()
#7 index.php(13): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
  ["url"] => string(29) "/streams/10/sutanmi/37323664/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
I'll put in a check in a future version for when people try to access stream services which dont exist (10 in this case)... but for now, its an inconsequential and irrelevant error.
 
I only use Twitch for now but I had been getting some errors

I did add to my .htaccess:
Code:
  RedirectMatch 301 ^/streams/([\d]+)\.([\w-]+)\.([\w-]+)/ https://www.cozworld.com/streams/$1/$2/$3/

Getting another error now

rio_streams.webp
Code:
Server error log
ErrorException: [E_NOTICE] Trying to get property of non-object src\addons\EWR\Rio\Pub\Controller\Stream.php:238
Generated by: Unknown account Feb 5, 2018 at 11:03 AM
Stack trace
#0 src\addons\EWR\Rio\Pub\Controller\Stream.php(238): XF::handlePhpError(8, '[E_NOTICE] Tryi...', 'C:\\xampp\\htdocs...', 238, Array)
#1 src\addons\EWR\Rio\Pub\Controller\Stream.php(21): EWR\Rio\Pub\Controller\Stream->actionStream(Object(XF\Mvc\ParameterBag))
#2 src\XF\Mvc\Dispatcher.php(249): EWR\Rio\Pub\Controller\Stream->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src\XF\Mvc\Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Rio:Stream', 'Index', 'html', Object(XF\Mvc\ParameterBag), 'EWRrio', Object(EWR\Rio\Pub\Controller\Stream), NULL)
#4 src\XF\Mvc\Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src\XF\App.php(1889): XF\Mvc\Dispatcher->run()
#6 src\XF.php(328): XF\App->run()
#7 index.php(13): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
  ["url"] => string(27) "/streams/8/as2pik/80857446/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
I only use Twitch for now but I had been getting some errors

I did add to my .htaccess:
Code:
  RedirectMatch 301 ^/streams/([\d]+)\.([\w-]+)\.([\w-]+)/ https://www.cozworld.com/streams/$1/$2/$3/

Getting another error now

View attachment 168212
Code:
Server error log
ErrorException: [E_NOTICE] Trying to get property of non-object src\addons\EWR\Rio\Pub\Controller\Stream.php:238
Generated by: Unknown account Feb 5, 2018 at 11:03 AM
Stack trace
#0 src\addons\EWR\Rio\Pub\Controller\Stream.php(238): XF::handlePhpError(8, '[E_NOTICE] Tryi...', 'C:\\xampp\\htdocs...', 238, Array)
#1 src\addons\EWR\Rio\Pub\Controller\Stream.php(21): EWR\Rio\Pub\Controller\Stream->actionStream(Object(XF\Mvc\ParameterBag))
#2 src\XF\Mvc\Dispatcher.php(249): EWR\Rio\Pub\Controller\Stream->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src\XF\Mvc\Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('EWR\\Rio:Stream', 'Index', 'html', Object(XF\Mvc\ParameterBag), 'EWRrio', Object(EWR\Rio\Pub\Controller\Stream), NULL)
#4 src\XF\Mvc\Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src\XF\App.php(1889): XF\Mvc\Dispatcher->run()
#6 src\XF.php(328): XF\App->run()
#7 index.php(13): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
  ["url"] => string(27) "/streams/8/as2pik/80857446/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}



Yes same for me, This is 51 pages now over a less then 24 hour period. We need a fix @Jaxel please
 
Can't add Youtube streams.

Youtube provides a watch link, such as this:
To view this content we will need your consent to set third party cookies.
For more detailed information, see our cookies page.
(it is LIVE now)
However the code snippet in Xenrio expects a http://gaming.youtube.com/channel/{serviceVAL1}/live link. Thus it can't find anything.
 
Last edited:
Link works fine for me. You didn't set up your youtube API information?

Yes. I can add the streams, but nothing shows up (an error occurred). No chat, no video, even though it is live on the gaming.youtube site.

- API key set.
- Youtube Data API v3 enabled in google dev console.
What else?
 
Yes. I can add the streams, but nothing shows up (an error occurred). No chat, no video, even though it is live on the gaming.youtube site.

- API key set.
- Youtube Data API v3 enabled in google dev console.
What else?

I posted about this the other day. Apparently it’s normal. Have to wait till it scrapes.
 
Yes. I can add the streams, but nothing shows up (an error occurred). No chat, no video, even though it is live on the gaming.youtube site.

- API key set.
- Youtube Data API v3 enabled in google dev console.
What else?
That is by design. YouTube does not have universal channel embed codes. So unless a stream is detected as live, there will be errors in the embed code... because we don't know the parameters of the current live stream's video... because as I said, YouTube does not have universal embed codes.

So until a channel is actually live, and the live video is available through the YouTube API... you won't be able to view a YouTube stream.
 
Top Bottom