Comments (4)
This is to do with the code in master/src/js/collections/xbmc.js
arg3: {"sort": {"method": "dateadded", "order": "descending"}}, // doesn't appear to work? maybe lost in sorting elsewhere
This parameter should not have the 'sort' key, it should just be
``arg3: {"method": "track"},`
The two other parameters do not use the similar keys (params and filters). I noticed this by looking at https://github.com/xbmc/xbmc/blob/2228e7f209fbf244bb0f9da970903016395043f2/addons/webinterface.default/js/MediaLibrary.js
and have confirmed this working locally with
curl -v -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"AudioLibrary.GetSongs","id":"1412339052641","params":[["title","artist","albumartist","genre","year","rating","album","track","duration","playcount","fanart","thumbnail","file","albumid","lastplayed","disc","genreid","artistid","displayartist","albumartistid"],{"start":0,"end":500},{"method":"track"},{"albumid":60}]}' http://192.168.1.99:8080/jsonrpc
I'd do a PR but I haven't even got close to getting my head around the whole project and what else is using this code.
from chorus.
Is this related to the fact that if you use the Soundcloud plugin and click through to some channel, instead of getting the same listing as on the website, you get the first 40 items alphabetically sorted (and there is no way to get to recent stuff)?
from chorus.
@paulvt I don't think so. This issue is a bug in the Chorus implementation of the XBMC JSON-RPC API, in regard to one particular function call, getting the album song list with results with "no" sorting. Your issue sounds like it's with the Soundcloud plugin itself which doesn't appear to have been updated in many years.
from chorus.
I've just used the Soundcloud plugin using the normal interface on my media PC, there the listings are the same as on soundcloud (i.e. by descending order of publication date).
from chorus.
Related Issues (20)
- Feature Request: enable access to file system
- Feature Request: Customized background images
- Install add-on with zip file not possible HOT 5
- enable https
- Add hint to Chorus2 to Readme HOT 1
- song view never loaded HOT 1
- TAB key not working, cant go to playing
- Spotify plugin support?
- Files view not showing directories but info from tags?
- "OSD" and "Send Text" on the main Web GUI - Feature Request
- Hanging at Loading Application on old android browser
- Volume keys don't work on Azerty keyboard HOT 1
- External dependency (video.js) tries to load Google Analytics HOT 1
- chorus+database+apache2 -start kodi= work
- Make a custom filter
- Feature request - Add sources from Chorus
- Support playing DVD isos?
- Prevent to play in kodi
- uncaught exception: Error code: -32602 - message: Invalid params.
- Please update to the latest version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chorus.