INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC 33 with Ubuntu 24.04.2 LTS - intermittent file not found error on playback  (Read 517 times)

sg27

  • Recent member
  • *
  • Posts: 12

I am a rank beginner with Linux but a very long time user of MC on Windows.  I installed Ubuntu on an old Dell Inspiron 15 and successfully installed MC 33 for Linux.  MC worked fine until I tried to import my library from Windows in order to restore tags and playlists.  As I used to do in Windows with new installations, I used find and replace inside the Rename, Move and Copy function to change the file location tag from the music directory on my windows installation to the music directory on the Ubuntu installation.  Now, sometimes playback works fine and MC finds the file and other times it does not.  I have not been able to discern the difference between the two contexts.  Any ideas?  When I hover over a song in the Audio view, the file path appears correct.  It also appears correct in the Filename field of a song.

On an unrelated but really annoying note, whenever MC 33 opens a window after I have clicked on a menu item, the window is barely visible because it is so small.  I can drag the corner of the window so that I can make bigger.  Any way to fix this?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8175
  • The color of Spring!

Where are the files located? Internal drive? NAS? If it's a separate drive or NAS, how is it mounted? Through fstab?

On an unrelated but really annoying note, whenever MC 33 opens a window after I have clicked on a menu item, the window is barely visible because it is so small.  I can drag the corner of the window so that I can make bigger.  Any way to fix this?

Known quirk about MC on Linux, no workaround other than resizing when it happens unfortunately.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.3.2 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2888

Please paste a sample file path for a file that doesn't work.
If you restored a Windows library backup, you should edit your platform.jmd file and change it to 'Linux' so that MC handles backslashes correctly. Not sure if you also need to replace \ to / on all files.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14100

Where are the files located? Internal drive? NAS? If it's a separate drive or NAS, how is it mounted? Through fstab?

Known quirk about MC on Linux, no workaround other than resizing when it happens unfortunately.
Steps to reproduce? Doesn't happen for me.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8175
  • The color of Spring!

