Skip to content

[FEATURE] Blu-Ray Support #28

Description

Problem

When playing a decrypted Blu-Ray folder structure (e.g., BDMV folder) directly in VLC Media Player, the current version of vlc-rpc does not correctly identify the media being played. Instead of displaying the correct Blu-Ray Title, it instead detected incorrect title (e.g., UPXX-1016 is the Blu-Ray product identifier, it instead detected UPXX as The Movie Film UP!)
This lack of proper identification means users playing Blu-Rays miss out on the full Rich Presence experience (artwork, correct title, season/episode, accurate time remaining) that is available for other media types.

Proposed Solution

Implement a specialized detection and metadata fetching mechanism for Blu-Ray disc playback. This should involve:

  1. Detection: Identifying when VLC is playing a Blu-Ray structure (e.g., the media path starts with bluray:// or points to a BDMV folder).
  2. Title Extraction: Attempting to extract the movie title from the BDMV structure or, if necessary, using a fallback method.
  3. Metadata Enrichment: Using the extracted title to query online databases (like TMDB or others already used by vlc-rpc) to fetch the movie poster artwork, release year, and other relevant Rich Presence details.
  4. Playback State: Ensuring the Rich Presence correctly displays the current playing state, time elapsed, and time remaining

Alternatives Considered

Manual Tagging: Relying on users to manually input the Blu-Ray title from the GUI into a configuration file .

Use Case

This feature would significantly benefit any user who utilizes VLC as their primary media player for physical or ripped Blu-Ray collections (like me).

Additional Context

  • VLC typically handles Blu-Ray playback either via the Open Disc... -> Blu-ray option or by opening the main index.bdmv or BDMV folder. The Rich Presence logic would need to account for these different ways the media might be reported by VLC's HTTP interface.

  • The primary challenge may be reliably extracting the movie title from the stream data VLC reports, as BDMV file names are often generic. Using a fuzzy search against TMDB based on the disc's volume label (if available) or relying on the Rich Presence's existing filename/path analysis, but tailored for the Blu-Ray structure, could be starting points.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions