How to fix this playlist extention?

Discuss your Lua playlist, album art and interface scripts.
nebra
New Cone
New Cone
Posts: 6
Joined: 06 Jan 2015 10:57

How to fix this playlist extention?

Postby nebra » 13 Jan 2015 16:31

http://addons.videolan.org/CONTENT/cont ... amster.lua
How to fix it and make it work like this extention below?
https://github.com/videolan/vlc/blob/ma ... motion.lua
I mean how to make it Translate the video webpage URL to a corresponding
FLV URL?
Thanks in advance.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How to fix this playlist extention?

Postby mederi » 13 Jan 2015 20:53

Fixed version
Hello Im not the original author, however I managed to fix this addon, heres fixed version, just save the file as xhamster.lua
http://pastebin.com/fJ1tCnQg

nebra
New Cone
New Cone
Posts: 6
Joined: 06 Jan 2015 10:57

Re: How to fix this playlist extention?

Postby nebra » 14 Jan 2015 01:24

I tried it with some video pages urls, it's not working.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How to fix this playlist extention?

Postby mederi » 14 Jan 2015 15:32

Line 4>

Code: Select all

Copyright © 2007-2012 the VideoLAN team
"©" character causes trouble when saving the script. Delete it and resave the script file with "UTF-8 without BOM" or just the "ANSI" encoding. Copy/Paste the script in Notepad, delete "©", Save as ANSI. How do you save the script?

nebra
New Cone
New Cone
Posts: 6
Joined: 06 Jan 2015 10:57

Re: How to fix this playlist extention?

Postby nebra » 14 Jan 2015 19:49

I did save it as as ANSI, but it's not working. did you try it?

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How to fix this playlist extention?

Postby mederi » 14 Jan 2015 21:41

I have just downloaded the script http://pastebin.com/download.php?i=fJ1tCnQg
straight into "myvlc\lua\playlist\" folder, started the VLC, Ctrl+V the link and it really works.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to fix this playlist extention?

Postby Jean-Baptiste Kempf » 18 Jan 2015 08:01

It would be nice to upload this to the new extension website.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How to fix this playlist extention?

Postby mederi » 18 Jan 2015 14:33

All right, I have just asked for the uploading of the update: http://addons.videolan.org/content/show ... =0#c472423

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to fix this playlist extention?

Postby Jean-Baptiste Kempf » 20 Jan 2015 03:38

This is the old website
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How to fix this playlist extention?

Postby mederi » 21 Jan 2015 13:10

Do you mean the top secret project http://api.addons.videolan.org ?
There could be the link in the addons manager in VLC. Then there should be this link in the header of old place at addons.videolan.org and a link to the old place could be placed in the header of the new place. All websites should be connected.
Then there could be a pinned topic somewhere on the forum to introduce the new site api.addons.videolan.org, the .vlp package, instructions, a place to report issues, ask questions, discuss related stuff and the direct link to the forum topic should be mentioned at api.addons.videolan.org.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to fix this playlist extention?

Postby Jean-Baptiste Kempf » 21 Jan 2015 16:07

yes.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 9 guests