INTERACT FORUM

Please login or register.

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

Author Topic: JRiver Media Center 30.0.96 for Debian Buster (amd64, i386, arm64 and armhf)  (Read 12784 times)

bob

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

This is the latest build of MC30 for Linux.  Please post bugs here.  Please start a new thread for anything requiring discussion.  Non-bug posts will be deleted.

Download:
Linux AMD64: https://files.jriver-cdn.com/mediacenter/channels/v30/latest/MediaCenter-30.0.96-amd64.deb
Linux ARM64: https://files.jriver-cdn.com/mediacenter/channels/v30/latest/MediaCenter-30.0.96-arm64.deb
Linux ARMHF: https://files.jriver-cdn.com/mediacenter/channels/v30/latest/MediaCenter-30.0.96-armhf.deb
Linux i386: https://files.jriver-cdn.com/mediacenter/channels/v30/latest/MediaCenter-30.0.96.deb

Also in the latest repo.


30.0.96 (5/25/2023)

1. Changed: Internal server changes.

30.0.95 (5/11/2023)

1. Changed: Internal server changes.

30.0.93 (4/20/2023)

1. Fixed: MPC/Musepack audio decoding was broken.
2. Changed: Updated Cloudplay for a future hosting backend change.
3. Changed: Reverted changing list styles clicking empty area of tabs.

30.0.90 (3/31/2023)

1. Fixed: MC could crash when recording in TS format on certain DVB channels.
2. Changed: Increased the wait time between channels during OTA EPG scan (DVB).
3. Changed: Slovak translation updated (thanks Peter Lukac).
4. Changed: Made a German language tweak (thanks Purecut).
5. Changed: Added some more accents to the lookup / conversion routines.

30.0.87 (3/27/2023)

1. Fixed: Importing a Blu-ray folder rip (BDMV) will more aggressively exclude auxiliary data files from being imported separately.
2. Changed: Updated the Catalan language (thanks Josep).
3. NEW: Added a "Formatted" flag to requests for file information from MCWS to format MPL or JSON responses.
4. Changed: Updated Greek translation (thanks Panagiotis).
5. Fixed: Internal fix to prevent crashes on certain string operations.
6. Fixed: Dragging tabs could lose the selected tab with some views.
7. Changed: When closing tabs, the last tab used is opened (instead of the far right tab).
8. NEW: Left-clicking the empty area of the tabs rolls through list styles.
9. Changed: The Get Movie & TV Info dialog remembers the last size and position (and also maximizes to fullscreen when the option is selected).
10. Changed: Updated to Monkey's Audio 10.06.  Supports 32-bit floating point.
11. Fixed: Manage TV Channels window failed to show scrambled status in Details for DVB-C and DVB-S channels.
12. Fixed: VST3 plugins that used a legacy method of initialization were not working.
13. Fixed: Streamlined filesystem watching code for auto-import to remove duplicate events and only trigger on a write&close or delete.

30.0.83 (3/17/2023)

1. Changed: Made the total discs and total tracks tool not operate on Podcasts, Test Clips, or Audiobooks.
2. NEW: Total Tracks is updated each run along with Total Discs.
3. Changed: MC no longer jumps to display view, even when so configured, when playing the WDM driver.
4. Changed: The ALT key no longer highlights the menu when a popup is showing.
5. NEW: DVB TV channel scan will save Scrambled status in TV channel's Keywords tag.  On "Manage TV Channels" window the channels' scrambled status is marked True or False in "Details".
6. Fixed: When converting format of files that were particles, and if the user chose the mode "Replace original file on disk and in library" the parent file got erroneously deleted.
7. Fixed: Monkey's Audio was failing to decompress old files since the addition of faster lookup tables on February 15th.
8. Fixed: Video analysis could fail to determine the aspect ratio of some video files.
9. Changed: Video analysis will favor the container-specified aspect ratio, if available and reliable.
10. Fixed: Black bar detection would mis-detect some samples due to wrong seeking and too short analysis.
11. Fixed: The "Norwegian Bokmål" language name was not encoded in Unicode properly.
12. NEW: Added the image dimensions to the Get Movie & TV Info dialog.
13. Fixed: Format Conversion could have unpredictable result if the files being converted were particles.
14. Changed: DLNA notifies after resume from sleep on a background thread (instead of hanging the program).
15. Fixed: Black bar analysis for videos did not run during auto-import.
16. Fixed: Black bar analysis could get stuck on some files.
17. Changed: The SetField expression function clears the output instead of leaving the field name there.
18. Fixed: Occasional glitches when selecting a television program by entering a channel number, in Theater view guide grid.
19. Changed: The timer for TV Recording Manager is no longer started if TV feature is not turned on.
20. Changed: A lot of logging added to VST studio plugin installation/activation.
21. Changed: When VST3 plugins are installed, don't try to load the library (which doesn't work) as is done with other DSP studio plugins, only use the VST3 methods.
22. Fixed: JTV recordings recorded with video capture devices that use uncompressed video would not play.
23. Fixed: Transferring to Handheld devices might skip transcoding (even if configured to do so) if the converted file has the same file extension and if the conversion cache is located next to the original file.
24. Changed: Setting the total number of tracks doesn't tag the file (just like setting discs).
25. Fixed: Video Playback with JRVR could crash on ARM versions of Media Center.
26. Changed: Updated the Chromium web engine to the latest version.

30.0.72 (3/6/2023)

1. Changed: i386 build only switched back to GTKWebKit for internal browsing because chromium is discontinued for i386 linux.
2. Changed: Video Aspect Ratio is always stored using a decimal, rather than a fraction.
3. Changed: Video Aspect Ratio is calculated from the active video rectangle after cropping if Black Bar detection is being performed.
4. Fixed: When connected to a library server with authentication MC could crash on auto-syncing because of bad path separators.
5. Changed: Updated the Catalan language (thanks Josep).
6. Fixed: When hiding the status column in Analyze Audio, it could not be brought back (also applies to other custom columns).
7. Changed: MCWS function GetGuidePrograms will return the program database key as an attribute.
8. Fixed: When changing channel by entering a channel number in Theater View television guide, the new selected program was random horizontally.  Now the new selected program will be one that is near the same time slot as previous selection.
9. Changed: Disabled enumeration of Proxy handheld devices when operating in Media Client mode.
10. Fixed: A bug crashing when using VST3 plugins on initial playback of a video.
11. Changed: Streaming transcoded video between two instances of Media Center uses the HLS VOD protocol for improved stability and responsiveness.
12. Changed: Updated the Catalan language (thanks Josep).
13. Fixed: When hiding the status column in Analyze Audio, it could not be brought back (also applies to other custom columns).
14. Changed: MCWS function GetGuidePrograms will return the program database key as an attribute.
15. Fixed: When changing channel by entering a channel number in Theater View television guide, the new selected program was random horizontally.  Now the new selected program will be one that is near the same time slot as previous selection.
16. Changed: Tweaked mouse movement/acceleration when controlling with directional arrows in Theater View.
17. Fixed: (Panel) The context menu options on the search page were not working properly.
18. Changed: Adjusted the Q in filters used for Room Correction, Headphones, Convolution, etc. to account for the square root of two change in v29.
19. NEW: Added an optional parameter to the Replace expression to specify case sensitive or not searching.
20. Fixed: Stop after tracks was not working.
21. Changed: Updated the Korean translation (thanks Junghwan).
22. Changed: Split black bar detection out of video analysis into a separate tool, since the process can be rather slow.
23. Changed: Added a new option to the import dialog to perform black bar detection on videos during import.
14. Changed: Filling missing entries after EPG loading will be done in a background worker thread.
15. Changed: EPG missing entries will have a duration of 4 hours instead of 1 hour, to increase efficiency.
16. NEW: The EPG status text in the Standard Television View will include message indicating that EPG loading is going on, or filling missing entries is going on in the background.
17. Fixed: MCWS function SetRecording did not parse the start time parameter correctly.
18. NEW: Added a Key parameter to MCWS/v1/Playback/PlayDoctor to specify a start file (which will build the rest of the playlist).
19. Changed: WAV files greater than 2 GB are no longer tagged.
20. Fixed: When writing a huge WAV file, a negative one is used for the length (was overflowing before).
21. Fixed: Encoding really big files was failing with WavPack.
22. Changed: Added verbose logging when an audio device fails to open.
23. Changed: Added a retry of the audio device open if it fails.
24. Changed: Disabled enumeration of Proxy handheld devices when operating in Media Client mode.

