AnsweredAssumed Answered

parse text from playlist

Question asked by ultranix on Jul 22, 2012
Latest reply on Jul 24, 2012 by ultranix

Title

parse text from playlist

Post

Hey there, I have a PLS playlist:

[playlist]
File1=01 - Introduction To The Audio Book.mp3
Title1=David Allen - Introduction To The Audio Book [www.finansineateitis.lt]
Length1=32
File2=02 - A New Practice For A New Reality.mp3
Title2=David Allen - A New Practice For A New Reality [www.finansineateitis.lt]
Length2=238
File3=03 - The 'Ready State' Of The Martial Artist.mp3
Title3=David Allen - The 'Ready State' Of The Martial Artist [www.finansineateitis.lt]
Length3=93
File4=04 - Dealing Effectively With Internal Commitments.mp3
Title4=David Allen - Dealing Effectively With Internal Commitments [www.finansineateitis.lt]
Length4=123
File5=05 - The Basic Requirements For Managing Commitments.mp3
Title5=David Allen - The Basic Requirements For Managing Commitments [www.finansineateitis.lt]
Length5=189
File6=06 - The Real Work Of Knowledge Work.mp3
Title6=David Allen - The Real Work Of Knowledge Work [www.finansineateitis.lt]
Length6=43
NumberOfEntries=6
Version=2

All I want to parse is 1) filename (everything after File1=; File2=; File3=; etc.) and put in into globals (used for creating new records in input layout) and 2) length (everything after Length1=; Length2=; Length3=;


How do i do that?

Outcomes