logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
polar  
#1 Posted : Monday, January 29, 2018 6:37:20 PM(UTC)
polar

Rank: Newbie

Groups: Registered
Joined: 1/29/2018(UTC)
Posts: 7
Location: Norway

Hi all, new kid on the block here :). I am an amature en audio/video enthusiast. I recently found a solution for creating dynamic mp3 playlists, based on rules. Beats creating music playlists by hand, and use them in a radio software (RadioDJ) as my personal jukebox. This way I can listen my music on any device both at home and away (online).

I also have a Home Theatre Media Server (Plex) that handles my video files and streams to anything you throw media at. Including my radio channel.

I want to do the same with my music videos. The first challenge is how to create dynamic playlists as I do for my mp3 files. MP3 files have heaps of media tags that I can use to filter from. Video files are more difficult the handle and to get the same efficiency. And for my use (you could call it a 24/7 non-stop music channel) I see no point in creating manual playlists.

This got me thinking... My on-the-fly generated mp3 playlists are stored in mySQL. If I could run a procedure that imports the current mp3 playlist, replace the text ".mp3" with ".mp4" I should be able to produce a playlist based on the rules in my radio software.

How does vMix handle working with mySQL databases? Are there other solutions out there that could generate rule-based dynamic video playlists?
polar  
#2 Posted : Saturday, February 3, 2018 3:56:40 PM(UTC)
polar

Rank: Newbie

Groups: Registered
Joined: 1/29/2018(UTC)
Posts: 7
Location: Norway

Did some more research, and looking at it from a different angle. An alternative could be to load a pre-build m3u file. The challenge here is that an external script will be updating the m3u file every "x" minutes. Is there a way to automatically reload the m3u file in vMix every "x" minutes ?
desmar  
#3 Posted : Saturday, February 3, 2018 4:06:59 PM(UTC)
desmar

Rank: Advanced Member

Groups: Registered
Joined: 8/21/2015(UTC)
Posts: 324
Man
Canada
Location: Cornwall, Ontario, Canada

Thanks: 18 times
Was thanked: 80 time(s) in 60 post(s)
You can load a folder/files into playlist in VLC and then save playlist file as M3U or M3U8.
Then add playlist input to vMix that points to your newly created playlist from VLC.
polar  
#4 Posted : Saturday, February 3, 2018 4:46:44 PM(UTC)
polar

Rank: Newbie

Groups: Registered
Joined: 1/29/2018(UTC)
Posts: 7
Location: Norway

@desmar: thank you for the suggestion. It is the last part I want to automate. In my radio software I can f.ex. create an event that every hour clears the playlist loads a new one and then starts playing. Can I do this in vMix?
corporatejames  
#5 Posted : Saturday, February 3, 2018 5:54:59 PM(UTC)
corporatejames

Rank: Advanced Member

Groups: Registered
Joined: 8/2/2015(UTC)
Posts: 364
Man
Australia
Location: Sydney

Thanks: 283 times
Was thanked: 76 time(s) in 62 post(s)
connect to the mysql database and generate output as XML via PHP for example then you can load the xml data into Vmix Datasources
polar  
#6 Posted : Monday, February 5, 2018 8:46:18 AM(UTC)
polar

Rank: Newbie

Groups: Registered
Joined: 1/29/2018(UTC)
Posts: 7
Location: Norway

@corporatejames: Thank you for the suggestion. I know my options for exporting. My question is more tuned towards how to autoload a new imported playlist every few minutes.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.