Skip to content
New issue

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

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

Already on GitHub? # to your account

[Bug]: The Model folder of Potplayer is not persistent. #14959

Open
3 tasks done
7sDream opened this issue Feb 26, 2025 · 1 comment
Open
3 tasks done

[Bug]: The Model folder of Potplayer is not persistent. #14959

7sDream opened this issue Feb 26, 2025 · 1 comment
Labels

Comments

@7sDream
Copy link

7sDream commented Feb 26, 2025

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

potplayer

Expected/Current Behaviour

The Model folder of Potplayer is using to store Faster-Whisper-XXL(and maybe other engine's) models, as the command line shows:

 lpCommandLine=0x000000002A910FD8:"D:\scoop\apps\potplayer\current\Module\Whisper\Faster-Whisper-XXL\faster-whisper-xxl.exe "C:\Users\<Username>\AppData\Local\Temp\Wav6922.tmp" --model medium --model_dir "D:\scoop\apps\potplayer\current\Model" --output_dir "C:\Users\<Username>\AppData\Local\Temp" --language Japanese --output_format srt"

This shows default value of --model_dir option, and Faster-Whisper-XXL will download model file into it.

For now, it seems that this Model folder has not been persisted.

Steps to Reproduce

1. `scoop install potplayer`
2. Using `Subtitles - Create Subtitle from audio` feature with `Faster-Whisper-XXL` engine, it will download whisper model into Model folder.
3. Upgrade potplayer
4. Using `Subtitles - Create Subtitle from audio` feature again, notice the model is download again.

Possible Solution

Add this folder into persistent list.

Scoop and Buckets Version

Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
4442eed3f (HEAD -> master, origin/master, origin/HEAD) yazi: Update to version 25.2.26

'extras' bucket:
58e50bb7d (HEAD -> master, origin/master, origin/HEAD) tsukimi: Update to version 0.19.4

'versions' bucket:
d3aaa0e7d (HEAD -> master, origin/master, origin/HEAD) kate-nightly: Update to version 9098

'nirsoft' bucket:
288b1ed (HEAD -> master, origin/master, origin/HEAD) dhcplogview: Update to version 1.00

'sysinternals' bucket:
26475b4 (HEAD -> main, origin/main, origin/HEAD) sysinternals-suite: Update to version 2025.02.13

Scoop Config

root_path             : D:\scoop
global_path           : D:\scoop-global
last_update           : 2025/2/27 1:02:34
aria2-enabled         : True
scoop_repo            : https://github.com/ScoopInstaller/Scoop
scoop_branch          : master
aria2-warning-enabled : False

PowerShell Version

Name                           Value
----                           -----
PSVersion                      7.5.0
PSEdition                      Core
GitCommitId                    7.5.0
OS                             Microsoft Windows 10.0.26100
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

@7sDream 7sDream added the bug label Feb 26, 2025
@aicynide
Copy link

aicynide commented Mar 7, 2025

Fix @ScoopInstaller

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants