How to stream tikilive.com through Plex?

How can I stream video from tikilive.com using .strm file(s) in Plex?



Based on what I’ve read on the xbmc forms (which I’m assuming would also work on Plex) is to put the url in an empty file with a .strm extention. XBMC/Plex would then display this stream.



Specifically I’m looking at getting this work:



FNC:



http://tikilive.com/public/flash/Viewer.swf?showId=20219



Thanks.

Anyone?



Thanks.




Here’s another approach I attempted:



I created a tikilive.xml file and placed it in ~/Library/Application Support/Plex Media Server/Site Configurations.



<?xml version="1.0" encoding="UTF-8"?><br />
<site site="http://tikilive.com"<br />
			plugin="http://tikilive.com/public/flash/Viewer.swf?showId=20219"<br />
						initialState="playing"<br />
						version="1.0"><br />
<br />
		<crop x="0" y="0" width="527" height="395" /><br />
<br />
		<seekbar type="simple"><br />
				<start x="1" y="422" /><br />
				<end   x="559" y="421" /><br />
				<played><br />
								<color rgb="a7d347" /><br />
				</played><br />
		</seekbar><br />
<br />
		<!-- PLAYING --><br />
		<state name="playing"><br />
		</state><br />
<br />
</site>



Then I created a file called fnc.strm and placed it in my home directory:

plex://localhost/video/:/webkit?url=http://tikilive.com/public/flash/Viewer.swf?showId=20219&advertisment=0&pwidth=527&pheight=395&fullscreen=1




I've then added my home directory as a video source. Selecting the strm file doesn't do anything other than log the following:

22:31:53 T:2685855520 M:1888788480   ERROR: Server returned: 400 Bad Request<br />
22:31:53 T:2685855520 M:1888788480   ERROR: Playlist Player: skipping unplayable item: 0, path [plex://localhost/video/:/webkit?url=http://tikilive.com/public/flash/Viewer.swf?showId=20219&advertisment=0&pwidth=527&pheight=395&fullscreen=1]




How can troubleshoot the http 400 error (Bad Request)? is there a way to bump up the logging level in Plex?

Thanks.

Anyone know how to do this? I really really want to watch live cable news, and that is really the only thing cutting me back from cutting cable. How difficult would it be to make a plug in?



This can certainly be done.

try changing the site configuration to have these attributes and maybe that will help:

site="http://tikilive.com/.*"
plugin="http://tikilive.com/public/flash/Viewer.swf.*"

Havn't tried it myself.


I just tried this out and it "worked" (but the video isn't cropped quite right, play pause needs to be implemented etc)

.strm file

plex://localhost/video/:/webkit?url=http://tikilive.com/public/flash/Viewer.swf%3FshowId%3D2021



tikilive.xml site configuration

<?xml version="1.0" encoding="UTF-8"?><br />
<site site="http://tikilive.com.*"<br />
			plugin="http://tikilive.com/public/flash/Viewer.swf"<br />
						initialState="playing"<br />
						version="1.0"><br />
<br />
		<crop x="0" y="0" width="527" height="395" /><br />
<br />
		<seekbar type="simple"><br />
				<start x="1" y="422" /><br />
				<end   x="559" y="421" /><br />
				<played><br />
								<color rgb="a7d347" /><br />
				</played><br />
		</seekbar><br />
<br />
		<!-- PLAYING --><br />
		<state name="playing"><br />
		</state><br />
<br />
</site>

and note that these crop values seem nicer



I’m sorry for being such a noob, but how to I “compile” this code to make a plugin? Sorry, I’ve only used Plex for a few weeks, and I don’t mean to sound stupid.

Got it to work!!! Thanks a lot David B.



The issues I had were:


  1. Wrong placement of the .xml file (should be in /Users//Library/Application Support/Plex Media Server/Site Configurations)
  2. I didn’t include the escape sequences for ? and = in the strm file.



    So here’s what worked for me:


  3. At the command prompt enter the following:

# cd "/Users/<YOUR USER ID>/Library/Application Support/Plex Media Server/Site Configurations"



2. Create a file (I used vi) called tikilive.xml with the following content

<?xml version="1.0" encoding="UTF-8"?><br />
<site site="http://tikilive.com.*"<br />
			plugin="http://tikilive.com/public/flash/Viewer.swf"<br />
						initialState="playing"<br />
						version="1.0"><br />
<br />
		<crop x="5" y="30" width="440" height="323" /><br />
<br />
		<seekbar type="simple"><br />
				<start x="1" y="422" /><br />
				<end   x="559" y="421" /><br />
				<played><br />
								<color rgb="a7d347" /><br />
				</played><br />
		</seekbar><br />
<br />
		<!-- PLAYING --><br />
		<state name="playing"><br />
		</state><br />
<br />
</site>



NOTE: I don't see any value in adding support for play, pause, fwd, rwd buttons as they are of little use in a streaming environment -- it's live tv after all.. Feel free to add support for it if you need it.

3. In a directory accessible through the Videos menu in Plex (you can always add a source) create a file called FoxNewsChannel.strm) with the following contents (Daivd's B code was missing a 9 at the end of the URL):


plex://localhost/video/:/webkit?url=http://tikilive.com/public/flash/Viewer.swf%3FshowId%3D20219




Thats all. Locate the FoxNewsChannel.strm file in your videos and hello O'Reilly :)

David B, thanks once again. This has been a learning experience for me.. And a spring board to stream other stuff that tikilive has.







@deeepdish



I’m sorry, but how do you do this with all the code you wrote? :unsure:



It's implied that some command line (UNIX) knowledge is needed. You're simply placing the files in the specified locations (create and put the XML file in the location where I specified -- substitute your username as appropriate). Put the strm file(s) in a location that defined (or define one) under Videos in plex. Recommend you brush up on some basic *nix commands/concepts first. Linux is a good start (99% translates to OS X) - google = your friend. Sorry, I can't be of more help.

Here's a few more streams that are possible:

FoxNewsChannel.strm:

plex://localhost/video/:/webkit?url=http://tikilive.com/public/flash/Viewer.swf%3FshowId%3D20219



FoxBusinessChannel.strm:

plex://localhost/video/:/webkit?url=http://tikilive.com/public/flash/Viewer.swf%3FshowId%3D20220



CNN.strm:

plex://localhost/video/:/webkit?url=http://tikilive.com/public/flash/Viewer.swf%3FshowId%3D20221




The above assumes you have the required tikilive.xml Site config in place.

Enjoy....

@deeepdish



I believe I created the tikilive.xml, but how do I create a .strm file?

Anyone? Pretty please?

I got it to work, but it is not the same quality as the one on their site. For example, if you click full screen on tikilive.com, you see the tikilive icon in the top left get smaller. I also took a screenshot of that. Then in Plex, I saw the tikilive icon was huge, and very pixelated. I then took a screenshot and compared the 2. You can easily tell the differences. I attached both.


http://s3.amazonaws.com/ember/NLZYtFRB5f6oWf2CkK7n1pSAs37HihxK_l.png



http://s3.amazonaws.com/ember/pgv8cNGj0UOdg6aBlhVgEKXseYOM9WJE_l.png

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.