Search found 125 matches

Go to advanced search

by ale5000
11 Jul 2018 17:01
Forum: Scripting VLC in lua
Topic: Section for VLC Lua modules
Replies: 6
Views: 1871

Section for VLC Lua modules

Please create a section for "VLC Modules" under: https://addons.videolan.org/

I want to create a module with common functions to avoid replicate the same code on a lot of scripts and I wouldn't like to use "VLC Other" section since it would be confusing.
by ale5000
11 Jul 2018 16:57
Forum: Scripting VLC in lua
Topic: vlc.misc.mdate
Replies: 10
Views: 1764

Re: vlc.misc.mdate

I have created a function to get a random number (with auto-seed on the first run), it should work-around bugs under all platforms. It isn't perfectly safe but I think it is the most safe that I can get (it works also under plain LUA). It is here: local rand_table, real_rand function get_rand() loca...
by ale5000
11 Jul 2018 16:08
Forum: VLC media player for macOS Troubleshooting
Topic: I want to change a files's default subtitle look
Replies: 5
Views: 1063

Re: I want to change a files's default subtitle look

Is there say, a way to rip out the subtitles file, reset the font, and save a new subtitle file for it (.ass, .srt, etc...)? It is an mkv file. To extract MKVToolNix with MKVExtractGUI-2 . You can edit the subtitle with a simple notepad application and use it without the need to re-insert in the vi...
by ale5000
11 Jul 2018 14:48
Forum: Forum, Website and Artwork discussion
Topic: Login problem on trac
Replies: 5
Views: 2943

Re: Login problem on trac

Gmail,
yes I always check spam folder.
by ale5000
11 Jul 2018 12:20
Forum: Contribute and help the VideoLAN project
Topic: Ace Stream — GPL violators
Replies: 9
Views: 14418

Re: Ace Stream — GPL violators

Look here: https://www.gnu.org/licenses/gpl-violation.en.html Once you have collected the details, you should send a precise report to the copyright holder of the packages that are being misused. The copyright holder is the one who is legally authorized to take action to enforce the license. ... Not...
by ale5000
11 Jul 2018 10:58
Forum: VLC media player for Windows Troubleshooting
Topic: Updater downloads through http instead of https
Replies: 4
Views: 289

Re: Updater downloads through http instead of https

Yes, well it is just a trivial privacy problem but switching absolutely everything to HTTPS is certainly better (hopefully now with HTTP/2, TLS 1.3 draft 28 and DNS over TLS).
by ale5000
11 Jul 2018 02:10
Forum: VLC media player for Windows Troubleshooting
Topic: Playlist m3u wrong encoding / chars
Replies: 74
Views: 15751

Re: Playlist m3u wrong encoding / chars

I think that just a checkbox is enough: URL-encode urls in M3U generated playlists

Note: URL-encode considered as verb in the phrase
by ale5000
10 Jul 2018 20:48
Forum: Scripting VLC in lua
Topic: Setting custom HTTP headers inside SD scripts
Replies: 20
Views: 8033

Re: Setting custom HTTP headers inside SD scripts

I don't think Lua should be allowed to generate actual streams. Performance would most certainly suck. Well, this is just the last resort until someone add the feature to pass custom headers (that shouldn't be hard, I don't need to set cookies or things where security can be a problem but just cust...
by ale5000
10 Jul 2018 17:43
Forum: Forum, Website and Artwork discussion
Topic: Login problem on trac
Replies: 5
Views: 2943

Re: Login problem on trac

It doesn't work for me, any suggestion?
by ale5000
10 Jul 2018 10:46
Forum: VLC media player for Windows Troubleshooting
Topic: Updater downloads through http instead of https
Replies: 4
Views: 289

Re: Updater downloads through http instead of https

But still is a privacy issue especially if you download it from a public Wi-Fi.
by ale5000
10 Jul 2018 10:42
Forum: Forum, Website and Artwork discussion
Topic: Login problem on trac
Replies: 5
Views: 2943

Login problem on trac

Hi,
I'm not able to login on trac: https://trac.videolan.org/vlc/

I have tried to reset password, it say "A new password has been sent to you" but I haven't received any e-mail.
by ale5000
09 Jul 2018 20:33
Forum: Scripting VLC in lua
Topic: Setting custom HTTP headers inside SD scripts
Replies: 20
Views: 8033

Re: Setting custom HTTP headers inside SD scripts

Lua scripts can only generate playlist items, not streams. You may need to write a custom native plugin for that specific use case - but on the bright side, a native plugin might be able to use the low-level HTTP request API. Isn't there any plan to extend the functionality of LUA Addons? They are ...
by ale5000
09 Jul 2018 11:17
Forum: Scripting VLC in lua
Topic: Delete current file from harddisk
Replies: 41
Views: 35492