30.0.67 (2/23/2023)

1. NEW: Added the "Video Scan" field to indicate if a video is "Progressive" or "Interlaced".
2. Changed: Audio with odd sample rates will be automatically resampled to a common rate.
3. Changed: When the SSRC resampler fails to load (due to an unsupported sample rate), SoX will be used instead.
4. Changed: When the FormatNumber expression crops a value to 0 because of the decimal places, the empty display will be shown.
5. NEW: Added a Decimal expression function to convert to dot for a number.
6. Changed: Made the expression editor popup remember window positioning.
7. Changed: Updated the default tag window templates with the new video fields.
8. Changed: Importing/Exporting all tag window templates will write the correct template version, and validate it on import.
9. Changed: Made the sign of zero from the math evaluator output 1 (instead of 0).
10. NEW: Added a customization option to the Tag window to show All Fields With Values (including read-only fields).
11. NEW: Added the ability to customize the flush after stop issued to VST plugins.
12. Fixed: When showing television guide by time in Theater View ("This evening", "Tomorrow morning", "Tomorrow afternoon", etc.) a random program could be selected when entering the grid view, instead of the program showing at the upper left corner.
13. Changed: Slovak translation updated (thanks Peter Lukac).
14. Changed: Updated German translation file (thanks Bytestar).
15. Changed: The ConvertDate expression function accepts more than one parameter again and just ignores everything after the first (unless it's 3 or 6 since that's the new format).
16. Changed: Theater View web page keyboard control: Escape key now acts as "back" and mouse cursor movement is accelerated when holding down on directional arrow keys.
17. Fixed: Various improvements to AC-4 audio decoding, including fixed channel mapping and improvements to audio timing to reduce glitches in playback.
18. Changed: Updated FFmpeg to 5.1, used for file analysis and transcoding.
19. NEW: Video Analysis can now identify "immersive" Atmos and DTS:X audio tracks.
20. NEW: Crop (Black Bar) detection has been added to Video Analysis.
21. Fixed: Video analysis would not fill the "HDR Mastering Color Space" field.
22. Fixed: Running "Analyse Video" or "Update Library (from Tags)" on Video files could reset the rating stored in the database.
23. Changed: Updated to Monkey's Audio 9.15.  Faster AVX assembly runs on all Intel platforms, AVX-512 is used when available, and speed-ups across the board.
24. Changed: Updated Greek translation (thanks Panagiotis).
25. Changed: Added sorting of phrases to the translation files (and updated all translations).
26. Changed: VST plugins are only checked for VST3 if the bundle is VST3.
27. NEW: Added option for Theater View web pages to display full screen with the direction arrows and OK/Enter controlling the mouse.
28. Fixed: TV engine erroneously returned a failure code when initializing a Sat>IP device on Mac/Linux OS's, causing playback to fail.
29. Changed: Playing a video from a library server with conversion will use the progressive HTTP streaming support if possible (when a MPEG-TS format is selected).
30. NEW: Running MCC commands from the launcher can take a string by surrounding with single quotes (example: mc30 /MCC 22043,'Video\YouTube').
31. NEW: Added MCC MCC_THEATER_VIEW_PATH (22043) to allow selecting a path in Theater View.
32: NEW: Added a Library Tool to run extended Video Analysis.
33. Fixed: Corrected a typo in the compare dates expression tooltip.
34. Changed: Changed the compare dates tooltip to better translate.
35. Changed: Additional optimization of Theater View television guide display speed.
36. Changed: Updated Greek translation (thanks Panagiotis).
37. Changed: Updated all translations to the latest strings from the code.  Also made the translation tool not output the same header multiple times in a row.
38. Changed: Removed the custom expressions from the default Theater View Television Guide setup since they are now handled differently and more efficiently.
39. NEW: Playing Now button on Spotlight page allows you to add the track to the Spotlight Favorites playlist.
40. Optimized: Theater View television guide display is much faster.
41. NEW: Added new video metadata fields, as well as filling those fields during import.
42. Fixed: Making a disc backup of a DVD using MakeMKV would cause a crash.
43. NEW: Added a the ability to pass a year, month, day, hour, minute, and second to the ConvertDate expression function.
44. Changed: IPlugFrame is implemented for VST3 and a resize is issued when called for.
45. Changed: Slightly improved Theater View TV guide display speed.
46. Changed: Made playback loop back to the beginning when it stops at the end of a playlist.
47. Changed: Locate on disk is available on Library Server Clients again when local file access is available.
48. Changed: Update Library (from tags) & Update Tags (from library) are available with Library Server Clients again, with added checks to prevent issues when local file access is not possible.
49. Fixed: Picking Import All in the Tag window customize dialog then cancelling would corrupt the display.
50. Changed: Update Library (from tags) & Update Tags (from library) are no longer available on Library Server and DLNA Clients, as direct file access is required.
51. Changed: Locate on disk is no longer available on Library Server and DLNA Clients, as direct file access is required.
52. Changed: Disable some functions which won't work with DLNA connected libraries. Fix one that should.
53. Changed: Made Google date lookup work a little better.
54. Changed: Add logging to VST3 plugin function call failures.
55. Changed: VST3 force a layout on resize, fall back to current size if resize isn't supported.
56. Changed: VST3 let the plugin know we support resize.

30.0.55 (1/26/2023)

1. Fixed: Picking Import All in the Tag window customize dialog then cancelling would corrupt the display.
2. Changed: Update Library (from tags) & Update Tags (from library) are no longer available on Library Server and DLNA Clients, as direct file access is required.
3. Changed: Locate on disk is no longer available on Library Server and DLNA Clients, as direct file access is required.
4. Changed: Disable some functions which won't work with DLNA connected libraries. Fix one that should.
5. Changed: Reworked the year calculation (y) in CompareDates to be based on the years and days apart.
6. Changed: The reverse sync when building library server sync uses the copied library as well to avoid lags.
7. Changed: Cancel of the library server sync thread was not working nicely.
8. Changed: When building deltas for library server sync, the library is copied to avoid lags.
9. NEW: Added "yd" to the CompareDates expression function to output the number of years and days between dates.
10. Fixed: The string "Unrated" could not be translated.
11. Changed: Updated Czech translation (thanks Jan Boháč).
12. Fixed: The title of the OSD commands could not be translated.
13. NEW: Added a CompareDates expression function to compare by year, days, or calendar years.
14. Changed: Date lookup from Google was no longer working.
15. NEW: Windows are created with the background color to eliminate white flashes.

30.0.51 (1/20/2023)

1. Changed: Values in parenthesis are removed during lyrics lookup (just like we were doing with braces already).
2. NEW: In Theater View television Guide, the TV channel on the left side of the guide grid will be marked as selected when a corresponding program is selected.
3. Changed: Updated Chinese (simplified) translation file (thanks YanJun Sun).
4. Changed: Updated all translations to the latest strings from the code.
5. Changed: Updated German translation file (thanks Bytestar).
6. Fixed: The extra channels selection would not be used when filling the channels for the Parametric Equalizer.
7. Fixed: M4A files using audio codecs handled by the video engine did not play.
8. Fixed: The Tag menu had an incorrect spelling of "Refresh".
9. Fixed: The "Edit Image" command (possible because of the MRU menu items) will disable when images are not selected.
10. Fixed: Installing a license running a portable install was not working.
11. Fixed: Volume names for DVD's and BD's for makemkv ripping are taken from the block device since distros and desktops are inconsistent about mounting optical volumes with regards to mount path.
12. Fixed: We were refreshing Optical volumes unnecessarily in some cases.
Logged

djp

  • Regular Member
  • Recent member
  • *
  • Posts: 40
  • Change this by choosing profile

Installed using Debian 12 RC2. Connected an IR sensor, which is automatically mounted by Debian as /dev/lirc0. After going into Tools->Options->Remote Control, attempted to start the Remote Control Setup. After clicking the "Next ->" button, get the error message "You don't appear to have a Media Center Transceiver connected to your computer. Please connect it and try again." Verified that the IR Transceiver works properly with MC 30 Windows.

-- Dennins
Logged

bob

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

Installed using Debian 12 RC2. Connected an IR sensor, which is automatically mounted by Debian as /dev/lirc0. After going into Tools->Options->Remote Control, attempted to start the Remote Control Setup. After clicking the "Next ->" button, get the error message "You don't appear to have a Media Center Transceiver connected to your computer. Please connect it and try again." Verified that the IR Transceiver works properly with MC 30 Windows.

-- Dennins
The remote works differently on linux.
If you have lirc working properly, the type of receiver device doesn't matter.
There are "keycodes" generated in X by lirc that MC looks for.
Logged

djp

  • Regular Member
  • Recent member
  • *
  • Posts: 40
  • Change this by choosing profile

Quote
The remote works differently on linux.
If you have lirc working properly, the type of receiver device doesn't matter.
There are "keycodes" generated in X by lirc that MC looks for.

