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

Editor does not display clip. #19

Open
Globularduke66 opened this issue May 2, 2021 · 1 comment
Open

Editor does not display clip. #19

Globularduke66 opened this issue May 2, 2021 · 1 comment

Comments

@Globularduke66
Copy link

No Error Logs or Traceback
Windows 10.

The Editor does not display clip while editing. It shows the name of the clip at the top but does not render the clip at all. Nothing else appears to not work

@Benjamin-adler
Copy link
Contributor

Hello.

I had this same error and I found the fix.

In TikTok Client/clientUI.py
Change line 379 from:

self.updateClipDuration()
self.mediaPlayer.stop()
if len(mp4file.split("/")) > 2:
self.mediaPlayer.setMedia(QMediaContent(QUrl.fromLocalFile(f'{mp4file}')));
else:
self.mediaPlayer.setMedia(QMediaContent(QUrl.fromLocalFile(f'TempClips/{mp4file}.mp4')))

to:

self.updateClipDuration()
self.mediaPlayer.stop()
if len(mp4file.split("/")) > 2:
self.mediaPlayer.setMedia(QMediaContent(QUrl.fromLocalFile(f'{current_path}/{mp4file}')));
else:
self.mediaPlayer.setMedia(QMediaContent(QUrl.fromLocalFile(f'{current_path}/TempClips/{mp4file}.mp4')))

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

No branches or pull requests

2 participants