Dreambox recordings

All about user-defined episode / movie / file name format expressions
Post Reply
MPoint
Posts: 3
Joined: 22 Dec 2016, 15:49

Dreambox recordings

Post 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
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Dreambox recordings

Post 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.
:idea: Please read the FAQ and How to Request Help.
MPoint
Posts: 3
Joined: 22 Dec 2016, 15:49

Re: Dreambox recordings

Post 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
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Dreambox recordings

Post 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.
:idea: Please read the FAQ and How to Request Help.
MPoint
Posts: 3
Joined: 22 Dec 2016, 15:49

Re: Dreambox recordings

Post 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.
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Dreambox recordings

Post by rednoah »

Purchasing FileBot in the Windows 10 Store is totally cool as well. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply