lua file location information on source code.

This forum is about all development around libVLC.
sanmool
Blank Cone
Blank Cone
Posts: 20
Joined: 02 Apr 2023 12:01

lua file location information on source code.

Postby sanmool » 26 Nov 2023 17:30

Hi

I am working on a youtube video player for mobile devices. libvlc looks good fit.
According to
https://wiki.videolan.org/Documentation ... t_Scripts/
I can put my own lua file on VLC's preferences folder "lua/playlist" subdirectory on Windows or Mac OS X and in your local VLC shared data folder on Linux (~/.local/share/vlc/lua/playlist).

I put my youtube.lua file to ~/.local/share/vlc/lua/playlist and it worked. but I don't know which directory I should put youtube.lua file to play youtube video on Mobile devices (Android/Iphone).
So I looked for where the information about the directories(e.g. ~/.local/share/vlc/lua/playlist) is stored in source code. But I could not find it.

Does anyone know where the directories(e.g. ~/.local/share/vlc/lua/playlist) information is stored in source code?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: lua file location information on source code.

Postby Rémi Denis-Courmont » 26 Nov 2023 20:18

That would be

Code: Select all

/sdcard/Android/data/org.videolan.vlc/lua/playlist/
but you really should not be messing with user data directories.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sanmool
Blank Cone
Blank Cone
Posts: 20
Joined: 02 Apr 2023 12:01

Re: lua file location information on source code.

Postby sanmool » 29 Nov 2023 13:14

Thank you for your reply.
May I ask you which directory I have to put youtube.lua in iphone?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: lua file location information on source code.

Postby Rémi Denis-Courmont » 29 Nov 2023 19:17

As far as I know, Lua is not supported on iPhone, due to Apple rulings.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests