NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) UbuStream, Web Radio and Universe v
« Previous 1 2 3 4 5 6 … 8 Next »
Run external app before UbuStream playback?

 
  • 0 Vote(s) - 0 Average
Run external app before UbuStream playback?
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#1
2008-03-05, 05:06 AM
I have an account with an online streaming website where I need to launch their website in order to obtain an MMS URL for playback.

I've written a small app that automates this part, and spits out the right URL that UbuStream can use. I can save it to an .asx file that UbuStream can launch, but my app must be run beforehand to update it.

Is there a way I can have my app run just before UbuStream does its thing? I'm hoping to use it in timeshift channel mode and somehow run my app (which will take just a second) and then let UbuStream start playback.

How can I do this.. can anyone help me out? Thanks!
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#2
2008-03-08, 04:00 AM
hmm I can't even get channel mode to work, from reading here it seems to be a bug, so I guess figuring this out right now doesn't matter anyway. Smile
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#3
2008-03-09, 08:16 AM
You might try just using the External Recorder plugin to accomplish what you need. UbuStream's channel mode uses External Recorder (under the hood) so maybe you could cut out the middle man and have External Recorder invoke your program and then run VLC (or WMP) against the resultant .asx file.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#4
2008-03-10, 06:58 AM
The problem is, ExternalRecorder fails to work in 1.1.5 (and in the new 1.2.9). It's been an awfully long time since it came out and I guess it just isn't compatible anymore.

That's why I turned to UbuStream, but channel mode doesn't work here either. Could it be because you are trying to utilize the same ExternalRecorder guts that are failing? I'd love to be able to use Channel Mode especially after doing the hard work of parsing to get the MMS url. Smile
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#5
2008-03-11, 06:52 AM
Trouble is, I just don't have time to a) rewrite UbuStream for "native" PVRX2 compliance and/or b) debug the channel mode problem. I hope to get back to it eventually. In the meantime, if you want to have a shot at b), you're welcome.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#6
2008-03-11, 07:24 PM
Sounds good, I'll see what I can do for 'ya and let you know if I can dig up anything. Thanks again!
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#7
2008-03-12, 08:32 AM (This post was last modified: 2008-03-12, 08:39 AM by ubu.)
sgilani Wrote:Sounds good, I'll see what I can do for 'ya and let you know if I can dig up anything. Thanks again!
FYI - UbuStream uses a "custom" version of External Recorder (It's "plug compatible" with the regular version but has some Ubu-specific code). If you need source code for that, let me know. Ditto, if you need source code for UbuNetStreamPlayer (which does most of the hard work). The UbuRecordingService (the Windows service that controls the actual VLC transcoding/recording of the stream for Timeshift play) is pretty much a black box, so you shouldn't need to worry about that.

Since you wrote webStreamer, I'd imagine you'd be fairly comfortable with a lot of the stuff involved here.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#8
2008-03-12, 01:32 PM
Sure, if you can get me the code for the customized External Recorder and the UbuNetStreamPlayer, that would be great. Hopefully we'll be able to track down the problem that way and get it rolling.
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#9
2008-03-14, 08:03 AM
sgilani Wrote:Sure, if you can get me the code for the customized External Recorder and the UbuNetStreamPlayer, that would be great. Hopefully we'll be able to track down the problem that way and get it rolling.
I've attached a zip file with some reasonably current copies of the code (I'm away from my "mother ship" box right now so don't have access to my master versions). Let me know if you need to drill deeper and need source for any of the lower level stuff.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#10
2008-03-16, 05:09 AM
Thanks, I'll take a look at it tomorrow.

One problem though that you should know about; I can't even get a capture source set up successfully for either the native External Recorder, or the UbuStream 'hack' of it. It doesn't let me set up the ExternalRecorder until I save the source, but it won't let me save the source until I set it up... If I play around enough I get it to save, but next time I come back to Config, it's gone.

I think that's something a bit more serious than looking at these source files right now.. since I wouldn't know the nitty-gritty about setting up the recording plugin itself.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  webradio 3.0, no external player defined ryanmc 5 3,400 2010-06-23, 09:55 PM
Last Post: ryanmc
  Ubustream not working preview neither timeshitf play Toni 2 3,126 2009-05-27, 07:59 PM
Last Post: Toni
  Imposible to start ubustream Toni 3 3,173 2009-05-27, 12:02 PM
Last Post: Toni
  UbuStream plugin - support ubu 42 45,466 2009-03-26, 12:41 AM
Last Post: am2pgs
  UBUStream and version 1.3.11 seansco 10 6,660 2009-03-11, 01:07 PM
Last Post: seansco
  Using Ubustream with MediaMVPs jbyram2 33 40,296 2008-12-12, 04:50 PM
Last Post: jbyram2
  No mouse in web pages from Ubustream 2.2 aa7 0 2,410 2008-03-21, 04:13 AM
Last Post: aa7
  YouTube not working via VLC/Ubustream gazoo 4 4,979 2008-03-10, 03:16 PM
Last Post: gazoo
  uefa futsal in ubustream? sglebs 0 2,194 2008-03-02, 03:14 AM
Last Post: sglebs
  Ubustream in PVRX2 markfarey 4 3,836 2008-02-27, 02:42 AM
Last Post: markfarey

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode