ProfPh

Results 14 comments of ProfPh

Batch file version for watching VODs with streamlink in the best available quality: ``` set /p vodURL=Enter a twitch.tv VOD URL: "C:\Program Files (x86)\Streamlink\bin\streamlink.exe" --player-passthrough hls --player "C:\Program Files\VideoLAN\VLC\vlc.exe" %vodURL%...

Confirmed that it is a seekbar problem, the seekbar does not respect the maximum value set.

Opened a pull request with the fix

I see a similar open issue. Yes, this was also with PyQt5 but not UPX.

OK, after a bit more testing I can confirm that it's caused by writing a file to current folder. So if I have an app that's bundled using `--windowed` and...

@tallforasmurf I saw that os.getcwd returns "/" too but the actual path of the file is correct so I edited it out of my comment. Is there some reason that...

I misunderstood, is the error because I don't have permission to write to "/"? edit: That seems to be the case. I used `open(sys._MEIPASS + "/file", "wb")` and it worked...

Not a Qt problem as a script with just that single line `open("file", "w")` crashes although there is no crash error given in that case. The file opens and closes...

OK, using the below file to test, This path `os.path.dirname(sys.argv[0])` seems to always give the correct result when used like this `os.path.join(os.path.dirname(sys.argv[0]), "file")`. I used the `directory` of `sys.argv[0]` instead...

Thought I'd add some relevant information for this issue. There is a Mac OS specific issue caused by a security feature that is at play here when trying to distribute...