FileBot Node music handling

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
ziemowit
Posts: 32
Joined: 13 Feb 2015, 06:59

FileBot Node music handling

Post by ziemowit »

Hello

I have a problem handling music files. I know Filebot is not really good at this so i have this setup in mind:
1) FileBot Node is called once daily or through Synology GUI manually to scan a download folder
2) FileBot will put Films and Shows into the correct paths, FileBot detects music files and moves them to an "new-music" folder
3) Bliss (a package for music) will detect the new files and scan them, rename them, tag them and put them in the right place.

Now I don't need filebot to identify the music at all. I only need Filebot to detect that its audio files and move them accordingly, if filebot can identify, I am fine with that. The important thing is the files to be placed in the new-music folder.

Now I have a quite recent album, seems like the issue is, that Acoustic ID can't identify it (yet?). As described I would be fine if filebot just moved it to the music folder. Instead it tries to place them in "unsorted".

Code: Select all

filebot -script 'fn:amc' /volume1/pyload/downloads/ --output /volume1/ --action test -non-strict --lang de --def 'music=y' 'unsorted=y' 'clean=y' 'skipExtract=y' 'deleteAfterExtract=y' 'seriesFormat=video/Serien/{n}/{s.pad(2)}x{e.pad(2)} {t}' 'movieFormat=video/Filme/{n} ({y})' 'musicFormat=music/_new.music/{n}/{album+'\''/'\''}{pi.pad(2)+'\''. '\''}{artist} - {t}' 'excludeList=.excludes' --log all

------------------------------------------

Run script [fn:amc] at [Sat Jun 13 07:15:04 GMT+01:00 2015]
Parameter: music = y
Parameter: unsorted = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: deleteAfterExtract = y
Parameter: seriesFormat = video/Serien/{n}/{s.pad(2)}x{e.pad(2)} {t}
Parameter: movieFormat = video/Filme/{n} ({y})
Parameter: musicFormat = music/_new.music/{n}/{album+'/'}{pi.pad(2)+'. '}{artist} - {t}
Parameter: excludeList = .excludes
Argument: /volume1/pyload/downloads
Using excludes: /volume1/.excludes (19)
Input: /volume1/pyload/downloads/uploaded.net_file_w6d4jowf/CD1/01. Marsimoto - La Saga.[b]mp3[/b]
[...]
Group: [music:cd1] => [01. Marsimoto - La Saga.mp3, ...]
Rename music using [AcoustID]
Unable to lookup AcoustID: 01. Marsimoto - La Saga.mp3
[...]
CmdlineException: Unable to identify or process any files
Processing 15 unsorted files
[TEST] Rename [/volume1/pyload/downloads/uploaded.net_file_w6d4jowf/CD1/01. Marsimoto - La Saga.mp3] to [/volume1/Unsorted/uploaded.net_file_w6d4jowf/CD1/01. Marsimoto - La Saga.mp3]
[...]
Processed 15 files
Done ヾ(@⌒ー⌒@)ノ

------------------------------------------

[Process completed]
Any advice?
Last edited by ziemowit on 15 Jun 2015, 16:01, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Node music handling

Post by rednoah »

1.
Bliss and FileBot both use AcoustID acoustic fingerprints to identify music files, so they should have pretty much the same capabilities. If there's something that works with Bliss but not with FileBot it's probably something that can be fixed easily.

2.
If AcoustID can't identify the file then it's not considered "music". It could just be some random audio recording.

3.
If you don't want to process music, don't tick that option. If you want special handling for audio files you can easily do that with a custom "unsorted format".

e.g. Unsorted Format:

Code: Select all

{ext =~ /mp3/ ? "Audio/${fn}" : "Unsorted/${file.structurePathTail}"}
:idea: Please read the FAQ and How to Request Help.
ziemowit
Posts: 32
Joined: 13 Feb 2015, 06:59

Re: FileBot Node music handling

Post by ziemowit »

1. Understand. Still want to use Bliss for the tagging etc. - In fact the audio files I was refering to were handled by Bliss without any problems.

2. definitely music

3. Can't see an option to untick music in Synology GUI. Since I want those files moved I need them to be processed by Filebot. I don't want to use unsorted, otherwise Filebot will move any other files from the download folder to the music folder. Those files I want not to be processed.

So this is down to the question why Acoustic ID in filebot environment can't identify those files then.

This is what I got after I added some older music files to the folder

Code: Select all

filebot -script 'fn:amc' /volume1/pyload/downloads/ --output /volume1/ --action test -non-strict --lang de --def 'music=y' 'unsorted=y' 'clean=y' 'skipExtract=y' 'deleteAfterExtract=y' 'seriesFormat=video/Serien/{n}/{s.pad(2)}x{e.pad(2)} {t}' 'movieFormat=video/Filme/{n} ({y})' 'musicFormat=music/_new.music/{n}/{album+'\''/'\''}{pi.pad(2)+'\''. '\''}{artist} - {t}' 'excludeList=.excludes' --log all

------------------------------------------

Run script [fn:amc] at [Mon Jun 15 16:55:48 GMT+01:00 2015]
Parameter: music = y
Parameter: unsorted = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: deleteAfterExtract = y
Parameter: seriesFormat = video/Serien/{n}/{s.pad(2)}x{e.pad(2)} {t}
Parameter: movieFormat = video/Filme/{n} ({y})
Parameter: musicFormat = music/_new.music/{n}/{album+'/'}{pi.pad(2)+'. '}{artist} - {t}
Parameter: excludeList = .excludes
Argument: /volume1/pyload/downloads
Using excludes: /volume1/.excludes (19)
Input: /volume1/pyload/downloads/01 - La Saga.mp3
Input: /volume1/pyload/downloads/01 - La femme d'argent.mp3
Input: /volume1/pyload/downloads/02 - Sexy boy.mp3
Input: /volume1/pyload/downloads/02 - Tijuana Flow.mp3
Input: /volume1/pyload/downloads/03 - All I need.mp3
Input: /volume1/pyload/downloads/03 - Anarchie.mp3
Input: /volume1/pyload/downloads/04 - An Der Tischtennisplatte.mp3
Input: /volume1/pyload/downloads/04 - Kelly watch the stars.mp3
Input: /volume1/pyload/downloads/05 - Meisterwerk.mp3
Input: /volume1/pyload/downloads/05 - Talisman.mp3
Input: /volume1/pyload/downloads/06 - Illegalize It.mp3
Input: /volume1/pyload/downloads/06 - Remember.mp3
Input: /volume1/pyload/downloads/07 - Ring Der Nebelungen.mp3
Input: /volume1/pyload/downloads/07 - You make it easy.mp3
Input: /volume1/pyload/downloads/08 - Ce matin la.mp3
Input: /volume1/pyload/downloads/08 - Green Pangea.mp3
Input: /volume1/pyload/downloads/09 - 7 Leben.mp3
Input: /volume1/pyload/downloads/09 - New star in the sky.mp3
Input: /volume1/pyload/downloads/10 - Flywithme.mp3
Input: /volume1/pyload/downloads/10 - Le voyage de Penelope.mp3
Input: /volume1/pyload/downloads/11 - Usain Bolt.mp3
Input: /volume1/pyload/downloads/12 - Zecken Raus.mp3
Input: /volume1/pyload/downloads/13 - Trippin.mp3
Input: /volume1/pyload/downloads/14 - Back 2 Green.mp3
Exclude: /volume1/pyload/downloads/@eaDir/01 - La Saga.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/02 - Tijuana Flow.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/03 - Anarchie.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/04 - An Der Tischtennisplatte.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/05 - Meisterwerk.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/06 - Illegalize It.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/07 - Ring Der Nebelungen.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/08 - Green Pangea.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/09 - 7 Leben.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/10 - Flywithme.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/11 - Usain Bolt.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/12 - Zecken Raus.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/13 - Trippin.mp3@SynoEAStream
Exclude: /volume1/pyload/downloads/@eaDir/14 - Back 2 Green.mp3@SynoEAStream
Group: [music:downloads] => [01 - La Saga.mp3, 01 - La femme d'argent.mp3, 02 - Sexy boy.mp3, 02 - Tijuana Flow.mp3, 03 - All I need.mp3, 03 - Anarchie.mp3, 04 - An Der Tischtennisplatte.mp3, 04 - Kelly watch the stars.mp3, 05 - Meisterwerk.mp3, 05 - Talisman.mp3, 06 - Illegalize It.mp3, 06 - Remember.mp3, 07 - Ring Der Nebelungen.mp3, 07 - You make it easy.mp3, 08 - Ce matin la.mp3, 08 - Green Pangea.mp3, 09 - 7 Leben.mp3, 09 - New star in the sky.mp3, 10 - Flywithme.mp3, 10 - Le voyage de Penelope.mp3, 11 - Usain Bolt.mp3, 12 - Zecken Raus.mp3, 13 - Trippin.mp3, 14 - Back 2 Green.mp3]
Rename music using [AcoustID]
Unable to lookup AcoustID: 01 - La femme d'argent.mp3
Unable to lookup AcoustID: 01 - La Saga.mp3
Unable to lookup AcoustID: 02 - Sexy boy.mp3
Unable to lookup AcoustID: 02 - Tijuana Flow.mp3
Unable to lookup AcoustID: 03 - All I need.mp3
Unable to lookup AcoustID: 03 - Anarchie.mp3
Unable to lookup AcoustID: 04 - An Der Tischtennisplatte.mp3
Unable to lookup AcoustID: 05 - Meisterwerk.mp3
Unable to lookup AcoustID: 06 - Illegalize It.mp3
Unable to lookup AcoustID: 07 - Ring Der Nebelungen.mp3
Unable to lookup AcoustID: 07 - You make it easy.mp3
Unable to lookup AcoustID: 08 - Ce matin la.mp3
Unable to lookup AcoustID: 08 - Green Pangea.mp3
Unable to lookup AcoustID: 09 - 7 Leben.mp3
Unable to lookup AcoustID: 10 - Flywithme.mp3
Unable to lookup AcoustID: 11 - Usain Bolt.mp3
Unable to lookup AcoustID: 12 - Zecken Raus.mp3
Unable to lookup AcoustID: 13 - Trippin.mp3
Unable to lookup AcoustID: 14 - Back 2 Green.mp3
[TEST] Rename [/volume1/pyload/downloads/04 - Kelly watch the stars.mp3] to [/volume1/music/_new.music/Air/Air - Kelly, Watch the Stars!.mp3]
[TEST] Rename [/volume1/pyload/downloads/05 - Talisman.mp3] to [/volume1/music/_new.music/Air/Air - Talisman.mp3]
[TEST] Rename [/volume1/pyload/downloads/06 - Remember.mp3] to [/volume1/music/_new.music/Air/Moon Safari/06. Air - Remember.mp3]
[TEST] Rename [/volume1/pyload/downloads/09 - New star in the sky.mp3] to [/volume1/music/_new.music/Air/Air - New Star in the Sky (Chanson pour Solal).mp3]
[TEST] Rename [/volume1/pyload/downloads/10 - Le voyage de Penelope.mp3] to [/volume1/music/_new.music/Air/Air - Le Voyage de Pénélope.mp3]
Processed 5 files
Processing 19 unsorted files
[TEST] Rename [/volume1/pyload/downloads/01 - La Saga.mp3] to [/volume1/Unsorted/01 - La Saga.mp3]
[TEST] Rename [/volume1/pyload/downloads/01 - La femme d'argent.mp3] to [/volume1/Unsorted/01 - La femme d'argent.mp3]
[TEST] Rename [/volume1/pyload/downloads/02 - Sexy boy.mp3] to [/volume1/Unsorted/02 - Sexy boy.mp3]
[TEST] Rename [/volume1/pyload/downloads/02 - Tijuana Flow.mp3] to [/volume1/Unsorted/02 - Tijuana Flow.mp3]
[TEST] Rename [/volume1/pyload/downloads/03 - All I need.mp3] to [/volume1/Unsorted/03 - All I need.mp3]
[TEST] Rename [/volume1/pyload/downloads/03 - Anarchie.mp3] to [/volume1/Unsorted/03 - Anarchie.mp3]
[TEST] Rename [/volume1/pyload/downloads/04 - An Der Tischtennisplatte.mp3] to [/volume1/Unsorted/04 - An Der Tischtennisplatte.mp3]
[TEST] Rename [/volume1/pyload/downloads/05 - Meisterwerk.mp3] to [/volume1/Unsorted/05 - Meisterwerk.mp3]
[TEST] Rename [/volume1/pyload/downloads/06 - Illegalize It.mp3] to [/volume1/Unsorted/06 - Illegalize It.mp3]
[TEST] Rename [/volume1/pyload/downloads/07 - Ring Der Nebelungen.mp3] to [/volume1/Unsorted/07 - Ring Der Nebelungen.mp3]
[TEST] Rename [/volume1/pyload/downloads/07 - You make it easy.mp3] to [/volume1/Unsorted/07 - You make it easy.mp3]
[TEST] Rename [/volume1/pyload/downloads/08 - Ce matin la.mp3] to [/volume1/Unsorted/08 - Ce matin la.mp3]
[TEST] Rename [/volume1/pyload/downloads/08 - Green Pangea.mp3] to [/volume1/Unsorted/08 - Green Pangea.mp3]
[TEST] Rename [/volume1/pyload/downloads/09 - 7 Leben.mp3] to [/volume1/Unsorted/09 - 7 Leben.mp3]
[TEST] Rename [/volume1/pyload/downloads/10 - Flywithme.mp3] to [/volume1/Unsorted/10 - Flywithme.mp3]
[TEST] Rename [/volume1/pyload/downloads/11 - Usain Bolt.mp3] to [/volume1/Unsorted/11 - Usain Bolt.mp3]
[TEST] Rename [/volume1/pyload/downloads/12 - Zecken Raus.mp3] to [/volume1/Unsorted/12 - Zecken Raus.mp3]
[TEST] Rename [/volume1/pyload/downloads/13 - Trippin.mp3] to [/volume1/Unsorted/13 - Trippin.mp3]
[TEST] Rename [/volume1/pyload/downloads/14 - Back 2 Green.mp3] to [/volume1/Unsorted/14 - Back 2 Green.mp3]
Processed 19 files
Done ヾ(@⌒ー⌒@)ノ

------------------------------------------
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Node music handling

Post by rednoah »

1.
Bliss is simply using existing ID3 tags then (which you could also access in your unsorted format if libmediainfo works).

3.
Yep. The --def audio and unsorted options are currently missing from the GUI. Since you can't disable either you may as well work with it. Just use hardlinks, so all the unwanted unsorted processing will take neither time nor space.
:idea: Please read the FAQ and How to Request Help.
ziemowit
Posts: 32
Joined: 13 Feb 2015, 06:59

Re: FileBot Node music handling

Post by ziemowit »

Code: Select all

Synology> filebot -script fn:sysinfo
FileBot 4.6 (r3052)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
p7zip: Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
chromaprint-tools: fpcalc version 1.1.0 (/usr/local/chromaprint/bin/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.4.3
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_33 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Client VM
CPU/MEM: 4 Core / 239 MB Max Memory / 14 MB Used Memory
OS: Linux (i386)
uname: Linux Synology 3.10.35 #5565 SMP Mon May 11 02:12:55 CST 2015 x86_64 GNU/Linux synology_x86_1010+
Done ヾ(@⌒ー⌒@)ノ
Still out of 24 files only 5 were identified using Acoustic ID. I thought Acoustic ID was better at fingerprinting and identifying those files.
How can I utilize ID3 tags then? I believe mediainfo works on my system? How do i utilize? Is it just different naming schemes?
User avatar
rednoah
The Source
Posts: 22999
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Node music handling

Post by rednoah »

1.
Fingerprinting relies on people submitting fingerprints. As such it's always gonna be incomplete and a hint & miss especially for less popular music.

2.
Use the FileBot Format Editor to prototype your format. You can inspect available mediainfo bindings there as well.

e.g. this should get u the artist:

Code: Select all

{media.Performer}
Image
:idea: Please read the FAQ and How to Request Help.
ziemowit
Posts: 32
Joined: 13 Feb 2015, 06:59

Re: FileBot Node music handling

Post by ziemowit »

Where do I find this tool? Does this run on Synology, OSX or Win7?
EDIT: Found it, Thanks

I chose a simple music format: music/_new.music/{media.performer}/{media.title}
Filebot keeps using acoustic ID and putting those files to unsorted.
Post Reply