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

cover art #15

Open
tony5 opened this issue Aug 30, 2015 · 12 comments
Open

cover art #15

tony5 opened this issue Aug 30, 2015 · 12 comments

Comments

@tony5
Copy link

tony5 commented Aug 30, 2015

I have upgraded to version 1.2.4 on owncloud 8.1.1
in the previous version the audios app would display cover art embedded in the mp3 file.
in version 1.2.4 this no longer automatically works. is this by design?
if I try to upload an image it also does not work. I have tried both jpg and png files.
when I am presented with the edit photo box nothing is displayed.
If I am missing something I am not sure what it is?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@libasys
Copy link
Owner

libasys commented Aug 30, 2015

it should work automatically! and editing also! can you provide some more information about your enviroment and OS and browser! have you a demo account for me to look?

@tony5
Copy link
Author

tony5 commented Aug 31, 2015

I think it is a web browser issue or a php version issue or both?

With Ubuntu 14.04 connected to a OC server running Debian wheezy with PHP Version 5.4.41-0+deb7u1 and apache Apache/2.2.22. It seems every thing will work ok with Version 44.0.2403.89 of chromium as well as Google Chrome. It will not work with Firefox 40.0.3.

with a OC server running ubuntu 14.04 with apache Apache/2.4.7 with PHP Version 5.5.9
in Google chrome you cant upload an image and view id3 embbed art although select from cloud seems to work, same issue with chromium. It will not work with firefox 40.0.3

it seems the only way things work as intended is using Debian wheezy with PHP Version 5.4.41-0+deb7u1 and apache Apache/2.2.22 with Google Chrome or Chromium.

I hope that helps.
take care

@libasys
Copy link
Owner

libasys commented Aug 31, 2015

have you tested my demo with this browsers (firefox/chrome)? http://demo81.libasyscloud.de you can use the demouser account or you register a new account!

@tony5
Copy link
Author

tony5 commented Aug 31, 2015

It works great with Ubuntu 14.04 and Firefox 40.0.3.
I am at a loss on why I am having issues?
I am not sure of your web server, php and audios version ?

@libasys
Copy link
Owner

libasys commented Aug 31, 2015

some error logs on webserver or on admin settings page? is it a csp problem? (content secure policy)

@tony5
Copy link
Author

tony5 commented Aug 31, 2015

there is no error's in the Apache or OC logs.
I will try a manual install from git latter today. maybe there is an issue installing from apps with in OC.

@tony5
Copy link
Author

tony5 commented Aug 31, 2015

well it looks like part of my problem is with content secure policy.
if I disable it in Firefox embedded art will show.

I can upload an image from OC server but I see NetworkError: 404 Not Found - /owncloud/apps/audios/img/Jcrop.gif

if I try to upload an image I see the error bellow and it will not work.

this.imgSrc = data.result.imgdata; app.js?...86160a3 (line 50, col 3)TypeError: data.result is null

I am lost how to properly fix this.

take care

@libasys
Copy link
Owner

libasys commented Aug 31, 2015

have you tested current master from here?

@tony5
Copy link
Author

tony5 commented Aug 31, 2015

yes. this was noticed using the current master.
I also tried with http and https with the same results.
I wonder why your demo site seems to work fine?

@libasys
Copy link
Owner

libasys commented Aug 31, 2015

my demo site works with OC 8.1 and current master with small addition from 8.1.1 for csp! you can check here if this changes in your OC 8.1.1 installation:
owncloud/core@ead25de

@tony5
Copy link
Author

tony5 commented Aug 31, 2015

My contentsecuritypolicy.php did not have 'data:',
after modification embeded id3 images work.
when reloading the page I see,
Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src http://example.com 'unsafe-eval'"). onsubmit attribute on DIV element

if I try to upload an image I still see,
typeError: data.result is null this.imgSrc = data.result.imgdata; app.js?...86160a3 (line 50, col 3)
and uploading will not work.

uploading an image from the OC server works but I see,
"NetworkError: 404 Not Found - https://example.com/owncloud/apps/audios/img/Jcrop.gif"
and
"NetworkError: 400 Bad Request - https://example.com/owncloud/apps/audios/css/%webroot%/core/img/loading.gif"
other than that it seems to work fine.

thanks for the help!

@tony5
Copy link
Author

tony5 commented Aug 31, 2015

after the 'data:', modification on Debian wheezy with PHP Version 5.4.41-0+deb7u1 and apache Apache/2.2.22 things seem to work good.

I will see an error "NetworkError: 404 Not Found - https://example.com/cloud/apps/audios/img/Jcrop.gif" this.imgSrc = data.result.imgdata; app.js?...86160a3 (line 50, col 3

but everything seems to work.

still having the problem with a OC server running ubuntu 14.04 with apache Apache/2.4.7 with PHP Version 5.5.9 as indicated directly above

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