Ažurirane teme   ·    Nove poruke   ·    članovi   ·    Pravila foruma   ·    Traži   ·    RSS
Archive - read only
DREAMBOX - 1
rbgDatum: Subota, 22.11.2014, 23:50 | Poruka broj: # 4821

Poruka: 15
Status:

Portugal.
PLEASE
elsanto1Datum: Nedjelja, 23.11.2014, 00:03 | Poruka broj: # 4822

Poruka: 249
Status:

ok
mitica68Datum: Nedjelja, 23.11.2014, 00:08 | Poruka broj: # 4823

Poruka: 73
Status:

Quote bingobongo ()
http://109.101.97.253:8001/1:0:1:3F0:1:1:E08318F:0:0:0:


Not working on me.THANK YOU
moro_musaDatum: Nedjelja, 23.11.2014, 00:22 | Poruka broj: # 4824

Poruka: 139
Status:

gracias
tussdeDatum: Nedjelja, 23.11.2014, 01:34 | Poruka broj: # 4825

Poruka: 25
Status:

Quote bingobongo ()
Quote pokut ()
Anyone knows how to put EPG directly on VLC from a dreambox url?
For example TF1, I want to have his program directly on VLC, not from a webinterface.

This is not impossible, in my opinion. And it must be simple too, thanks to Enigma 2 command line options...

First Use wget (or curl) to transfer the epg info to a text file.

For example:

wget -q -O - "http://IP_of_your_box/web/epgservice?sRef=1:0:1:2206:44C:1:C00000:0:0:0:" >>epg.txt

Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file.
For example:

set /p EPG=<epg.txt

Finally, define the value of EPG as the subtitle of your VLC stream.

Code should look like:

%VLC% "your_stream" --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9

where marquee is the epg info that VLC will display on the right corner of your screen for 30 seconds while playing the stream...

All this could be automitized with a batch program wink


Hi !

i followed your advices, but no luck !

i opened cmd.exe, than i wrote

Quote
curl "http://XX.XXX.XXX.XX/web/epgservice?sRef=1:0:1:1076:7E5:2:11A0000:0:0:0
" >>epg.txt


than this
Quote

set /p EPG=<epg.txt


after i entered vlc folder using this string

Quote
cd C:\Program Files\VideoLAN\VLC


and finally lanched the stream using this one
Quote

vlc.exe "http://XX.XXX.XXX.XX:8001/1:0:1:1076:7E5:2:11A0000:0:0:0" --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --aspect-ratio=16:9


Using this procedure, the stream starts but no epg info on the screen !

The only thing that appears is
Quote
<?xml version="1.0" encoding="UTF-8"?>

located on the top of the screen.

Maybe the key-point is when you say "Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file."

Any help please ?

Poruku uredio tussde - Nedjelja, 23.11.2014, 01:46
bingobongoDatum: Nedjelja, 23.11.2014, 02:16 | Poruka broj: # 4826

Poruka: 1154
Status:

Quote tussde ()
The only thing that appears is
Quote
<?xml version="1.0" encoding="UTF-8"?>

located on the top of the screen.

Maybe the key-point is when you say "Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file."

Any help please ?


Yes, it's due to FINDSTR. In your case, instead of extracting the epg info it took off tags (<?xml version="1.0" encoding="UTF-8"?>), reporting them to the top of VLC screen.

FINDSTR is good to localize a rough piece of info.

But to make the precise cut job, I suggest to use sed or cut, which is downloadable here together with its dependencies (a few dlls):



Personally, I like using FINDSTR as "field limiter" and cut as "cutter".

Tomorrow I'll try to make a little script, then I will tell you the right parameters for FINDSTR and cut.

Poruku uredio bingobongo - Nedjelja, 23.11.2014, 02:49
raymonsalimDatum: Nedjelja, 23.11.2014, 02:17 | Poruka broj: # 4827

Poruka: 25
Status:

PLEASE arabic Servers ! devil
bingobongoDatum: Nedjelja, 23.11.2014, 17:48 | Poruka broj: # 4828

Poruka: 1154
Status:

Quote tussde ()
Quote bingobongo ()
Quote pokut ()
Anyone knows how to put EPG directly on VLC from a dreambox url?
For example TF1, I want to have his program directly on VLC, not from a webinterface.

This is not impossible, in my opinion. And it must be simple too, thanks to Enigma 2 command line options...

First Use wget (or curl) to transfer the epg info to a text file.

For example:

wget -q -O - "http://IP_of_your_box/web/epgservice?sRef=1:0:1:2206:44C:1:C00000:0:0:0:" >>epg.txt

Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file.
For example:

set /p EPG=<epg.txt

Finally, define the value of EPG as the subtitle of your VLC stream.

Code should look like:

%VLC% "your_stream" --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9

where marquee is the epg info that VLC will display on the right corner of your screen for 30 seconds while playing the stream...

All this could be automitized with a batch program wink

Hi !

i followed your advices, but no luck !

i opened cmd.exe, than i wrote

Quote
curl "http://XX.XXX.XXX.XX/web/epgservice?sRef=1:0:1:1076:7E5:2:11A0000:0:0:0
" >>epg.txt

than this
Quote

set /p EPG=<epg.txt

after i entered vlc folder using this string

Quote
cd C:\Program Files\VideoLAN\VLC

and finally lanched the stream using this one
Quote

vlc.exe "http://XX.XXX.XXX.XX:8001/1:0:1:1076:7E5:2:11A0000:0:0:0" --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --aspect-ratio=16:9

Using this procedure, the stream starts but no epg info on the screen !

The only thing that appears is
Quote
<?xml version="1.0" encoding="UTF-8"?>

located on the top of the screen.

Maybe the key-point is when you say "Then use FINDSTR or curl to isolate the epg event and set a value that identifies the epg event included in the text file."

Any help please ?


Hello! As promised, I tested the script on my pc. Here is the code to insert after the wget passage (and after putting cut.exe in your script folder):

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

Code
type epg.txt | FINDSTR "e2eventtitle" >>epg2.txt
type epg2.txt | cut -d "<" -f 2 >>epg3.txt
type epg3.txt | cut -d ">" -f 2 >>epg4.txt
powershell -command "& {get-content epg4.txt -totalcount 1}" >>epg5.txt
set /p EPG=<epg5.txt
call %VLCA% --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9 "your_stream"
del epg*.txt
exit


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

This will desplay the title of the current Enigma 2 event on VLC for 30 seconds.

You can even choose to display the event description or the next event, by modifying defstr and cut parameters as you like.

Poruku uredio bingobongo - Nedjelja, 23.11.2014, 17:52
alex23Datum: Nedjelja, 23.11.2014, 18:34 | Poruka broj: # 4829

Poruka: 8
Status:

russia. Please
tussdeDatum: Nedjelja, 23.11.2014, 21:12 | Poruka broj: # 4830

Poruka: 25
Status:

Quote bingobongo ()
Hello! As promised, I tested the script on my pc. Here is the code to insert after the wget passage (and after putting cut.exe in your script folder):

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

Code
type epg.txt | FINDSTR "e2eventtitle" >>epg2.txt
type epg2.txt | cut -d "<" -f 2 >>epg3.txt
type epg3.txt | cut -d ">" -f 2 >>epg4.txt
powershell -command "& {get-content epg4.txt -totalcount 1}" >>epg5.txt
set /p EPG=<epg5.txt
call %VLCA% --sub-filter marq --marq-marquee="%EPG%" --marq-size=30 --marq-position=10 --marq-timeout=30000 --fullscreen --aspect-ratio=16:9 "your_stream"
del epg*.txt
exit

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

This will desplay the title of the current Enigma 2 event on VLC for 30 seconds.

You can even choose to display the event description or the next event, by modifying defstr and cut parameters as you like.



Hi, thanks for the info!

Unfortunately i don't know where to download wget.exe, cut.exe and stuff like these.
Any advice where to look at ? Is there any website that has a package containing these exes?

when you wrote that code am i supposed to create a batch file with that code you posted ?

Sorry but i'm not an expert as you are ! Any help please ? (consider that i have windows vista )

Poruku uredio tussde - Nedjelja, 23.11.2014, 21:14
bingobongoDatum: Nedjelja, 23.11.2014, 21:31 | Poruka broj: # 4831

Poruka: 1154
Status:

Quote tussde ()
Hi, thanks for the info!

Unfortunately i don't know where to download wget.exe, cut.exe and stuff like these.
Any advice where to look at ? Is there any website that has a package containing these exes?

when you wrote that code am i supposed to create a batch file with that code you posted ?

Sorry but i'm not an expert as you are ! Any help please ? (consider that i have windows vista )


wget:



cut:


(unzip and find cut.exe)

dependencies (dlls):



Once downloaded, all of them must be put in the same folder wink

All Windows systems are ok, for having ms prompt (necessary for batch scripts) smile

Poruku uredio bingobongo - Nedjelja, 23.11.2014, 21:33
e01114693634Datum: Nedjelja, 23.11.2014, 21:48 | Poruka broj: # 4832

Poruka: 49
Status:

open Webif
http://goo.gl/EHUoH9
iusluDatum: Nedjelja, 23.11.2014, 22:21 | Poruka broj: # 4833

Poruka: 139
Status:

Available to users only
iusluDatum: Nedjelja, 23.11.2014, 22:23 | Poruka broj: # 4834

Poruka: 139
Status:

Available to users only
iusluDatum: Nedjelja, 23.11.2014, 22:23 | Poruka broj: # 4835

Poruka: 139
Status:

Available to users only
iusluDatum: Nedjelja, 23.11.2014, 22:24 | Poruka broj: # 4836

Poruka: 139
Status:

Available to users only
iusluDatum: Nedjelja, 23.11.2014, 22:25 | Poruka broj: # 4837

Poruka: 139
Status:

Available to users only
iusluDatum: Nedjelja, 23.11.2014, 22:26 | Poruka broj: # 4838

Poruka: 139
Status:

Available to users only
iusluDatum: Nedjelja, 23.11.2014, 22:27 | Poruka broj: # 4839

Poruka: 139
Status:

Available to users only
iusluDatum: Nedjelja, 23.11.2014, 22:28 | Poruka broj: # 4840

Poruka: 139
Status:

Available to users only
Search:
Top 30 Forumasa