INTERACT FORUM

Please login or register.

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

Author Topic: JRiver won't play file unless it's renamed  (Read 898 times)

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
JRiver won't play file unless it's renamed
« on: September 14, 2018, 01:35:46 am »

So I'm afraid I have a rather absurd question I have to ask...

I have a file, Thor.mkv, which used to play fine, but tonight MC decided it will no longer play this file.  Screen goes black for a few seconds, then exits back to the main screen.  Delete from library and re-add, same problem.  Delete from library, and "Open with JRiver Media Center" from windows explorer, same problem.

There is absolutely zero wrong with this file.  If I rename the file to Thor2.mkv, MC plays it just fine.

So obviously I am not going to permanently rename my movie to get around this nonsense. 

I'm guessing JRiver has cached something (corrupt) about this file (tied to the name) that is giving it fits.

So can anyone tell me what sort of voodoo I have to do to make MC play this file again properly, clearing the cache, or list of deleted files, or whatever other nonsense is required?

I'd be grateful if anyone could help with this frustrating and annoying problem...
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: JRiver won't play file unless it's renamed
« Reply #1 on: September 14, 2018, 02:23:58 am »

You are correct, MC keeps all the tag metadata for any deleted file and reuses it if that file is imported again. You must have had some bad tag data for Thor.mkv, perhaps in the [Playback Info] tag. You could just check and clear that tag if you currently have Thor.mkv in the Library. That may also fix it. Could also be a bad [Bookmark] position. Could try clearing that as well.

If the above doesn't work, create a View under the Video group and restrict it to the "Removed" database, no other rules. You should find the Thor.mkv movie in there. Delete it. Search for it a second time to be sure it is gone. It sometimes needs to be removed twice.

Re-import the Thor.mkv file, which should now be treated as a new import. Should work now.

Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: JRiver won't play file unless it's renamed
« Reply #2 on: September 14, 2018, 04:02:36 am »

Thanks Roderick...

It was indeed a bad bookmark.

The root cause is that JRiver doesn't handle MKVs with ordered chapters properly.  It thinks the length of the video is the total duration of the file, rather than the duration of the edition as structured.  (This is an old problem, reported years ago here: https://yabb.jriver.com/interact/index.php/topic,92378.0.html )

Because MC uses the wrong duration for the video, it does not clear the bookmark when it should (96% != 96%), and the video gets perpetually "stuck" at the last frame.

Obviously one can use work-arounds like changing the resume behavior or manually disabling bookmarks for files with ordered chapters, but that's sad.

I'm running the latest LAV, and a very recent MadVR (the last couple of versions have broken subtitles).

But I don't know if the flaw with ordered chapter duration lies in LAV, MadVR, or MC.  Maybe someone from JRiver would know?

Logged

TheShoe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 814
Re: JRiver won't play file unless it's renamed
« Reply #3 on: September 14, 2018, 06:38:48 am »

why not also have an option to delete the metadata info when deleting the file from the lib?

this happened to me with bookmarks very recently.   i kept trying to delete the bookmark but MC would not allow it either (could highlight but not edit)

Logged

wer

  • Citizen of the Universe
  • *****
  • Posts: 2640
Re: JRiver won't play file unless it's renamed
« Reply #4 on: September 15, 2018, 05:34:25 pm »

Well I make sure that all the needed library info is saved in the tags or sidecar files anyway.  So with that capability, I'm puzzled as to what benefit keeping the metadata in the library after deletion actually provides.  Seems counter-productive to me.

The auto-import function does have an option to clean out old data.  You can also do it through a special smartlist but that requires obscure black magic knowledge.  In either case, needing to do it at all seems strange to me.

Does anyone have any idea where the source of the mkv ordered chapters duration issue lies? (MadVR/LAV/JRiver?)
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10789
Re: JRiver won't play file unless it's renamed
« Reply #5 on: October 13, 2018, 04:04:42 pm »

I've added some additional logic to the bookmarking handling that hopefully solves issues with files that can have varying durations. Its not only that the  length in the database was that of the entire file, but also that when you select different editions, the duration can change and will always mis-match the database then in some case or another, screwing up bookmarking.

One note though, I cannot really fix already "broken" bookmark tags quite so easily because of the varying duration of files. Instead it'll avoid writing them. If its wrong, the first attempt to play the file may still fail, but then it'll clear the bookmark and the second attempt should work.
Logged
~ nevcairiel
~ Author of LAV Filters
Pages: [1]   Go Up