GithubHelp home page GithubHelp logo

audios's Introduction

MP3 Player App

Maintainer:

Sebastian Döll

Version Info:

1.2.5

Setup Info:

This version of the MP3 Player app is only compatible with upcoming ownCloud Version 8.1 or later! Tested with browser: Firefox, Safari, Chrome, IE 11 The Musicplayer only supports mp3 files, no ampache backend etc, just simple!

Installation:

Download the zip file and rename folder from audios-master to audios! Upload the app to your apps directory and activate it on the apps settings page!

Features:

  • Album view inspired by http://thomaspark.co/project/expandingalbums/
  • Creating Playlist
  • Add songs per Drag & Drop to playlist
  • Scanning on web UI
  • mobil view support
  • repeat of playlists or album
  • Editing ID3 Tag Infos of MP3 (incl. picture)
  • Resetfunction to delete mp3 library

Demo:

https://ssl.webpack.de/demo81.libasyscloud.de/

audios's People

Contributors

icewind1991 avatar libasys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

audios's Issues

Add multiple songs to a playlist at once

I would be nice to be able to add multiple songs to a playlist at once.

I think the best thing would be to have a checkbox beside each song. When the user is finished selecting the songs, he just drags one of them to the desired playlist.

The drag and drop becomes really tiresome when you want to construct a playlist with hundreds of songs.


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

Flac

Hi, nice app, so what you think about add flac format? https://github.com/audiocogs/flac.js for exapmle.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26274972-flac?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github).

update owncloud 9

Cannot install at owncloud 9. Can you please update?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31782610-update-owncloud-9?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github).

Can't add any music by pressing refresh button

OC: 8.1.1
OS CentOS 7.1.1506
DB: PostgreSQL
app: 1.2.4

After pressing [Refresh] button to add my music I've got this in my OC logs:

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT "id", COUNT("id") AS COUNTID FROM "oc_audios_tracks" WHERE "user_id" = ? AND "file_id" = ?' with params ["USERNAME", 85718]: SQLSTATE[42803]: Grouping error: 7 ERROR: column "oc_audios_tracks.id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT "id", COUNT("id") AS COUNTID FROM "oc_audios_tracks"... ^
/mnt/sdc/www/qqo/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php - line 116: Doctrine\DBAL\Driver\AbstractPostgreSQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))
/mnt/sdc/www/qqo/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Statement.php - line 172: Doctrine\DBAL\DBALException driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOPgSql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'SELECT "id", CO...', Array)
/mnt/sdc/www/qqo/lib/private/db/statementwrapper.php - line 73: Doctrine\DBAL\Statement->execute(Array)
/mnt/sdc/www/qqo/apps/audios/controller/scannercontroller.php - line 617: OC_DB_StatementWrapper->execute(Array)
/mnt/sdc/www/qqo/apps/audios/controller/scannercontroller.php - line 406: OCA\Audios\Controller\ScannerController->checkIfTrackDbExists(85718)
[internal function] OCA\Audios\Controller\ScannerController->scanForAudios()
/mnt/sdc/www/qqo/lib/private/appframework/http/dispatcher.php - line 159: call_user_func_array(Array, Array)
/mnt/sdc/www/qqo/lib/private/appframework/http/dispatcher.php - line 89: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Audios\Controller\ScannerController), 'scanForAudios')
/mnt/sdc/www/qqo/lib/private/appframework/app.php - line 108: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Audios\Controller\ScannerController), 'scanForAudios')
/mnt/sdc/www/qqo/lib/private/appframework/routing/routeactionhandler.php - line 45: OC\AppFramework\App main('ScannerControll...', 'scanForAudios', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
[internal function] OC\AppFramework\routing\RouteActionHandler->__invoke(Array)
/mnt/sdc/www/qqo/lib/private/route/router.php - line 274: call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)
/mnt/sdc/www/qqo/lib/base.php - line 873: OC\Route\Router->match('/apps/audios/sc...')
/mnt/sdc/www/qqo/index.php - line 40: OC handleRequest()
{main}


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

Huge library makes Audios angry!