If you mean the small windows, the easiest way is to use a distro that uses Wayland (it does happen in X11 too apparently, but I imagine it's harder to reproduce). Dialogs like the about dialog, the dialog that pops up when doing a library backup, etc. are usually where I see it the most.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.3.2 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

cochinada

  • Galactic Citizen
  • ****
  • Posts: 298

If you mean the small windows, the easiest way is to use a distro that uses Wayland (it does happen in X11 too apparently, but I imagine it's harder to reproduce). Dialogs like the about dialog, the dialog that pops up when doing a library backup, etc. are usually where I see it the most.

It has happening to me quite often in the last hour. What I'm doing is simply getting TV Show info from Internet and Cover art as well so I'm able to reproduce it easily in case you are interested.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14100

Oh, I see, I'm not using Wayland and I've never seen the behavior without that.
It's almost certainly a Wayland bug in it's X emulation. There might be a workaround though if you any of you have a 100% reproducable  scenario.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8175
  • The color of Spring!

It happens on X too, it's just Wayland somehow makes it easier to get it to happen.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.3.2 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14100

It has happening to me quite often in the last hour. What I'm doing is simply getting TV Show info from Internet and Cover art as well so I'm able to reproduce it easily in case you are interested.
And it's AFTER accessing a menu item?
Is the menu in the normal place on the window or has the desktop moved it?
Logged

cochinada

  • Galactic Citizen
  • ****
  • Posts: 298

And it's AFTER accessing a menu item?
Is the menu in the normal place on the window or has the desktop moved it?

No. It happened a lot when I was using the right button click and option "Get Movie & TV Info..." or "Cover Art/Get from Internet". All right click options as you can check.
It didn't happened 100% but above 75% or so.
All this in Standard View with the MC window maximized.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5280
  • "Linux Merit Badge" Recipient

And it's AFTER accessing a menu item?
Is the menu in the normal place on the window or has the desktop moved it?

So Bob I see this about once or twice a month using Wayland, usually when I open a dialog that I haven't opened in a while.  It's usually roughly in the right "location" it's just tiny.  If I fix the window it generally stays fixed for a while, but then reverts eventually.  It happens when the dialog or menu is opened, not during interaction with the dialog or menu (it just spawns tiny).

I can't reliably reproduce it as I haven't figured out what triggers the reversion, but it seems to be a function of either time or maybe version upgrades?  For example, I might take benchmarks once or twice a year so almost every time I open the benchmark window it's tiny, but if I open it a few days after my last benchmark its always fine.  So my advice to reproduce would be to go to a wayland environment and try opening a bunch of different settings windows you haven't used in a while. 

EDIT:  In testing it looks like every second or third time I open the "Get Cover Art from the Internet" dialog it's tiny, so I'll second cochinada's suggestion of using that to reproduce the issue as it reliably fails here.  I hadn't noticed because I only use wayland on client machines where I don't do cover art operations.  It doesn't happen that frequently to most other windows although appears to affect almost every dialog window sometimes.
Logged

sg27

  • Recent member
  • *
  • Posts: 12

Thanks to everyone who responded.  I appreciate it.

The Dell laptop has two hard drives and came that way from Dell when I originally bought it as a Windows box.  Ubuntu is now the only operating system on the machine and it is running on the 124GB drive.  The music data is stored in a folder I called MC Music on a 1TB drive rather than in the default Ubuntu music folder.

I just booted up the laptop to grab the file path to post here and this time around Media Center is finding the files.  All I did after booting the machine was double click on Media Center icon in the left toolbar on the desktop to open the app.  Then I double clicked on several different songs including songs I know I had trouble with in the past and also other songs in the library. 

I then decided to restart the machine again to see what it would do and this time, literally minutes later, Media Center gave me the File Could Not Be Found error again on all songs.

So I exited Media Center, double clicked on the files folder and then reopened Media Center and it found the songs again.

Here's the path as seen in Media Center: \media\sophie\Data\JRMCMusic . When I look on the drive called Data to see the file path there of the audio file outside of Media Center, it is the same except for the slashes showing in the opposite direction.

Zydex, yes, it was a Windows library back up.  Can I edit platform.jmd after I have restored the library?  I did search and only found plaftorm.jmd in the zip file where I saved the library backup before installing it.
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2888

Yes, you can (and need to) edit the platform.jmd, but not the one in the ZIP file. You should find the actual folder where the library lives - check in ~/.jriver/Media Center 33/Library
Logged

sg27

  • Recent member
  • *
  • Posts: 12

Hi Zybex,
I went looking for the JRiver folder.  I discovered that inside the JRiver program files folder, there is both a folder called MC33 and a folder called Media Center 33.  Could this be the source of my problem?  In neither of them is there a platform.jmd file.

Should I have both of these folders, MC33 and Media Center 33?  Is this an artifact of trying to install a library backup from Windows?  There is no library folder in either the MC33 or Media Center 33 folder.

How do I resolve the lack of a platform.jmd file? 
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2888

Not sure if the linux install has both an MC33 and a Media Center 33 folder, it's possible. Or maybe you tried to install it twice?

The platform.jmd not missing, you just can't find it. The library folder contains many .jmd files (like the contents of that ZIP backup) - it has to be there somewhere. The ".jriver" folder may be hidden to you because it starts with a dot.

You can see the current path to your library in MC - click on the library name on the tree:
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 8175
  • The color of Spring!

There shouldn't be a MC33 folder, but then again I've never done an library backup from Windows to Linux.

One tip I have is to make sure you have hidden files enabled in the Files app in Ubuntu, otherwise you may not see some files. My only other tip would be to make sure to never start mediacenter33 with sudo or su or anything like that, as that can and will cause issues.

The platform.jmd file should be located here:



If you're not opposed to starting over with MC, you could clear the existing library and re-import the library backup. Instead this time open the library backup .zip file, open the platform.jmd file in a text editor and change the contents from [Platform]=Windows to [Platform]=Linux and save it and make sure it's in the .zip file and then import that. If you're unable to do that, you could upload your library backup here and I can make the platform modification for you.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit (AMD 7900X CPU/AMD 7800 XT GPU/64GB RAM/2TB M.2 NVMe SSD)
macOS Sequoia 15.3.2 (M4 Mac Mini 16GB RAM/256GB SSD)
Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Mac + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

sg27

  • Recent member
  • *
  • Posts: 12

Yes, Awesome Donkey & Zybex, I am starting to think I should uninstall MC33 and start over.  What's the best way to thoroughly uninstall MC 33 fully so that all of these files are properly deleted including these multiple program files?  I'm thinking about how messy and incomplete uninstall can be in Windows.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14100

There shouldn't be a MC33 folder, but then again I've never done an library backup from Windows to Linux.

One tip I have is to make sure you have hidden files enabled in the Files app in Ubuntu, otherwise you may not see some files. My only other tip would be to make sure to never start mediacenter33 with sudo or su or anything like that, as that can and will cause issues.

The platform.jmd file should be located here:



If you're not opposed to starting over with MC, you could clear the existing library and re-import the library backup. Instead this time open the library backup .zip file, open the platform.jmd file in a text editor and change the contents from [Platform]=Windows to [Platform]=Linux and save it and make sure it's in the .zip file and then import that. If you're unable to do that, you could upload your library backup here and I can make the platform modification for you.

The MC33 "folder" in /usr/lib/jriver is not a folder, it's a symlink to the Media Center 33 folder. It's necessary for the main program and the libraries to find each other. You should NOT remove it!
Logged
Pages: [1]   Go Up