Hello Simone,
Although this isn't possible when you pass a directory to Liquidsoap as a
playlist, its pretty simple to create a playlist that excludes specific
files.
For example, lets start with very simple directory structure:
/home/music contains:
shoutcast.mp3
song1.mp3
techno.mp3
techno-song.mp3
tes2.mp3
test.mp3
You can then generate a playlist that excludes the files that contain
techno in the name.
find /home/music/ -type f ! -name "techno*" > myplaylist.m3u
The resulting playlist would contain the following entries:
/home/music/song1.mp3
/home/music/tes2.mp3
/home/music/test.mp3
/home/music/shoutcast.mp3
You can then point Liquidsoap to the recently created playlist. If the
content in the directory changes frequently, you could put the playlist
generation command in cron, and set the
reload_mode attribute of the playlist to 'watch'
On Wed, Feb 11, 2015 at 10:28 AM, Sarah k Alawami <[email protected]>
wrote:
> Hmm. I don't think theres a way. Maybe if you have separate directories
> you could use the switch command to switch playlists at certain times One
> for techno and one for something else? I'm just thinking out loud here.
> > On Feb 11, 2015, at 1:24 AM, Simone Dal Maso <[email protected]>
> wrote:
> >
> > Hello,.
> > I have a directory that contains hundred of files and Liquidsoap load
> > them on its playlist.
> > Do you know if there is a manner to exclude all files that start with
> > the word tecno?
> > Thank you for your help!
> >
> >
> >
> ------------------------------------------------------------------------------
> > Dive into the World of Parallel Programming. The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Take
> a
> > look and join the conversation now. http://goparallel.sourceforge.net/
> > _______________________________________________
> > Savonet-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users