Hi, after install Audios App on my OC, I can start music search and after a while, if I reload the page I can see a few albums but not all, so I went to my log file and found that Audios is throwing some exceptions.

 Fatal  index   Exception: {"Exception":"Doctrine\\DBAL\\Exception\\NotNullConstraintViolationException","Message":"An exception occurred while executing 'INSERT INTO `oc_audios_tracks` (`user_id`,`title`,`number`,`artist_id`,`album_id`,`length`,`file_id`,`bitrate`,`mimetype`) VALUES(?,?,?,?,?,?,?,?,?)' with params [\"martinb\", \"351 - Peque\\u00f1o siervo de un gran Dios.mp3\", 0, 21, 35, null, 1730, 0, \"audio\\\/mpeg\"]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'length' cannot be null","Code":0,"Trace":"#0 \/var\/www\/clients\/client1\/web2\/web\/cloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DBALException.php(116): Doctrine\\DBAL\\Driver\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\DBAL\\Driver\\PDOException))\n#1 \/var\/www\/clients\/client1\/web2\/web\/cloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Statement.php(172): Doctrine\\DBAL\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\DBAL\\Driver\\PDOMySql\\Driver), Object(Doctrine\\DBAL\\Driver\\PDOException), 'INSERT INTO `oc...', Array)\n#2 \/var\/www\/clients\/client1\/web2\/web\/cloud\/lib\/private\/db\/statementwrapper.php(73): Doctrine\\DBAL\\Statement->execute(Array)\n#3 \/var\/www\/clients\/client1\/web2\/web\/cloud\/apps\/audios\/controller\/scannercontroller.php(390): OC_DB_StatementWrapper->execute(Array)\n#4 \/var\/www\/clients\/client1\/web2\/web\/cloud\/apps\/audios\/controller\/scannercontroller.php(283): OCA\\Audios\\Controller\\ScannerController->writeTrackToDB(Array)\n#5 [internal function]: OCA\\Audios\\Controller\\ScannerController->scanForAudios()\n#6 \/var\/www\/clients\/client1\/web2\/web\/cloud\/lib\/private\/appframework\/http\/dispatcher.php(159): call_user_func_array(Array, Array)\n#7 \/var\/www\/clients\/client1\/web2\/web\/cloud\/lib\/private\/appframework\/http\/dispatcher.php(89): OC\\AppFramework\\Http\\Dispatcher->executeController(Object(OCA\\Audios\\Controller\\ScannerController), 'scanForAudios')\n#8 \/var\/www\/clients\/client1\/web2\/web\/cloud\/lib\/private\/appframework\/app.php(108): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Audios\\Controller\\ScannerController), 'scanForAudios')\n#9 \/var\/www\/clients\/client1\/web2\/web\/cloud\/lib\/private\/appframework\/routing\/routeactionhandler.php(45): OC\\AppFramework\\App::main('ScannerControll...', 'scanForAudios', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#10 [internal function]: OC\\AppFramework\\routing\\RouteActionHandler->__invoke(Array)\n#11 \/var\/www\/clients\/client1\/web2\/web\/cloud\/lib\/private\/route\/router.php(274): call_user_func(Object(OC\\AppFramework\\routing\\RouteActionHandler), Array)\n#12 \/var\/www\/clients\/client1\/web2\/web\/cloud\/lib\/base.php(867): OC\\Route\\Router->match('\/apps\/audios\/sc...')\n#13 \/var\/www\/clients\/client1\/web2\/web\/cloud\/index.php(40): OC::handleRequest()\n#14 {main}","File":"\/var\/www\/clients\/client1\/web2\/web\/cloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Driver\/AbstractMySQLDriver.php","Line":112}    2015-08-04T19:22:06-03:00
Error   PHP     Undefined index: playtime_string at /var/www/clients/client1/web2/web/cloud/apps/audios/controller/scannercontroller.php#277 

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25375395-huge-library-makes-audios-angry?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github).

Don't play music with "+" in path

audios don't play music if there is an + in path/filename ...
I think the reason is that space characters replaced by plus.

Maybe you can escape these character.
example: "J+J Mix/Party/Aqua - Dr Jones.mp3"

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27346442-don-t-play-music-with-in-path?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github).

CSP error

Chrome 44 says on https://*.net/index.php/s/2UIc2evTz6GQana

Refused to load the image 'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==' because it violates the following Content Security Policy directive: "img-src 'self'".

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25474872-csp-error?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github).

Edit album data

I would like the ability to edit album data, currently we are able to edit song data and change the album picture but you can't change the album artist or anything like that.


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

Can't play mp3s in a folder shared via an URL

I get an error in the browser console:
HTTP-Content-Type "text/html" wird nicht unterstützt. Laden der Medienressource https://host.tld/index.php/apps/audios/getpublicaudiostreamsome%mp3%file.mp3?token=token12334 fehlgeschlagen.
Playback is working, if i'm logged in (not via URL).

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/31775281-can-t-play-mp3s-in-a-folder-shared-via-an-url?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github).

Shared audio requires login

Good morning @libasys !

A shared MP3 file: https://*.net/index.php/apps/audios/getpublicaudiostream2012-12-08%2012-58-19%20IPOP%20computer%20record.mp3?token=2UIc2evTz6GQana
requires login.
Please advise.

Latest audios, $OC_Version = array(8,1,0,8);

Cannot play mp3 from mp3 app

Hello,
i've activated successfully the app in my oc 8.1 instance.
I can play mp3 from files app (start/stop).
But within the mp3 app i get some mp3 covers but are unable to play songs.
This is from my oc log:

Fatal index Exception: {"Exception":"Doctrine\DBAL\Exception\NotNullConstraintViolationException","Message":"An exception occurred while executing 'INSERT INTO oc_audios_tracks (user_id,title,number,artist_id,album_id,length,file_id,bitrate,mimetype) VALUES(?,?,?,?,?,?,?,?,?)' with params ["08598A5C-6FB6-450C-A152-628B33F56156", "Marteria - Marteria Girl .mp3", 0, 1, 1, null, 295135, 0, "audio\/mpeg"]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'length' cannot be null","Code":0,"Trace":"#0 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(116): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))\n#1 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Statement.php(172): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'INSERT INTO `oc...', Array)\n#2 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/private/db/statementwrapper.php(73): Doctrine\DBAL\Statement->execute(Array)\n#3 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/apps/audios/controller/scannercontroller.php(390): OC_DB_StatementWrapper->execute(Array)\n#4 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/apps/audios/controller/scannercontroller.php(283): OCA\Audios\Controller\ScannerController->writeTrackToDB(Array)\n#5 [internal function]: OCA\Audios\Controller\ScannerController->scanForAudios()\n#6 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/private/appframework/http/dispatcher.php(159): call_user_func_array(Array, Array)\n#7 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/private/appframework/http/dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Audios\Controller\ScannerController), 'scanForAudios')\n#8 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/private/appframework/app.php(108): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Audios\Controller\ScannerController), 'scanForAudios')\n#9 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/private/appframework/routing/routeactionhandler.php(45): OC\AppFramework\App::main('ScannerControll...', 'scanForAudios', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)\n#10 [internal function]: OC\AppFramework\routing\RouteActionHandler->__invoke(Array)\n#11 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/private/route/router.php(274): call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)\n#12 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/lib/base.php(867): OC\Route\Router->match('/apps/audios/sc...')\n#13 /OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/index.php(40): OC::handleRequest()\n#14 {main}","File":"/OWNCLOUD-DATA/opt/bitnami/apps/owncloud/htdocs/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php","Line":112}

Can't create playlist

Can't create playlist.
OS: Centos 7.1.1506
OC: 8.1.1
DB: PostgreSQL
App version 1.2.4
After pressing [GO] button I've got this in OC logs:

Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT "id", COUNT("id") AS COUNTID FROM "oc_audios_playlists" WHERE "user_id" = ? AND "name" = ?' with params ["USERNAME", "Therion"]: SQLSTATE[42803]: Grouping error: 7 ERROR: column "oc_audios_playlists.id" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT "id", COUNT("id") AS COUNTID FROM "oc_audios_playlis... ^
/mnt/sdc/www/qqo/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php - line 116: Doctrine\DBAL\Driver\AbstractPostgreSQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))
/mnt/sdc/www/qqo/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Statement.php - line 172: Doctrine\DBAL\DBALException driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOPgSql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'SELECT "id", CO...', Array)
/mnt/sdc/www/qqo/lib/private/db/statementwrapper.php - line 73: Doctrine\DBAL\Statement->execute(Array)
/mnt/sdc/www/qqo/apps/audios/controller/playlistcontroller.php - line 108: OC_DB_StatementWrapper->execute(Array)
/mnt/sdc/www/qqo/apps/audios/controller/playlistcontroller.php - line 86: OCA\Audios\Controller\PlaylistController->writePlaylistToDB('Therion')
[internal function] OCA\Audios\Controller\PlaylistController->addPlaylist()
/mnt/sdc/www/qqo/lib/private/appframework/http/dispatcher.php - line 159: call_user_func_array(Array, Array)
/mnt/sdc/www/qqo/lib/private/appframework/http/dispatcher.php - line 89: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Audios\Controller\PlaylistController), 'addPlaylist')
/mnt/sdc/www/qqo/lib/private/appframework/app.php - line 108: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Audios\Controller\PlaylistController), 'addPlaylist')
/mnt/sdc/www/qqo/lib/private/appframework/routing/routeactionhandler.php - line 45: OC\AppFramework\App main('PlaylistControl...', 'addPlaylist', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
[internal function] OC\AppFramework\routing\RouteActionHandler->__invoke(Array)
/mnt/sdc/www/qqo/lib/private/route/router.php - line 274: call_user_func(Object(OC\AppFramework\routing\RouteActionHandler), Array)
/mnt/sdc/www/qqo/lib/base.php - line 873: OC\Route\Router->match('/apps/audios/ad...')
/mnt/sdc/www/qqo/index.php - line 40: OC handleRequest()
{main}

It plays some mp3 file but doesnt play my mp3 that i rendered.

On windows 7 there is some sample mp3 music that you can play and mess with i guess. so i uploaded that on my owncloud server and it works fine with the audios app. but when i play my own rendered out mp3 music just shows it reading the file and just doesn't do nothing and skips over to the next song then repeats.
please help! ,adrian

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26927730-it-plays-some-mp3-file-but-doesnt-play-my-mp3-that-i-rendered?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github).

