FAQ  •  Register  •  Login

Generate DLNA video / music playlists server side?

<<

d4rk0n3

Serviio newbie

Posts: 6

Joined: Fri Jul 10, 2015 6:19 pm

Post Fri Jul 10, 2015 6:22 pm

Generate DLNA video / music playlists server side?

Hi,

I'm completely new to the DLNA thing, i used xbmc and samba shares for a long while but since i've purchased a smart tv i've just recently discovered this dlna thing and transcoding server side is beautiful!

The issue i've ran into is that i need a way to create random playlists for both video files and music files server side, i have a javascript that generates vlc playlists that works with XBMC but how can i do this for DLNA content and play these playlists using my LG TV?

Why is random video playlist cool? Well it acts are your own "tv channel" where you have movies, music videos, series etc and it plays everything random and updates the playlist each night everytime the scheduled job to look for new files and update the playlists server side.

Anyone have an idea how i can do this?

Thanks.
<<

atc98092

User avatar

DLNA master

Posts: 5214

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Jul 10, 2015 8:26 pm

Re: Generate DLNA video / music playlists server side?

Here's an example of a playlist that works with Serviio. You could probably write a script that would write one like this, and set a timer to run it once a day or something. Notice that the file location line is the only one that contains anything important. The Title Line can be blank, and the Length line can even be absent.

  Code:
[playlist]
File1=I:\Dr. No (1962).m2ts
Title1= -  -
Length1=0
File2=E:\Video_3\From Russia With Love (1963).m2ts
Title2= -  -
Length2=0
File3=G:\Goldfinger (1964).m2ts
Title3= -  -
Length3=0
File4=I:\Thunderball (1965).m2ts
Title4= -  -
Length4=0
File5=E:\Video_3\Casino Royale (1967).mkv
Title5= -  - Casino Royale (1967)
Length5=7868
File6=I:\You Only Live Twice (1967).mpg
Title6= -  -
Length6=6993
File7=I:\Diamonds Are Forever (1971).m2ts
Title7= -  -
Length7=0
File8=F:\Recorded TV\Never Say Never Again (1983).wtv
Title8= -  -
Length8=0
File9=G:\CASINO ROYALE (2006).mkv
Title9= -  - CASINO ROYALE
Length9=8650
File10=H:\Quantum of Solace (2008).mkv
Title10= -  - Quantum of Solace
Length10=6374
File11=G:\Skyfall (2012).mkv
Title11= -  - Skyfall
Length11=8589
File12=H:\The League of Extraordinary Gentlemen (2003).mkv
Title12= -  -
Length12=6606
File13=F:\Video_4\The Hunt for Red October (1990).m2ts
Title13= -  -
Length13=8108
NumberOfEntries=13
Version=2

Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to General discussion

Who is online

Users browsing this forum: No registered users and 29 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.