What VideoItem shall I use?

I am making the plugin to watch main russian tv channel for free. Their site has live feed and browsable and searchable archive.

Links to the feeds like this



http://img2.1tv.ru/images/one/video_player.swf?file=http://www.1tv.ru/owa/win/ONE_ONLINE_VIDEOS.news_single_xml%3Fpid=28425



If copy and paste to the address of web browser it will play.

I tried making .strm file

plex://localhost/video/:/webkit?url=http://www.1tv.ru/owa/win/ONE_ONLINE_VIDEOS.news_single_xml%3Fpid=28425


and used all available VideoItems, but **I have no video**.

my Site Configurations file:

<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<site site="http://*.1tv.ru"<br />
	plugin="http://img2.1tv.ru/images/one/video_player.swf"<br />
	identifier="com.plexapp.plugins.1tvru"<br />
	initialState="playing" <br />
	version="1.0"><br />
	<br />
	<crop x="0" y="0" width="620" height="465" /><br />
<br />
	<seekbar type="simple"> <br />
		<start x="150" y="442" /> <br />
		<end x="447" y="442" /> <br />
		<played> <br />
			<color rgb="ffffff" /> <br />
			<color rgb="0057b5" /> <br />
		</played> <br />
	</seekbar> <br />
	<condition name="paused"> <or> <and><br />
	<color x="16" y="366" rgb="8a8a8a" /> <br />
	<color x="24" y="371" rgb="8c8c8c" /> <br />
	<color x="16" y="376" rgb="9a9a9a" /> </and> <and><br />
	<color x="16" y="366" rgb="ffffff" /> <br />
	<color x="24" y="371" rgb="ffffff" /> <br />
	<color x="16" y="376" rgb="ffffff" /> <br />
	<color x="10" y="372" rgb="67b6da" /> </and> </or> <br />
	</condition><br />
<br />
	<state name="playing"> <br />
		<event> <br />
			<condition> <br />
				<command name="pause" /> <br />
			</condition> <br />
			<action> <br />
				<click x="15" y="304" /> <br />
				<goto state="paused" /> <br />
			</action> <br />
		</event><br />
	</state><br />
	<state name="paused"> <br />
		<event> <br />
			<condition> <br />
				<command name="play" /> <br />
			</condition> <br />
			<action> <br />
				<click x="15" y="304" /> <br />
				<goto state="playing" /> <br />
			</action> <br />
		</event> <br />
	</state><br />
</site><br />




Please advise me on this issue.

If you look in the URL www.1tv.ru/owa/win/ONE_ONLINE_VIDEOS.news_single_xml?pid=28425 and view source you’ll see a full mp4 URL, as well as some other metadata. Your plugin needs to extract that URL and then use a VideoItem. If this works then you don’t need a site-config.



Jonny

Thank you Jonny! It woks!

I will share the plug-in when it has search and pagination.

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