Playing folder containing multiple media types

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Wombot
New Cone
New Cone
Posts: 2
Joined: 29 May 2014 01:11

Playing folder containing multiple media types

Postby Wombot » 29 May 2014 01:22

This issue exists for me in latest stable release on both Windows (Vista/7/8) and Ubuntu 14.04 LTS, so it appears to not be OS specific.

I simply want to open a folder that contains both pictures and videos, via the command line. I am setting up a slideshow TV, and it will need to play both pictures and video.

Doing vlc.exe V:\folder only creates a playlist with the videos in the folder. Any images are ignored. If I open the image directly (vlc.exe V:\folder\image.jpg) VLC plays the image.

My current workaround is to use a batch script to generate an .m3u playlist, then open that with VLC:
:Start
DEL /F /Q list.m3u
FOR /F "tokens=1 delims=" %%A IN ('DIR /B V:\folder') DO ECHO V:\folder\%%A >> list.m3u
START /B /wait vlc.exe list.m3u
GOTO Start

It seems that there should be a much simpler/elegant way of doing this, but I cannot find it.

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

Re: Playing folder containing multiple media types

Postby Rémi Denis-Courmont » 29 May 2014 04:37

Adjust the extensions list of the file input plugin.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

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

Re: Playing folder containing multiple media types

Postby Rémi Denis-Courmont » 29 May 2014 04:37

Adjust the extensions list of the file input plugin.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: Playing folder containing multiple media types

Postby kodela » 29 May 2014 10:41

The same, but more precisely:

Remove in

Preferences - All - Input / Codecs - Access modules - File - Ignored extensions

the extension "jpg"

Wombot
New Cone
New Cone
Posts: 2
Joined: 29 May 2014 01:11

Re: Playing folder containing multiple media types

Postby Wombot » 30 May 2014 00:49

Thank you kodela!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 234 guests