INTERACT FORUM

More => Old Versions => JRiver Media Center 29 for Linux => Topic started by: bwa on April 05, 2022, 03:27:37 pm

Title: MC 29 not finding videofiles
Post by: bwa on April 05, 2022, 03:27:37 pm
Using MC 29.0.26 for Linux, no video files is discovered, other than wmv files.

Was like that on MC 28, also.

Am I missing some codecs here ?
Title: Re: MC 29 not finding videofiles
Post by: JimH on April 05, 2022, 04:16:55 pm
Check your auto import settings and edit the directories to check the file types you're importing.
Title: Re: MC 29 not finding videofiles
Post by: bwa on April 06, 2022, 11:23:29 am
Quite sure that the folder and options are correct....

m2ts files is just not discovered
Title: Re: MC 29 not finding videofiles
Post by: bwa on April 06, 2022, 11:27:56 am
I even tried a single folder, but no luck
Title: Re: MC 29 not finding videofiles
Post by: JimH on April 06, 2022, 01:27:41 pm
Case sensitivity somewhere?

Title: Re: MC 29 not finding videofiles
Post by: bwa on April 06, 2022, 02:53:02 pm
I seriously doubt that. All paths are browsed, and music and pictures are found fine. I even found the movies by importing as datafiles.

Something is making MC ignore videos other than wmv
Title: Re: MC 29 not finding videofiles
Post by: JimH on April 06, 2022, 03:11:01 pm
If you imported the files as data files, just edit the Media Sub-type tag.
Title: Re: MC 29 not finding videofiles
Post by: bob on April 07, 2022, 10:00:37 am
MC has to download a video component to parse the video files that it's importing.
If it's unable to do that for any reason it will not be able to parse them and they will end up as documents or data in MC's DB.

There are several reasons why that video component might not work.

1) You are not connected to the internet
2) You are running on a non-debian derived distro and your ssl certificate store isn't in the debian place.
3) You are running on a non-debian derived distro and your distro doesn't have the proper libraries to support the video component.
4) You've got permissions/ownership issues in the home directory where the plugin is downloaded to.

Look in ~/.jriver/Media\ Center\ 29\Plugins to see if the libav component exists.
Title: Re: MC 29 not finding videofiles
Post by: bwa on April 07, 2022, 11:51:27 am
Bob: Nice.

This is my plugins, not shure if that is one of the expected

drwxrwxr-x  5 bwa bwa 4096 Apr  5 22:24 .
drwxrwxr-x 14 bwa bwa 4096 Apr  6 18:37 ..
drwxrwxr-x  2 bwa bwa 4096 Apr  5 22:09 linux_avcodec64
drwxrwxr-x  4 bwa bwa 4096 Apr  5 22:03 linux_chromium64
drwxrwxr-x  2 bwa bwa 4096 Apr  5 22:24 linux_libplacebo64
bwa@prod:~/.jriver/Media Center 29/Plugins$

bwa@prod:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal



Title: Re: MC 29 not finding videofiles
Post by: bob on April 07, 2022, 11:54:07 am
It's the libavcodec.
What distro are you running on?
Title: Re: MC 29 not finding videofiles
Post by: bwa on April 07, 2022, 11:55:32 am
Bob, you just beat me with a couple of seconds, see above
Title: Re: MC 29 not finding videofiles
Post by: bwa on April 07, 2022, 12:01:40 pm
The 'funny' thing is my other Ubuntu 20.04 LTS with MC 28 finds all video files, even with :

bwa@prod2:~/.jriver/Media Center 28/Plugins$ ls -la
total 16
drwxrwxr-x  4 bwa bwa 4096 Sep  1  2021 .
drwxrwxr-x 13 bwa bwa 4096 Jan 29 23:19 ..
drwxrwxr-x  2 bwa bwa 4096 Sep  1  2021 linux_avcodec64
drwxrwxr-x  4 bwa bwa 4096 Sep  1  2021 linux_chromium64



Title: Re: MC 29 not finding videofiles
Post by: bob on April 07, 2022, 12:02:33 pm
Change into the linux_avcodec64 directory

do
export LD_LIBRARY_PATH=`pwd`
(note those are backquotes, on the tilde key)
Then
ldd * | grep -i found

Should return nothing.
Title: Re: MC 29 not finding videofiles
Post by: bob on April 07, 2022, 12:08:19 pm
If the test for missing libraries returns nothing do this:

1) make sure that the files aren't showing up under data or documents. If they do the delete to remove them from the library ONLY (don't choose to delete the files).
2) make a new smartlist. Name it bad or removed. Hit x to remove the stock rule. Under Modify Results choose Limit databse to and select removed and bad. Hit OK.
3) If there are entries in the smartlist, highlight them. Hit delete and remove them from the database. Refresh that smartlist. If any show up again repeat the delete, remove.
4) Try to re-import the video files.
Title: Re: MC 29 not finding videofiles
Post by: bwa on April 07, 2022, 12:12:44 pm
Change into the linux_avcodec64 directory

do
export LD_LIBRARY_PATH=`pwd`
(note those are backquotes, on the tilde key)
Then
ldd * | grep -i found

Should return nothing.

result:


bwa@prod:~/.jriver/Media Center 29/Plugins$ cd linux_avcodec64/
bwa@prod:~/.jriver/Media Center 29/Plugins/linux_avcodec64$ export LD_LIBRARY_PATH=`pwd`
bwa@prod:~/.jriver/Media Center 29/Plugins/linux_avcodec64$ ldd * | grep -i found
bwa@prod:~/.jriver/Media Center 29/Plugins/linux_avcodec64$
Title: Re: MC 29 not finding videofiles
Post by: bwa on April 07, 2022, 12:30:57 pm
If the test for missing libraries returns nothing do this:

1) make sure that the files aren't showing up under data or documents. If they do the delete to remove them from the library ONLY (don't choose to delete the files).
2) make a new smartlist. Name it bad or removed. Hit x to remove the stock rule. Under Modify Results choose Limit databse to and select removed and bad. Hit OK.
3) If there are entries in the smartlist, highlight them. Hit delete and remove them from the database. Refresh that smartlist. If any show up again repeat the delete, remove.
4) Try to re-import the video files.


awesome !!

Now all files was discovered, I got a good feeling then the smartlist contained massive entries, even with no items showing up in MC.

Then 200.000 entries is imported fine.

Thanks, bob !
Title: Re: MC 29 not finding videofiles
Post by: djp on May 12, 2022, 08:19:10 am
I'm seeing a similar problem (info files showing up as documents), but the above instructions don't seem to help. I've tried it with both a Fedora 35 install, and Ubuntu 22.04. Both we're installed using the installJRMC script, which worked cleanly. The ldd command did not find new libraries in either case, and both installs have internet access. Ideas? Oh, and both are running on KDE Plasma.
Title: Re: MC 29 not finding videofiles
Post by: bob on May 12, 2022, 08:52:09 am
I'm seeing a similar problem (info files showing up as documents), but the above instructions don't seem to help. I've tried it with both a Fedora 35 install, and Ubuntu 22.04. Both we're installed using the installJRMC script, which worked cleanly. The ldd command did not find new libraries in either case, and both installs have internet access. Ideas? Oh, and both are running on KDE Plasma.
Did you delete them from documents before creating the bad/removed smartlist?
You need to do that first.
When deleting only choose the first option of the delete, remove from library.
Title: Re: MC 29 not finding videofiles
Post by: djp on May 13, 2022, 01:55:00 pm
[FWIW, yes I did delete the library entries per the instructions]
After digging deeper, it's a *lot* more bizarre! Looking carefully, I discovered that there were 3 movies that were imported correctly (out of ~1000 total)! So, I:
1) Set up a test directory with 3 movies in it (one of the three "special" movies, and two other random ones
2) Totally wiped the Library ("Clear Library....")
3) Deleted all MediaCenter files from the Movie directories (e.g. Sidecar, jpg). Verified that all three movies had identical ownership and permissions on all files.
4) Performed a Single Folder Import on the test directory
Result was that the special Movie ifo was imported as Video, the other two were imported as Documents.

 ? ? ?

Setup:
Kubuntu 22.04, MediaCenter 29.0.41 installed via installJRMC script. Movies were ripped using AnyDVD, and all three movies imported and played without issue on Windows MC.
Title: Re: MC 29 not finding videofiles
Post by: bob on May 13, 2022, 05:08:11 pm
[FWIW, yes I did delete the library entries per the instructions]
After digging deeper, it's a *lot* more bizarre! Looking carefully, I discovered that there were 3 movies that were imported correctly (out of ~1000 total)! So, I:
1) Set up a test directory with 3 movies in it (one of the three "special" movies, and two other random ones
2) Totally wiped the Library ("Clear Library....")
3) Deleted all MediaCenter files from the Movie directories (e.g. Sidecar, jpg). Verified that all three movies had identical ownership and permissions on all files.
4) Performed a Single Folder Import on the test directory
Result was that the special Movie ifo was imported as Video, the other two were imported as Documents.

 ? ? ?

Setup:
Kubuntu 22.04, MediaCenter 29.0.41 installed via installJRMC script. Movies were ripped using AnyDVD, and all three movies imported and played without issue on Windows MC.
Please repeat with logging turned on and post the log here or email it to
bob (at) jriver (dot) com
Thanks.