| Summary: | Online Resources/Freesound Download No Results | ||
|---|---|---|---|
| Product: | [Applications] kdenlive | Reporter: | qubodup |
| Component: | User Interface & Miscellaneous | Assignee: | Roger Morton <ttguy1> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | stasnel, ttguy1 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
qubodup
2015-11-14 20:10:26 UTC
utils/freesound.cpp void FreeSound::slotStartSearch goes to http://www.freesound.org/api/sounds/search/?q=searchquery&api_key=a1772c8236e945a4bee30a64058dabf8 But this returns "status_code": 410, "explanation": "Freesound APIv1 has reached its end of life and is no longer available. Please, upgrade to Freesound APIv2. More information: http://www.freesound.org/docs/api/", "type": "Gone", "error": true I have started a bit of work on this. I have a new API key for kdenlive - and that is working. Current problem is that the calls to the API are returning HTML instead of JSON. But I get JSON back if I use curl in a terminal. I am making progress on this bug. Have got the ver 2 of the API to return JSON. You could assign this to me. Patch to fix this submitted to kde.reviewboard https://git.reviewboard.kde.org/r/126191/ However, the freesound changes should be considered an interim measure. The import button imports freesounds high quality preview file rather than the actual sound file. This is because the acutal sound file requires the user to log in to free sound and grab the file. There is a method for developing applications to use this more advanced OAuth2 authentication - and it is documented on freesound. http://www.freesound.org/docs/api/authentication.html#oauth2-authentication And I am happy to give it a shot in coding for this OAuth2 authentication. But it looks like it will take a bit of work. So I figured it might be good to get these changes that make freesound work into Kdenlive Git commit e6cb9569ca11ab77c5e40636b64ff871353d3326 by Vincent Pinon, on behalf of Roger Morton. Committed on 03/12/2015 at 22:22. Pushed by vpinon into branch 'Applications/15.12'. freesound interim fix and clipart fix Fixes download of clip art. Fixes license parsing of clip art. Interim fix for search on freesound Freesound downloads high quality mp3 preview instead of the high quality file. This is because new freesound API needs you authenticate as user to get the high quality. There is a way to do it but I have not implemented this yet. Default file extension to mp3 on all freesound disable the import button while download is running - don't start two download jobs Fixes Auto play of previews in freesound. Preview button toggels on of the playing of the preview sound Preview button goes to "Stop" when playing preview and automatically back to "preview" when preview finishes Warns if you are about to overwrite an imported file I note that duplicate clip in bin checking is commented out in the code in ClipCreationDialog::createClipsCommand. And duplicate clips get created if you choose overwrite. Confirms the file download has finished. M +5 -0 src/utils/archiveorg.h M +107 -38 src/utils/freesound.cpp M +7 -1 src/utils/freesound.h M +2 -1 src/utils/openclipart.cpp M +4 -1 src/utils/openclipart.h M +228 -53 src/utils/resourcewidget.cpp M +16 -0 src/utils/resourcewidget.h http://commits.kde.org/kdenlive/e6cb9569ca11ab77c5e40636b64ff871353d3326 Freesound seems to work. Thanks! However, pressing a link (license for example) in the online resource interface appears to freeze the window and kdenlive. [6874:6874:1207/005841:ERROR:sandbox_linux.cc(338)] InitializeSandbox() called with multiple threads in process gpu-process Video: https://youtu.be/UQhi0qEYeHk (In reply to qubodup from comment #6) > Freesound seems to work. Thanks! > > However, pressing a link (license for example) in the online resource > interface appears to freeze the window and kdenlive. > > [6874:6874:1207/005841:ERROR:sandbox_linux.cc(338)] InitializeSandbox() > called with multiple threads in process gpu-process > > Video: https://youtu.be/UQhi0qEYeHk Can not reproduce this issue. Links open in whatever the system is set up for reading html from. you're right. my issue was unrelated to kdenlive. marking as fixed. |