POSTBUCKET - where random posts in unrelated topics go

Any questions? Need some help?
Cyb3rGh05t
Posts: 29
Joined: 17 May 2019, 11:47

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Post by Cyb3rGh05t »

how do i add my liscense to the package?
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Post by rednoah »

Cyb3rGh05t wrote: 19 Jan 2020, 11:51 how do i add my liscense to the package?
Please read the log, or the documentation: https://www.filebot.net/activate.html
:idea: Please read the FAQ and How to Request Help.
Cyb3rGh05t
Posts: 29
Joined: 17 May 2019, 11:47

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Post by Cyb3rGh05t »

rednoah wrote: 19 Jan 2020, 11:54
Cyb3rGh05t wrote: 19 Jan 2020, 11:51 how do i add my liscense to the package?
Please read the log, or the documentation: https://www.filebot.net/activate.html
THANK YOU
Cyb3rGh05t
Posts: 29
Joined: 17 May 2019, 11:47

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Post by Cyb3rGh05t »

i get some errors with the command

Code: Select all

filebot -script fn:sysinfo

Code: Select all

FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bi                                                                                                                     t) native library libmediainfo.so: Unable to load library 'mediainfo': Native li                                                                                                                     brary (linux-x86-64/libmediainfo.so) not found in resource path ([file:/root/fil                                                                                                                     ebot-portable/jar/filebot.jar])
7-Zip-JBinding: 9.20
Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such                                                                                                                      file or directory
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_232
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 6 Core / 6 GB Max Memory / 25 MB Used Memory
OS: Linux (amd64)
HW: Linux optimusprime 4.4.0-171-generic #200-Ubuntu SMP Tue Dec 3 11:04:55 UTC                                                                                                                      2019 x86_64 x86_64 x86_64 GNU/Linux
DATA: /root/filebot-portable/data/root
Package: TAR
License: FileBot License P7950282 (Valid-Until: 2020-05-23)
Done ヾ(@⌒ー⌒@)ノ
What did i miss?

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

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Post by rednoah »

libmediainfo.so is either not installed or not compatible with your system:

Code: Select all

MediaInfo: net.filebot.mediainfo.MediaInfoException: Unable to load amd64 (64-bit) native library libmediainfo.so: Unable to load library 'mediainfo': Native library (linux-x86-64/libmediainfo.so) not found in resource path ([file:/root/filebot-portable/jar/filebot.jar])
fpcalc is not installed:

Code: Select all

Chromaprint: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory

:idea: libmediainfo.so and fpcalc are optional dependencies. You may or may not need either, depending on your use case. You will find many many many threads here in this forum discussing how to get libmediainfo.so working on various platforms.


:idea: If you're using a Debian-based OS such as Ubuntu, then I recommend using APT package management for dependencies: https://www.filebot.net/linux/apt.html
:idea: Please read the FAQ and How to Request Help.
forceflow
Posts: 1
Joined: 25 Jan 2020, 02:04

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Post by forceflow »

Ubuntu 19.10, OpenJDK 8, licensed version of filebot.

I've used this script, and all works well (with OpenJDK 8).
When I run update_filebot.sh however, I always end up with a version that gives me an error when I try to run it:

Code: Select all

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:495)
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [TAR] How to install FileBot on Linux / FreeBSD / Solaris / any Unix OS

Post by rednoah »

Sorry, the incremental update script only works for the Java 11 build, but not the Java 8 compatibility build.
:idea: Please read the FAQ and How to Request Help.
fud18
Posts: 5
Joined: 04 Feb 2020, 16:45

Re: Plex Naming Schemes

Post by fud18 »

I recently noticed that some of my movies were not getting their meta data in Plex unless I manually matched the titles. What I noticed was preventing this was having A|An|The at the beginning. According to Plex's website/forums if you place anything after a parenthesis it will not detect it which allows the files to match correctly. Below are the naming formats I have tried with examples. Any help would be greatly appreciated to get my naming to work like Example 3.
Example 1:
  • The Fly (1986) is matched correctly in Plex, but I want proper sort with the The at the end
    Filebot naming script: {n.replace(':',' - ')} ({y})
Example 2:
  • Fly, The (1986) is not matched correctly in Plex.
    Filebot naming script: {n.sortName('$2, $1').replace(':',' - ')} ({y})
Example 3 (What I would like): Fly (1986), The
  • If the current file does not begin with "A|An|The" the naming is done incorrectly as such
    Hamburger: The Motion Picture (1986) = Hamburger: The Motion Picture (1986), Hamburger: The Motion Picture
    The Fly (1986) = Fly (1986), The
    Filebot naming script: {n.sortName('$2').replace(':',' - ')} ({y}){n.sortName(', $1').replace(':',' - ')}
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex Naming Schemes

Post by rednoah »

AFAIK, what you would like is is not what Plex would like to see:
https://support.plex.tv/articles/categories/your-media/

:idea: {plex} is the way to go. It may not be what you want, but it'll be what Plex wants and expects. You can do things differently, and maybe it'll mostly work, or maybe it'll sometimes not work, either way, no guarantees once you start ignoring the standard if favor of your own preferences. ;)

Code: Select all

{plex}
:idea: Please read the FAQ and How to Request Help.
fud18
Posts: 5
Joined: 04 Feb 2020, 16:45

Re: Plex Naming Schemes

Post by fud18 »

Thanks for the reply rednoah, I have tried that, but I don't want all the A|An|The's lumped together...makes it a real nightmare to try and remove files if I am bouncing around all over the place. I will face the consequences of the way I want it named if someone can just tell me how to the the A|An|The from the beginning of the title to after the date as provided in my example. I have tested it and it works flawlessly that's why I want to do it plus then I can find them easy in windows explorer to remove movies I no longer want.
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex Naming Schemes

Post by rednoah »

You could do n.sortName() to remove the A and The altogether, since that'll probably mess with Plex the least:

Code: Select all

n.sortName()
:idea: Please read the FAQ and How to Request Help.
fud18
Posts: 5
Joined: 04 Feb 2020, 16:45

Re: Plex Naming Schemes

Post by fud18 »

But how do I add the removed part back after the (year)?
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Plex Naming Schemes

Post by rednoah »

Assuming that Plex ignores everything after the Name (Year) part, you can try this:

Code: Select all

ny.sortName('$2, $1')
:idea: Please read the FAQ and How to Request Help.
fud18
Posts: 5
Joined: 04 Feb 2020, 16:45

Re: Plex Naming Schemes

Post by fud18 »

That worked like a charm. Thanks so much rednoah!!!!!
juan
Posts: 2
Joined: 12 Feb 2020, 10:38

Re: Metadata and Extended Attributes

Post by juan »

Can this be used to save the audios and subtitles mediainfo of the multimedia file?

It could be great to have this added to the xattr attributes (or file), so, Plex don't need to scan the multimedia file to get the audio and subtitle languages, the default audio, the forced subtitles, the duratión of the film....

This with a combination of an unionfs or mergerfs to save the xattr attributes, and rclone with a cloud provider (like a gsuite), could be perfect.

Or maybe apart of the xattr attributes, the data could be saved on an .nfo like the one that jellyfin creates, that have all this information!!

Code: Select all

  <fileinfo>
    <streamdetails>
      <video>
        <codec>h264</codec>
        <micodec>h264</micodec>
        <bitrate>10312878</bitrate>
        <width>1872</width>
        <height>1080</height>
        <aspect>26:15</aspect>
        <aspectratio>26:15</aspectratio>
        <framerate>23.97602</framerate>
        <scantype>progressive</scantype>
        <default>True</default>
        <forced>False</forced>
        <duration>46</duration>
        <durationinseconds>2780</durationinseconds>
      </video>
      <audio>
        <codec>ac3</codec>
        <micodec>ac3</micodec>
        <bitrate>192000</bitrate>
        <language>spa</language>
        <scantype>progressive</scantype>
        <channels>2</channels>
        <samplingrate>48000</samplingrate>
        <default>True</default>
        <forced>False</forced>
      </audio>
      <audio>
        <codec>dts</codec>
        <micodec>dts</micodec>
        <bitrate>1536000</bitrate>
        <language>eng</language>
        <scantype>progressive</scantype>
        <channels>6</channels>
        <samplingrate>48000</samplingrate>
        <default>False</default>
        <forced>False</forced>
      </audio>
      <subtitle>
        <codec>subrip</codec>
        <micodec>subrip</micodec>
        <language>spa</language>
        <scantype>progressive</scantype>
        <default>False</default>
        <forced>False</forced>
      </subtitle>
      <subtitle>
        <codec>subrip</codec>
        <micodec>subrip</micodec>
        <language>eng</language>
        <scantype>progressive</scantype>
        <default>False</default>
        <forced>False</forced>
      </subtitle>
    </streamdetails>
  </fileinfo>
  
