Playlist in a text file with mixed media types

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
techtx
New Cone
New Cone
Posts: 1
Joined: 05 Jul 2010 02:13

Playlist in a text file with mixed media types

Postby techtx » 05 Jul 2010 02:27

Hi,

Newbie question:

I'm trying to setup a "playlist" that contains media files of mixed types (such as a dvd file, avi file, mkv etc.) and have them be played like a regular playlist.
For example, let's say I want a playlist of ALL action sequences from a list of movies that I have in my collection and would like them to be played one after the other. This is how far I was able to get by myself:

I've created a windows .bat file that has a single line in it:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" dvd://"E:\Movies\DVD\XYZ1"@2:5 :stop-time=45 dvd://"E:\Movies\DVD\ABC1"@5:9 :stop-time=670 file://"E:\Movies\HD\ABC2.mkv" :start-time=4535 :stop-time=4701

As you can see, when I double click this ".bat" file, it invokes VLC and plays movie XYZ1 first starting from chapter 5 of title 2 and ends after 45 seconds, then goes to movie ABC1, plays that for 675 seconds from the specified point and so on. I'm trying to see if I can just create a "playlist" called fav_action.txt organized like this:

dvd://"E:\Movies\DVD\XYZ1"@2:5 :stop-time=45
dvd://"E:\Movies\DVD\ABC1"@5:9 :stop-time=670
file://"E:\Movies\HD\ABC2.mkv" :start-time=4535 :stop-time=4701

and just pass this playlist to the VLC command line. My .bat file would then look like:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "fav_action.txt"


Is there a way to do this? Thanks in advance.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Playlist in a text file with mixed media types

Postby VLC_help » 05 Jul 2010 16:57

XSPF playlists do support something like that but I ain't sure if that works with VLC.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: Playlist in a text file with mixed media types

Postby rogerdpack » 15 Nov 2010 21:18

XSPF playlists do support something like that but I ain't sure if that works with VLC.
Appears that using the command line (with : prefixed options) or using XSPF both work as desired.

http://betterlogic.com/roger/2010/11/vl ... ist-in-vlc


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests