ximarx / vlc-shares

Automatically exported from code.google.com/p/vlc-shares
0 stars 1 forks source link

VLC doesn't spawn with standard install vlc args, but does with small change #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install vlc-share 0.5.3
2. Play video
3. Run "ps" and observe that no vlc process is spawned

What is the expected output? What do you see instead?

A vlc process streaming the video.

What version of the product are you using? On what operating system?

Ubuntu kernel 2.6.35-25.

Please provide any additional information below.

If I go to the "Configure" page, the "VLC args" parameter and remove the \" 
(that is, remove both backslash and double quote from beginning and end of the 
parameter) enclosing the text after the --sout parameter, it works fine.

If I just remove the \, it makes no difference. When I press "Save" or "Apply", 
the page refreshes and the \ is still there.

Original issue reported on code.google.com by fernando...@athigo.com on 27 Feb 2011 at 6:01

GoogleCodeExporter commented 9 years ago
I forgot to add vlc version 1.1.4

Original comment by fernando...@athigo.com on 27 Feb 2011 at 6:01

GoogleCodeExporter commented 9 years ago
The standard vlc-args param should be "--play-and-exit {%source%} 
--sout="#{%profile%}:{%output%}" --sout-keep {%subtitles%} {%audio%} 
{%filters%}" (without any backslash, only double quote). Which browser are you 
using to access vlc-shares?

Original comment by ximarx@gmail.com on 28 Feb 2011 at 6:09

GoogleCodeExporter commented 9 years ago
In my install, the vlc-args had backslashes before the double quotes as in:

--play-and-exit {%source%} --sout=\"#{%profile%}:{%output%}\" --sout-keep 
{%subtitles%} {%audio%} {%filters%}

I used Google Chrome browser to install and set up. I used both Chrome and 
Android to test.

Original comment by fernando...@athigo.com on 28 Feb 2011 at 3:44

GoogleCodeExporter commented 9 years ago
Can i ask you what version of Zend framework are you using? (you can read it 
from the upper right corner of vlc-shares management gui near "ZF: ")

Original comment by ximarx@gmail.com on 28 Feb 2011 at 3:54

GoogleCodeExporter commented 9 years ago
ZF: 1.10.8

Original comment by fernando...@athigo.com on 28 Feb 2011 at 3:57

GoogleCodeExporter commented 9 years ago
Did you restored previous settings?

Original comment by ximarx@gmail.com on 28 Feb 2011 at 4:06

GoogleCodeExporter commented 9 years ago
I have the same issue here. It seems that every time I save or apply the 
configs page, it adds more backslashes.

My Zend Framework version is 1.11.2
Vlc-shares version 0.5.3
And VLC version 1.0.2

Original comment by iuri.aranda on 11 Mar 2011 at 6:53

GoogleCodeExporter commented 9 years ago
I need a full debug log of the configs save operation

Original comment by ximarx@gmail.com on 11 Mar 2011 at 8:30

GoogleCodeExporter commented 9 years ago
Done.
I hope you find it usefull

Original comment by iuri.aranda on 11 Mar 2011 at 9:05

Attachments:

GoogleCodeExporter commented 9 years ago
This problem is related to magic_quotes_gpc value: magic_quotes_gpc have to be 
disabled in production/development system. In php 5.3 magic_quotes_gpc is 
deprecated. I will add a workaround for it in vlc-shares 0.5.4 but my advice is 
to set magic_quotes_gpc to OFF in you php.ini. 

Original comment by ximarx@gmail.com on 12 Mar 2011 at 8:15

GoogleCodeExporter commented 9 years ago
r386 should fix your problems. Please (if you know how to do it) try the fix or 
change your magic_quotes_gpc value to Off in php.ini or append 

<IfModule mod_php5.c>
    php_flag magic_quotes_gpc Off
</IfModule>

to the vlc-shares/public/.htaccess file.

Original comment by ximarx@gmail.com on 12 Mar 2011 at 8:36

GoogleCodeExporter commented 9 years ago
Issue 21 has been merged into this issue.

Original comment by ximarx@gmail.com on 21 Apr 2011 at 6:53