Ahhhh! By "working properly", do you mean that lircd is running? (it's not currently, which might explain why only the arrow buttons on the remote work). Is there a guide anywhere for the keycodes that MC is expecting?

Getting closer...
-- Dennis
Logged

djp

  • Regular Member
  • Recent member
  • *
  • Posts: 40
  • Change this by choosing profile

Additional (possible) progress to above: running lircd and lircd-uinput. Can verify that keycodes are being written to /dev/uinput, but no response from MC. Is MC looking for them on a different socket/location, and if so, which?

-- Dennis
Logged

bob

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

We use these (lirc should be set to map the remote keys to the one in the first column. The rest is the internal mapping of the X-Windows key to MC's key)
Code: [Select]
case XF86XK_AudioMute:                nVirtualKey = VK_VOLUME_MUTE; break;      // 0xAD - Volume Mute
case XF86XK_AudioLowerVolume:         nVirtualKey = VK_VOLUME_DOWN; break;      // 0xAE - Volume Down
case XF86XK_AudioRaiseVolume:         nVirtualKey = VK_VOLUME_UP; break;        // 0xAF - Volume Up
case XF86XK_AudioNext:                nVirtualKey = VK_MEDIA_NEXT_TRACK; break; // 0xB0 - Next Track
case XF86XK_AudioPrev:                nVirtualKey = VK_MEDIA_PREV_TRACK; break; // 0xB1 - Previous Track
case XF86XK_AudioForward:             nVirtualKey = VK_MEDIA_NEXT_TRACK; break; // 0xB0 - Alternate Next Track
case XF86XK_AudioRewind:              nVirtualKey = VK_MEDIA_PREV_TRACK; break; // 0xB1 - Alternate Previous Track
case XF86XK_AudioStop:                nVirtualKey = VK_MEDIA_STOP; break;       // 0xB2 - Stop
case XK_Cancel:                  nVirtualKey = VK_MEDIA_STOP; break;       // 0xB2 - alternate stop
case XF86XK_AudioPlay: /* Intentional fall-thru */
case XF86XK_AudioPause:               nVirtualKey = VK_MEDIA_PLAY_PAUSE; break; // 0xB3 - Play / Pause
Logged

djp

  • Regular Member
  • Recent member
  • *
  • Posts: 40
  • Change this by choosing profile

Hmmmm. After diving down numerous rabbit holes trying to figure this out, it appears that what you've listed above are XFree86 keysymbols, that I suspect are generated by media keys on "fancy" keyboards that have media controls on them. Of course, MC also responds to more traditional keysymbols (number keys, cursor keys, etc).

As it turns out, the Media Center remote (the generic family of Windows Media Center remotes, of which the remote you sell is one) is supported in the Linux kernel, with no configuration necessary. That's the good news. The bad news is that the keysymbols generated by the Linux kernel are entirely different from the XFree86 keysymbols you llisted. There is a small overlap with standard keyboard keysymbols (e.g. the four cursor keys, which is why they worked with MC out of the box). The Linux MCE keysymbols are listed at:

https://github.com/torvalds/linux/blob/master/drivers/media/rc/keymaps/rc-rc6-mce.c

Since what you've listed doesn't include a lot of the video functionality of the remote (which *do* work well in the Windows version of MC, e.g. DVD menu, etc), keysymbols will need to be added to bring MC Linux functionality up to parity with MC Windows. Since additional keysymbols shouldn't conflict with the existing XFree86 keysymbols, I humbly suggest (beg?) that MC Linux add recognition of the Linux kernel xorg keysymbols. This would allow MC Linux to have full remote capabilities using a standard Linux install, vice needing to create some custom lircd driver. MC 31 maybe?  :)
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?

djp,
Thanks for the help.  We'd like to have this working as in Windows.  I think that it's just a matter of time.
Logged

a_yzelman

  • Member
  • *
  • Posts: 2

Hi all,

I've not been able to install MC for Linux so far and wanted to install from source as a next attempt. The wiki page [1] refers to this topic as the location of the sources, however, I only see .deb files. Might it be that it MC is supported for Debian and Ubuntu, but not for Linux generally? (I'm on CentOS Stream.)

Many thanks!
Albert-Jan

[1] https://wiki.jriver.com/index.php/Linux_Installation_%26_Removal
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7812
  • Autumn shade...

JRiver only officially supports Debian (hence why .deb files are only available, there's no other packages for other distros/package managers) but it does work for other distros (Ubuntu, Mint, etc.). Generally you're on your own if any issues arise using MC on unofficially supported distros though. I've never tried to use MC on CentOS so your mileage will vary here.
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 | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

a_yzelman

  • Member
  • *
  • Posts: 2

JRiver only officially supports Debian (hence why .deb files are only available, there's no other packages for other distros/package managers) but it does work for other distros (Ubuntu, Mint, etc.). Generally you're on your own if any issues arise using MC on unofficially supported distros though. I've never tried to use MC on CentOS so your mileage will vary here.

Thanks, so "MC for Debian" it is then hahah

The sources though -- are they available? (Like are those embedded in the .deb packages or are those pre-compiled only?) If sources are available, I probably can get it to work for CentOS
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?

No source is available.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7812
  • Autumn shade...

Thanks, so "MC for Debian" it is then hahah

The sources though -- are they available? (Like are those embedded in the .deb packages or are those pre-compiled only?) If sources are available, I probably can get it to work for CentOS

There's no need for that, another user has developed a script that can install MC on some unsupported Linux OSes, called installJRMC. And fortunately it should work on CentOS: https://yabb.jriver.com/interact/index.php/topic,134152.0.html
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 | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

bob

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

Hmmmm. After diving down numerous rabbit holes trying to figure this out, it appears that what you've listed above are XFree86 keysymbols, that I suspect are generated by media keys on "fancy" keyboards that have media controls on them. Of course, MC also responds to more traditional keysymbols (number keys, cursor keys, etc).

As it turns out, the Media Center remote (the generic family of Windows Media Center remotes, of which the remote you sell is one) is supported in the Linux kernel, with no configuration necessary. That's the good news. The bad news is that the keysymbols generated by the Linux kernel are entirely different from the XFree86 keysymbols you llisted. There is a small overlap with standard keyboard keysymbols (e.g. the four cursor keys, which is why they worked with MC out of the box). The Linux MCE keysymbols are listed at:

https://github.com/torvalds/linux/blob/master/drivers/media/rc/keymaps/rc-rc6-mce.c

Since what you've listed doesn't include a lot of the video functionality of the remote (which *do* work well in the Windows version of MC, e.g. DVD menu, etc), keysymbols will need to be added to bring MC Linux functionality up to parity with MC Windows. Since additional keysymbols shouldn't conflict with the existing XFree86 keysymbols, I humbly suggest (beg?) that MC Linux add recognition of the Linux kernel xorg keysymbols. This would allow MC Linux to have full remote capabilities using a standard Linux install, vice needing to create some custom lircd driver. MC 31 maybe?  :)
So I've done a bunch of testing on this.
I'm not seeing any mapping of the rc-rc6-mce codes to X keypresses.
As you say the arrow keys (and the home button) are mapped. The rest are not or are being consumed by the desktop.
When I run
ir-keytable -t
I see the presses of things like volume up and down but those are not getting into MC's main event loop where system keypresses are processed.

The cleanest solution would be to map those somehow.
There are probably other ways as well.

Logged

bob

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

So I've done a bunch of testing on this.
I'm not seeing any mapping of the rc-rc6-mce codes to X keypresses.
As you say the arrow keys (and the home button) are mapped. The rest are not or are being consumed by the desktop.
When I run
ir-keytable -t
I see the presses of things like volume up and down but those are not getting into MC's main event loop where system keypresses are processed.

The cleanest solution would be to map those somehow.
There are probably other ways as well.
Did a bunch more testing.
Most of the rc6 keys on my Bullseye system are passed through. A few are annoyingly intercepted by the display manager.
That should be controllable but it's difficult to figure out where. A quick web search shows this to be a common linux issue.
Some display managers are worse than others. GDM3 seems the least intrusive that I've tested so far.

I don't see a clean way of fixing this without writing some code to get this at a lower level, probably using libeventd
Logged

mwillems

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

Did a bunch more testing.
Most of the rc6 keys on my Bullseye system are passed through. A few are annoyingly intercepted by the display manager.
That should be controllable but it's difficult to figure out where. A quick web search shows this to be a common linux issue.
Some display managers are worse than others. GDM3 seems the least intrusive that I've tested so far.

I don't see a clean way of fixing this without writing some code to get this at a lower level, probably using libeventd

I think the major Linux desktops (Gnome and KDE at least) have developed the MPRIS standard to pass through media keypresses that the display manager or desktop is consuming to media software via dbus.  If you're looking to try and receive those keypresses that might be a fruitful avenue for inquiry, and might also provide some additional integration benefits if you wanted them (i.e. a now playing widget in the notification area, etc.).  For example, firefox uses MPRIS to receive media keypresses on Linux.

For some more info, including some examples of open source software that have implemented MPRIS as either a player or a controller, see: https://wiki.archlinux.org/title/MPRIS
For an example of an open source plugin implementing it (in this case for mpv, but much of the implementation is general to MPRIS), check out: https://github.com/hoyon/mpv-mpris
Logged

bob

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

I think the major Linux desktops (Gnome and KDE at least) have developed the MPRIS standard to pass through media keypresses that the display manager or desktop is consuming to media software via dbus.  If you're looking to try and receive those keypresses that might be a fruitful avenue for inquiry, and might also provide some additional integration benefits if you wanted them (i.e. a now playing widget in the notification area, etc.).  For example, firefox uses MPRIS to receive media keypresses on Linux.

For some more info, including some examples of open source software that have implemented MPRIS as either a player or a controller, see: https://wiki.archlinux.org/title/MPRIS
For an example of an open source plugin implementing it (in this case for mpv, but much of the implementation is general to MPRIS), check out: https://github.com/hoyon/mpv-mpris
I've looked at this in the past.
Just looked some more.
I'm not a big fan of the extra dependencies it entails but I'm going to play with it a bit.
It might be useful to make a standalone listener daemon that grabs them and sends to MC via MCC's
Logged
Pages: [1]   Go Up