cover art

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.

Can't reset

I can't reset the app, i want to reset it then rescan my collection because now when ever i try to click on an album none of the songs show up

App breaking the owncloud trash icon

Hi, after updating to 1.2.5, i realised that the trash on the owncloud files app was broken. After looking around a bit in the code, i found the issue. You are changing CSS class that owncloud use.

It create this odd trashbin:
23b215a36d84df4ef3e3b0348c0fd43d

This is the normal trashbin:
1bc6d7e725677a78bc4e83c8e246201a

To fix this issue, i simply deleted the line 937 and 938 in the style.css file. So if you could fix this in later version, it could be great! :)

Change from File view to MP3 Player view

I have a large music collection, and I don't want to index all the music, because I have it already very well organized in folders. Finding what I want is easy either by navigating files or by searching files.

It would be nice to have an option to switch to the MP3 Player from a certain folder, like with the Gallery app. Or have some other option to play all files inside a folder from the File app.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/28354911-change-from-file-view-to-mp3-player-view?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19395365&utm_medium=issues&utm_source=github).

When I click a song, sometime the file open in my browser

Hi, I just installed your app and I like it! But I'm having a bug when I want to start a song. If I click on the title of the song, everything is fine. But if i click on the number or the time, my browser will go to the link of the song and play instead of staying in the MP3 Player.

I tried in your demo site and the issue is there also.

If i click this for example:
sans titre

This will happen:
sans titre

I'm using version 1.2.4 of your player and Owncloud 8.1.
This also happen in the album view and the playlist view.

Thanks for your time, If you need more info, please ask :)

Unable to enable applicaion:

Unable to enable applicaion:
An exception occurred while executing 'CREATE UNIQUE INDEX maa_artist_id_album_id_idx ON "oc_audios_album_artists" ("artist_id", "album_id")': SQLSTATE[HY000]: General error: 1 index maa_artist_id_album_id_idx already exists

Null pointer exception while album list loads (Huge library)

Hi!

Yet another problem with huge music library.
I let scan all files over night - which worked so far, don't understand the problem of issue #6 (Huge library makes Audios angry!)...
But when I open the albums list of Audios, it first takes a while, then getting a javascript error.

Here the exception as thrown to Chrome debug console:

Uncaught TypeError: Cannot read property 'length' of undefined   -   jquery.min.js?v=a90372135c621c1a65a28e03ca7480d9:4 

x.extend.each           @   jquery.min.js?v=a90372135c621c1a65a28e03ca7480d9:4
(anonymous function)    @   app.js?v=a90372135c621c1a65a28e03ca7480d9:502
x.extend.each           @   jquery.min.js?v=a90372135c621c1a65a28e03ca7480d9:4
$.ajax.success          @   app.js?v=a90372135c621c1a65a28e03ca7480d9:405
c                       @   jquery.min.js?v=a90372135c621c1a65a28e03ca7480d9:4
p.fireWith              @   jquery.min.js?v=a90372135c621c1a65a28e03ca7480d9:4
k                       @   jquery.min.js?v=a90372135c621c1a65a28e03ca7480d9:6
r                       @   jquery.min.js?v=a90372135c621c1a65a28e03ca7480d9:6

Jumping into the code of app.js (line 502) shows these lines:

    var aSongs=[];
    $.each(songs[album.id],function(ii,songs){
        aSongs[ii] = $this.loadSongsRow(songs, album.name);
    });

So, what seems to be undefined here, is songs[album.id].
Probably the error can be catched by checking this expression appropriately.

Because, if the error occures, the whole view is broken - due to the fact that init was not finished.
E.g. I can click on the albums created so far, but the list of songs does not show up...


My environment:

  • OwnCloud 8.2.0
  • Music library has about 900 albums of 250 artists, over 10000 songs in total

Also, after a bit of debugging...
For the album, on which the error occures, there's indeed missing an entry in songs.
When I skip the foreach-loop for this album, the view finishes building up correctly!

So I wonder, if the album is empty or similar.
But I can play the album in Audios and from the files view of Owncloud. So what is looped there anyway? :-)

EDIT:
I've created a pull request, which fixes the issue...


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

Scan progress bar

A progress bar during scan would be nice.
I have a large collection and the feeling that it get stuck.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.