Or maybe it's not even possible to send this information to plex.
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Metadata and Extended Attributes

Post by rednoah »

FileBot xattr metadata does not include MediaInfo, since that's readily available in the file itself. There are existing scripts for exporting MediaInfo, but there's no standardized way of passing any of that information on to Plex or Jellyfin. You could write your own integration though.
:idea: Please read the FAQ and How to Request Help.
devster
Posts: 391
Joined: 06 Jun 2017, 22:56

Re: Metadata and Extended Attributes

Post by devster »

Is there a script to convert from one type of xattr.store to another?
In particular I'm thinking about switching to plain text files instead of embedded for a filesystem change.
I only work in black and sometimes very, very dark grey. (Batman)
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Metadata and Extended Attributes

Post by rednoah »

--apply metadata can be used to export xattr to .xattr folders and files:
viewtopic.php?t=11079
:idea: Please read the FAQ and How to Request Help.
juan
Posts: 2
Joined: 12 Feb 2020, 10:38

Re: --mode interactive

Post by juan »

Could be handy if we can see for each option the tvdb or themoviedb id, because sometimes some series or movies have the same name, so we need more info to choose the correct option!
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: --mode interactive

Post by rednoah »

Can you provide specific examples? Screenshots?
:idea: Please read the FAQ and How to Request Help.
mouzzampk2014
Posts: 17
Joined: 07 Jan 2019, 00:49

Re: [DEB] Debian package

Post by mouzzampk2014 »

Hi, I currently installed filebot on ubuntu 18.04 via this

Code: Select all

bash -xu <<< "$(curl -fsSL https://raw.githubusercontent.com/filebot/plugins/master/installer/deb.sh)"
because

Code: Select all

sudo apt-get install filebot
gave me errors.

And I believe `4.9.0` is ready for release. So I am not sure how I am going to update from current version?

Code: Select all

4.8.5 to 4.9.0
And is there any reason I am getting this error on two different machine with same ubuntu 18.04 when I try to install via this?

Code: Select all

sudo apt-get install filebot
Thank you
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [DEB] Debian package

Post by rednoah »

FileBot 4.9.0 is in beta and no final release has been published at this point in time. The apt repository is only available for the latest stable release, which is FileBot 4.8.5 at the time of writing.
:idea: Please read the FAQ and How to Request Help.
mouzzampk2014
Posts: 17
Joined: 07 Jan 2019, 00:49

Re: [DEB] Debian package

Post by mouzzampk2014 »

rednoah wrote: 22 Feb 2020, 06:43 FileBot 4.9.0 is in beta and no final release has been published at this point in time. The apt repository is only available for the latest stable release, which is FileBot 4.8.5 at the time of writing.
Oops then I definitely read it wrong somewhere about 4.9.0 :D but when I tried to install 4.8.5 via apt repository I was getting errors so I have been told to run it via bash. Now I am little confuse.
User avatar
rednoah
The Source
Posts: 19435
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [RPM] Fedora package

Post by rednoah »

rednoah wrote: 10 May 2019, 14:19 The RPM package is tested on Fedora.

Since some of these dependency are optional, or can be provided by the user manually, Requires is not ideal, but since there's no Recommends AFAIK, this is what we've got:

Code: Select all

Requires:       java-1.8.0-openjdk
Requires:       java-1.8.0-openjdk-openjfx
Requires:       jna
Requires:       mediainfo
Requires:       p7zip
Requires:       p7zip-plugins
Using Recommends now leads to users not installing the recommended dependencies:
* viewtopic.php?t=11605
* viewtopic.php?t=11569
:idea: Please read the FAQ and How to Request Help.
aryanprincesanty
Posts: 2
Joined: 24 Mar 2020, 05:32

Re: Conditional Structures (if-then-else)

Post by aryanprincesanty »

Can someone help me with making an if else condition for {group}? I have movies from 2 main groups, Tigole and YTS (YTS.LT, YTS.MX, YTS.AM). I want my files to look like:

Code: Select all

 8 Mile (2002) [1080p BLURAY x265 10-bit AAC 5.1 QxR] 

Code: Select all

 Ad Astra (2019) [1080p WEBRIP x264 8-bit AAC 2.0 YTS.LT] 
I want it such that if file contains Tigole or QxR, I want it to have Tigole in filename. If file contains YTS.LT, YTS.MX, YTS.AM or nothing, I want it to have only YTS in filename.
Post Reply