Comments (3)
@select I implemented pagination in another project of mine, it's really easy to do: when you receive the first 50 results they also come with a token for obtaining the next results (when available). So you check for presence of this token, and if it's there, then at the end of your function for requesting playlist videos, you call the function again recursively, this time providing the token for the next page of results. This way the function runs until it obtains all playlist videos, and will stop as soon as the token is no longer received.
from audius.
I agree, this is an heavy limitation, why only load the first 50 tracks?
from audius.
That was the easiest to implement, did not have to deal with pagination this way
from audius.
Related Issues (20)
- show play history
- search history, show old search results
- progressbar below video, not fullscreen, click does not skip to time but play next song
- resize text selection
- youtube advertisement blocked by next buttons
- matrix invites
- Klicking on "N Songs" should switch to playlist
- The CREATE lable should also create the new playlist
- Weird color code for shuffle & repeat
- Play-durations of long videos are shown incorrectly
- matrix parse text messages should not add complete playlists
- get listed on matrix.org clients HOT 1
- Change custom events name to reverse domain scheme
- Remember scroll position after jump to song
- mark videos with error labels
- matrix certificate problem
- j and f key fire jump and find in webscraper settings text box
- the view from the mobile does not work HOT 4
- History and Search HOT 1
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 audius.