Comments (10)
I guess you meant
gem 'playlist', git: 'https://github.com/njh/ruby-playlist'
but anyway, OK, I got it, thanks !
from ruby-playlist.
I did add support for JSPF (http://www.xspf.org/jspf/) in 5ae308f but it isn't in a released version. Is that any use to you?
Or would do you mean a JSON export of the internal data model?
I was considering adding support for YAML and JSON.
And maybe write a schema 🤔
from ruby-playlist.
wow ! JSPF would be exactly what i'm looking for. Didn't knew about that.
For your information, i'm working on a music API, that's why i'm interested in your project.
Would you considerer release that ?
Thanks.
from ruby-playlist.
I'm quite new to Ruby, how could I test this ? (where are stored the gems ?)
Thanks !!!
from ruby-playlist.
I personally use bundler for my gems.
You can add the current git version to your project's Gemfile
using:
gem 'rack', git: 'https://github.com/njh/ruby-playlist'
Otherwise you will have to clone the repo and then build and install the gem locally:
git clone https://github.com/njh/ruby-playlist
cd ruby-playlist/
gem install rspec rubocop yard
rake build
gem install ./pkg/playlist-1.3.0.gem
from ruby-playlist.
I can confirm JSPF works with 1.3.0.
This is the output for the tracklist image - is this correct ? The specs here just show an URL. Track images seems ok (just an URL).
"image": {
"height": null,
"url": "https://i.scdn.co/image/ab67706c0000da84c3f4168e56a7662a53c0142a",
"width": null
}
Thanks for your great work.
from ruby-playlist.
Thanks for testing!
Ok, I will check the image thing and then make a release.
from ruby-playlist.
Hi,
There isn't any code that would add width
and height
to an image object when serialising to JSPF. Are you assigning it from some kind of object, rather than a string?
I wonder if I should be calling #to_s
on values somewhere - although it doesn't seem very rubyish.
from ruby-playlist.
mhh i'm check, yes, maybe that's my error. Thanks.
from ruby-playlist.
it was my error, thanks.
from ruby-playlist.
Related Issues (20)
- Add support for CUE files HOT 1
- Add support for JSPF HOT 1
- Add support for Music Ontology RDF
- Add support for XSPF HOT 1
- Add support for Dira XML files HOT 1
- Add support for PLS file format HOT 2
- Add support for M3U file format HOT 1
- Add support for HTML output
- Look at adding CartChunk BWF HOT 1
- Add command line tool for converting between formats
- Create a playlist automatically from a directory of files? HOT 2
- Add support for EBU Core HOT 2
- add image for playlist/track ? HOT 6
- generating XSPF is broken ? HOT 5
- How to assign track links to Spotify/Youtube/... ? HOT 7
- support multiple locations for a track HOT 5
- How can I assign unique identifiers to a track ?
- "Internal Server Error" when trying to set identifiers for a track
- support for playlist/track metas HOT 3
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 ruby-playlist.