Page 1 of 1

Dreambox recordings

Posted: 22 Dec 2016, 16:24
by MPoint
Hello,

at first, FileBot is a very great programm..... very good job!

I wanna to archive my recordings from the dreambox to watch them also with kodi.
The Problem is, that i have less information in the original filename: 20131108 2143 - Fox Serie - The Walking Dead.ts

But i have enough information in the File: 20131108 2143 - Fox Serie - The Walking Dead.ts.meta

Code: Select all

1:0:1:10:1:85:C00000:0:0:0:
The Walking Dead
Im Zweifel
1383943380

235396800
1101091560
f:0,c:0004ff,c:010500,c:020020,c:0304ff
188
0
Is it possible that FilePot also take this information?
I'm searching for hours, without success.

Kind regards

Re: Dreambox recordings

Posted: 22 Dec 2016, 17:20
by rednoah
You'd have to write your own script and rename your *.ts files and include the extra data from the *.meta files in the filename.

There's an example for a similar use case the the Batch Rename any type of file examples, so you maybe able to use FileBot to pre-rename the files before processing them normally with TheTVDB as datasource.

Either way, you'll need some basic programming skills.

Re: Dreambox recordings

Posted: 23 Dec 2016, 08:17
by MPoint
Okay, thank you for the quick responce.
Than i will do it with VB or C+ because ther are my basic programming skills at home.
I thought it is maybe possible to get the content from the file similar to the *.xml example, not with a keyword <title>, but with the row number.
Something like this: {xml = new XmlSlurper().parse(folder/fn+'.xml'); [xml.{2}, xml.{3}].join(' - ')}

Greetings from Austria

Re: Dreambox recordings

Posted: 23 Dec 2016, 08:55
by rednoah
This should be more or less what you need:

Code: Select all

{def m = readLines(file.path + '.meta'); m[1..2].join(' - ')}
1. Get lines from the corresponding text file
2. Take lines 2 and 3 and join them

You can make a Preset for easy access later on.

Re: Dreambox recordings

Posted: 23 Dec 2016, 11:47
by MPoint
Wow!!

Thats neither more nor less, thats exactly what i need. :o
Thank you very much. This saves me a lot of time.
Unfortunately I don't have PayPal or a Mac.

So I'm only able to wish you merry Christmas and a happy new year.

Re: Dreambox recordings

Posted: 23 Dec 2016, 14:04
by rednoah
Purchasing FileBot in the Windows 10 Store is totally cool as well. ;)