Re: Delete current file from harddisk

Extension based on code and ideas from this thread - http://addons.videolan.org/content/show.php/RealDelete?content=167547 Tested only on Windows 8 and VLC 2.1.1. Extension deleted from addons.videolan.org, but here below is the code. function descriptor() return { title = "RealDelete", v...
by ale5000
09 Jul 2018 08:25
Forum: Scripting VLC in lua
Topic: Setting custom HTTP headers inside SD scripts
Replies: 20
Views: 8033

Re: Setting custom HTTP headers inside SD scripts

Previously I was appending the custom headers to the User-Agent but it was blocked in VLC. My script strictly depend from custom HTTP headers, is there a new way to set custom headers? Yes, send your custom HTTP request directly over sockets. The low-level HTTP request API has been not exposed to L...
by ale5000
06 Jul 2018 17:24
Forum: Scripting VLC in lua
Topic: cannot copy file with special char in windows
Replies: 6
Views: 1566

Re: cannot copy file with special char in windows

I haven't tried but maybe this:

Code: Select all

os.execute ('chcp 65001 > nul && cmd /u /c "your_command" > log.txt')
If you don't want log then this:

Code: Select all

os.execute ('chcp 65001 > nul && cmd /u /c "your_command" > nul')
by ale5000
05 Jul 2018 17:48
Forum: Scripting VLC in lua
Topic: Setting custom HTTP headers inside SD scripts
Replies: 20
Views: 8033

Re: Setting custom HTTP headers inside SD scripts

Ale5000, you're back???
I haven't too much free time but yes :)
How are you?
by ale5000
05 Jul 2018 11:18
Forum: Scripting VLC in lua
Topic: vlc.misc.mdate
Replies: 10
Views: 1764

Re: vlc.misc.mdate

If on 2 PC in the entire world 2 users use the same script in the same second then the random values will collide.
The chance are low if the users are few but more users more chance to collide.

Is there an alternative to get a safer random value?
by ale5000
05 Jul 2018 10:44
Forum: Scripting VLC in lua
Topic: vlc.misc.mdate
Replies: 10
Views: 1764

Re: vlc.misc.mdate

To feed math.randomseed(), seconds have too much chance to collide from different near calls.
by ale5000
05 Jul 2018 10:43
Forum: Scripting VLC in lua
Topic: Setting custom HTTP headers inside SD scripts
Replies: 20
Views: 8033

Re: Setting custom HTTP headers inside SD scripts

Useragent, yes; custom headers, no. The Rai streaming server don't work at all without setting authentication in the custom HTTP header. Is there any alternative to fix my script? A lot of work was needed for creating the Rai TV script and it is frustrating that it cannot work for a minimal thing. ...
by ale5000
05 Jul 2018 09:45
Forum: Scripting VLC in lua
Topic: Setting custom HTTP headers inside SD scripts
Replies: 20
Views: 8033

Setting custom HTTP headers inside SD scripts

Previously I was appending the custom headers to the User-Agent but it was blocked in VLC.
My script strictly depend from custom HTTP headers, is there a new way to set custom headers?
by ale5000
05 Jul 2018 05:07
Forum: Scripting VLC in lua
Topic: Info about VLC Addons
Replies: 5
Views: 2263

Re: Info about VLC Addons

Thanks, do you know how to make the script appears in the add-on manager inside VLC?
by ale5000
05 Jul 2018 04:11
Forum: Scripting VLC in lua
Topic: vlc.misc.mdate
Replies: 10
Views: 1764

Re: vlc.misc.mdate

Thanks for the reply but the problem is that I no longer get microseconds :(
by ale5000
04 Jul 2018 16:31
Forum: Scripting VLC in lua
Topic: vlc.misc.mdate
Replies: 10
Views: 1764

vlc.misc.mdate

In a LUA sd script I was using vlc.misc.mdate and it was working in VLC 1.1.0 (about) but now it no longer work.

Is there a replacement?
by ale5000
04 Jul 2018 16:22
Forum: Scripting VLC in lua
Topic: Info about VLC Addons
Replies: 5
Views: 2263

Info about VLC Addons

Hi,
I'm here again after a lot of time.

I would like to know if someone have written a guide (for developers) regarding VLC Addons in LUA.
The last time I was at VLC 1.1.0 so I would also like to know if there are breaking changes in the current version compared to VLC 1.1.0.
by ale5000
12 Jul 2011 21:07
Forum: General VLC media player Troubleshooting
Topic: MKV chapters bug
Replies: 3
Views: 633

Re: MKV chapters bug

I think this problem was fixed yesterday in trunk.

Go to advanced search