Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mpv does not display its version number with the Nightly builds. #15789

Closed
6 tasks done
Elrohir-Culnamo opened this issue Feb 2, 2025 · 2 comments
Closed
6 tasks done

Comments

@Elrohir-Culnamo
Copy link

mpv Information

mpv 38ad1ed Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects  
 built on Feb  1 2025 16:19:01  
libplacebo version: v7.349.0  
FFmpeg version: 7.1  
FFmpeg library versions:  
   libavcodec      61.19.100  
   libavdevice     61.3.100  
   libavfilter     10.4.100  
   libavformat     61.7.100  
   libavutil       59.39.100  
   libswresample   5.3.100  
   libswscale      8.3.100

Other Information

- macOS version: macOS 15.3 (24D60)
- Source of mpv: https://nightly.link/mpv-player/mpv/workflows/build/master/mpv-macos-15-arm

Reproduction Steps

Hello,

I downloaded the ARM version of mpv for macOS from this link: https://nightly.link/mpv-player/mpv/workflows/build/master/mpv-macos-15-arm, to use it with the Karaoke Mugen software.
Karaoke Mugen runs a detection of the mpv version in use and displays the following messages:

13:38:10 - error: [mpv] mpv version detected is too old (). Upgrade your mpv from http://mpv.io to at least version >=0.33.0  
13:38:10 - error: [mpv] mpv binary: /Applications/mpv.app/Contents/MacOS/mpv  
13:38:10 - error: [mpv] Not starting due to obsolete mpv version  
13:38:11 - error: [mpv] Unable to start player Error: Obsolete mpv version  
Error: Obsolete mpv version

Karaoke Mugen is unable to determine the mpv version and assumes that my version is lower than 0.33.

After running the command mpv --version:

╭─ ~  
╰─YUKI. N>mpv --version  
mpv 38ad1ed Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects  
 built on Feb  1 2025 16:19:01  
libplacebo version: v7.349.0  
FFmpeg version: 7.1  
FFmpeg library versions:  
   libavcodec      61.19.100  
   libavdevice     61.3.100  
   libavfilter     10.4.100  
   libavformat     61.7.100  
   libavutil       59.39.100  
   libswresample   5.3.100  
   libswscale      8.3.100

Expected Behavior

--mpv version should return the version number (0.39) in addition to the build.

Actual Behavior

--mpv version does not display the mpv version number (0.39).

Log File

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.
@Dudemanguy
Copy link
Member

Hmm, it's because the action runners do shallow checkouts and the version generation is just the hash.

Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 2, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 2, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 2, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 2, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 2, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. Fixes mpv-player#15789.
@Akemi Akemi added core:meson and removed os:mac labels Feb 2, 2025
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 2, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 3, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. This is complicated enough to warrant bring back version.py since
we can't just do a one line command.

Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. This is complicated enough to warrant bring back version.py since
we can't just do a one line command.

Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. This is complicated enough to warrant bring back version.py since
we can't just do a one line command.

Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. This is complicated enough to warrant bring back version.py since
we can't just do a one line command.

Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. This is complicated enough to warrant bring back version.py since
we can't just do a one line command.

Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. This is complicated enough to warrant bring back version.py since
we can't just do a one line command.

Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. This is complicated enough to warrant bring back version.py since
we can't just do a one line command.

Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. This is complicated enough to warrant bring back version.py since
we can't just do a one line command.

Fixes mpv-player#15789.
Dudemanguy added a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
hash. This is complicated enough to warrant bring back version.py since
we can't just do a one line command.

Fixes mpv-player#15789.
Dudemanguy pushed a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
commit hash.

Fixes mpv-player#15789.
Dudemanguy pushed a commit to Dudemanguy/mpv that referenced this issue Feb 5, 2025
If the cloned repo is shallow (e.g. like the default github actions
settings), the git describe command won't actually be able to fetch any
tags and will instead just get a hash. The resulting binary version
string will end up being that git hash. While it does tell you the exact
commit, it's not exactly helpful when wanting to know the general
version at a glance. For the case where we do have a git directory but
no available tags, build a version string using the mpv version + the
commit hash.

Fixes mpv-player#15789.
@Elrohir-Culnamo
Copy link
Author

Thanks ! It's Works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants