Hey all, I was wondering if someone could offer me a few pointers on how to get a sop cast player specifically sopcast-player (http://code.google.com/p/sopcast-player/) working as an external player for the sports devil plugin, running on ubuntu 11.04, I am at a loss at the moment.
Thanks for any help in this matter.
Set up sopcast player as an external player for plugin
Hudson_Hawk04
Posting Freak Joined: Oct 2006 Reputation: 3 |
2011-07-16 18:20
Post: #1
I feel sorry for people who don't drink. When they wake up in the morning, that's as good as they're going to feel all day.
Frank Sinatra If I managed to help you in any way, please add to my reputation . |
| find quote |
deckoff
Member Joined: Apr 2011 Reputation: 0 Location: Sofia, BG |
2012-01-31 20:12
Post: #2
I am trying to do the same. Did anyone find a solution for this?
(This post was last modified: 2012-02-02 14:38 by deckoff.)
|
| find quote |
deckoff
Member Joined: Apr 2011 Reputation: 0 Location: Sofia, BG |
2012-02-02 14:48
Post: #3
How to use sopcast and vlc for external player in XBMC with Sportsdevil
VLC has to be installed!!! Intsall command-line sopcast, follow this link http://www.sopcast.org/download/ Add libstdcpp5 if needed. Download the command-line file from official site and copy it to /usr/bin. Create a new text file, and copy the following to it. Be sure to mark the file as executable. Copy the file to /usr/bin. the name should be sopcast (case-sensitive) Code: #!/bin/sh This sh file is slightly modified version of sopcast.sh, found here In your ~/xbmc/userdata one should modify the playercorefactory.xml, or create a new one, with this contend added Code: <playercorefactory>restart XBMC. This works for me on Xubuntu 11.04 and Xbmc 10.1 stable A few notes: Please wait for the stream to start. If the strwam fails, vlc window will show for a fraction of a second. Wait for this to happen before trying with a new stream. The stream will be re-directed to VLC, so the controls of VLC should be used PS - The sopcast script was edited, so more that one stream is possible at the time. Best thing about it is that if sopcast strwam hangs and is not auto killed, this will not stop new streams for opening in VLC. In two words: use this !
(This post was last modified: 2012-02-20 22:52 by deckoff.)
|
| find quote |
orduek
Junior Member Posts: 48 Joined: Dec 2008 Reputation: 0 |
2012-02-14 22:01
Post: #4
Thank you very much for this.
I do have one question-- Is it possible to use it as an embedded player. Now it opens VLC which I have no remote control over it (so I have to get up and use the mouse etc.) |
| find quote |
deckoff
Member Joined: Apr 2011 Reputation: 0 Location: Sofia, BG |
2012-02-19 22:51
Post: #5
orduek Wrote:Thank you very much for this. I provided only the how-to. The author of the plug-in states that sopcast must be configured with an external player, so I assume the answer is no. BTW, I think the best remote for XBMC is a small usb no-cable keyboard, I got one (with a mouse included for under 20$, which is a reasonable price) think about it. ![]() Glad I helped in a way and you got it working, thoug
|
| find quote |
losifabio
Junior Member Posts: 7 Joined: Mar 2012 Reputation: 0 |
2012-04-01 17:39
Post: #6
Hi!!! If anyone is interested, I find a way to make sopcast streaming work directly in XBMC using Ubuntu (it's not perfect and very tricky cause my bash-scripting skills are not as good as requested
, but it does its job pretty well!!). Last thing to say before starting this "tutorial": as you can see this is a modification of the former posted scripts, I hope no one will be offended if I changed it for my purposes !First of all you have to add sopcast-player repository and install it (this will also install a gui, install only sp-auth package if you don't need it!), then you have to enable XBMC web server function and download curl (for using web-server functionalities): Code: sudo add-apt-repository ppa:jason-scheunemann/ppaThen you have to create (or simply modify if it already exists) the playercorefactory.xml file in ~/.xbmc/userdata/ folder in the way shown below, changing YOURHOMEFOLDER with your home folder name: Code: <playercorefactory>Then you have to create a file named "sopcast" in your home folder (using gedit for example) with the following code inside, changing InterfaceName with the one you're using for connecting with the internet: this is very important because it needs to catch your pc IP to start the streaming (i've done this for people who use DHCP instead of static IP address). I'm using wifi, so it's wlan0. If you're using LAN it probably (but not surely!!) will be eth0: Code: #!/bin/sh Then you need to make this executable, so let's do something like this in the shell: Code: chmod +x sopcastNow all is ready, so let's give a little explaination on how the script works: it starts a streaming and asks you to wait 10 secs (so be patient and don't touch anything , because the script could have strange behaviours if you try to start another streaming for example!) then, if the streaming exists, you should see a loading notification or directly the video streaming (if you have a good connection ). To stop the streaming you have just to stop the player or change streaming, because this one will kill the one you started before! And this is all!!! If you need something please feel free to post your questions, I will (probably ) answer!! PS: i'm not English, so please be nice with me for my english !!!
|
| find quote |
oligolli
Junior Member Posts: 13 Joined: Jun 2011 Reputation: 0 |
2012-04-02 20:44
Post: #7
Brilliant! Thanks very much for sharing losifabio
|
| find quote |
Steve Jol
Junior Member Posts: 26 Joined: Apr 2011 Reputation: 0 |
2012-04-22 20:17
Post: #8
losifabio....my hero!
|
| find quote |
deckoff
Member Joined: Apr 2011 Reputation: 0 Location: Sofia, BG |
2012-05-09 17:49
Post: #9
Faith in humanity restored!!!
![]() To get it straight - you send the correct sopcast link to sp-sc-auto, then the script tells xbmc to open it as a network stream, am I getting it right? Splendid !!!! |
| find quote |
konti
Junior Member Posts: 47 Joined: May 2005 Reputation: 0 |
2012-07-05 12:23
Post: #10
Thnx losifabio. I've added the username/password variables for the people who do not know how to do this.
Mine looks like this now: Code: #!/bin/sh |
| find quote |

, but it does its job pretty well!!). Last thing to say before starting this "tutorial": as you can see this is a modification of the former posted scripts, I hope no one will be offended if I changed it for my purposes
!
, because the script could have strange behaviours if you try to start another streaming for example!) then, if the streaming exists, you should see a loading notification or directly the video streaming (if you have a good connection
) answer!! PS: i'm not English, so please be nice with me for my english
Search
Help