CASH Music and Drupal?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
gusaus's picture

Here's a blurb from http://cashmusic.org:

CASH Music is a 501(c)3 nonprofit organization. Our software will provide a set of open source applications that will provide musicians the ability to communicate, promote and sell products directly to their audience. We want our software and engineers to set the pace and provide an alternative to the media giants.

Sustainability for artists is the goal, and an open source solution gives musicians and coders the power to build solutions together. We can’t rely on Facebook, the RIAA, or even Apple to invent a new model that works with the best interests of artists in mind. Let's create those models together.

More info here -
http://cashmusic.org/tools/
https://github.com/cashmusic/

Not sure if anyone has checked this out - seems like they're working on some open source features that could plug into Drupal. Curious if/how their effort could compliment similar efforts such as Music Features for Drupal and subsequent installation profiles/distros for Musicians and labels.

Anyone have thoughts on this?

Comments

Thanks for the heads up.

zirafa's picture

Thanks for the heads up. These guys seem cool. What I like:

  • they are a non-profit so their mission is noncommercial
  • they are focused on basic tools to help musicians build media rich sites
  • love the social mini app idea, exchanging a download for a tweet/facebook like. that's a very clever idea and is an easy way to "socialize" decentralized sites.

Not sure if the code they are releasing is GPL but very interested in learning more and seeing if they haven't considered using Drupal as their backbone.

DIY version of CASH

gusaus's picture

There's now a DIY version of CASH - I'm thinking this would play nicely with the Drupal music publishing platform in the works.

Here's more info on what the CASH folks are working on.

Gus Austin

...and some CASH docs

gusaus's picture

Looks like these folks are providing a good deal of documentation -
http://cashmusic.github.com/DIY/index.html

Possibly we can work in some CASH features into Pushtape?

Gus Austin

I am in the process of

Drupal Musician's picture

I am in the process of building a D7 site now (www.solarpoweredmusic.com) and tried dropping the CASH soundplayer in as a playback solution, but it doesn't seem to be as simple to use as it would seem. I'm not a programmer though, more a savvy musician. There is js that needs to be in the head tag which makes updating Drupal a bit of an issue.

I am glad to see the enthusiasm, but as a musician, I don't have the time to spend troubleshooting, researching and implementing things the way Drupal seems to. I need shit to work. Just work. As a musician, this is the biggest thing you can do. Make things that work with little to no fiddling. There doesn't seem to be anything outside of services like CDbaby and bandcamp that are end-user friendly (musicians) and customizable.

I think this is a common

chrowe's picture

I think this is a common issue for anyone who does not want to dig into code. Drupal is great for this most of the time, but I agree that it could do better at letting people copy and paste code into a site. There is a D6 module that does what you want http://drupal.org/project/inject but it has no D7 development. It is relatively easy to add js to drupal if you know a bit about how drupal's code is structured, see http://drupal.org/node/756722

Is there a reason you want to use the CASH player specifically? have you looked at http://drupal.org/project/mediaelement

I looked at the media element

Drupal Musician's picture

I looked at the media element as a part of using media but I can't get the media module to display pictures or my recordings. The CASH player seems to have a simple approach of just linking to the audio file and giving it an appropriate class. Of course it isn't really that simple but it seems like a good idea. I also like the playlist possibility instead of a single player for each recording, and they are local to me. One thing that I haven't been able to find an answer for is .flac playback. I spend a great deal of time and effort on my recordings sounds and am not really interested in ever making them an .mp3.

I think you're looking for Pushtape

gusaus's picture

By the sounds of it, Pushtape might be exactly what you're looking for...when it's finished.

Currently there's no drupal integration w/ CASH but Pushtape again could be a good platform to build on.

Gus Austin

I think Pushtape may be what

Drupal Musician's picture

I think Pushtape may be what I'm looking for as well. I've been waiting for about a year or two for it. If it would help I can contact Jesse at CASH and steer him towards these threads and Pushtape.

Jesse is well aware

gusaus's picture

http://twitter.com/#!/jessevondoom/status/106498141485936640

Gus Austin

FLAC playback over the web is

zirafa's picture

FLAC playback over the web is going to be near impossible, most flash players only support MP3. Your best bet might be HTML 5 audio support of WAV playback, which Soundmanager supports, and also has many different display options and supports playlist like functionality.

Has anyone downloaded the CASH code?

gusaus's picture

I'm thinking integration would come in the form of a module. Has anyone downloaded the CASH code? https://github.com/cashmusic/DIY

Gus Austin

CASH is proving that people want to support open source

gusaus's picture

CASH just launched a kickstarter campaign and have raised almost 10k in a day! http://www.kickstarter.com/projects/cashmusic/cash-music-platform

Looking forward to making this play well with Pushtape and other related drupal platforms.

Gus Austin

interested in helping integrate

Mumonkan's picture

is anyone working on some sort of bridging module between drupal and cash music? i would be interested in helping out on that if so.

edit: i have just installed the diy on a server i have. learning the system as i can. definitely seems conducive to a drupal module. (in their docs they even single out drupal.) their "elements" basically would map very well to blocks in drupal.

cash is such a huge undertaking, already i could see it broken up into multiple drupal modules/projects. for example: (1) all the people stuff (re drupal user space etc); (2) social stuff (tie into drupal likeminded work); (3) elements <-> blocks; (4) media/assets (mapping to nodes). maybe even one umbrella module that just lays the groundwork?

i dont know... something like that. :) i will see what i can chip away at. people with real freetime welcome to join in! ha

best,
-jon

  • hookfoo : drupal module consultancy : portland oregon

Perfect time for you to chime in!

gusaus's picture

Hey Jon,

I talked to Jesse from CASH Music about integration just a couple weeks ago. They are still very interested in integration but don't have the resources to do the coding themselves. If you're interested in heading the coding duties on the Drupal side, we could connect back with the CASH folks and figure out what would be the best next steps.

Are you in Portland? If so, there might be potential for Drupal/CASH coding sprint.

Let me know what you think.

Cheers!

Gus Austin

nice!

Mumonkan's picture

wow, and here i am in the next tab over chatting with jesse about install stuff.

in fact i am in portland. i may not be the person to lead things for the long-term but i would be interested in maybe helping kick this thing off and doing a sprint or 2. (basically no time, that is the short version.)

seems like working on a plan of attack would be great, with and/or without cash folks (as i am sure they are busy busy)...

-jon

  • hookfoo : drupal module consultancy : portland oregon

Embedding elements might be a good first step

gusaus's picture

If you're talking to Jesse, maybe you already figured it out!... but I'm thinking that providing an easy way to embed CASH widgets/elements to a Drupal site would be a good first, and relatively easy step? Possibly CASH could be set up as a provider on top of Media module?

For the other pieces outlined, there may be tie ins with the Pushtape distribution and/or related features being hashed out here - http://drupal.org/project/issues/pushtape

Thats my general, nontechnical thought. What do you think?

Gus Austin

agreed...

Mumonkan's picture

elements seems like a good start to me since, as i said, it (to my noob take on things anyway) seems like a pretty direct map to blocks, and would give a good intro to setting up a nice admin to tie the drupal site to cash (to build on with the other stuff).

the media module is a good idea too. i think all the assets & so forth might take brains stronger than mine, but none of it seems like a bad fit to me, so that is encouraging.

i may jump into playing with some element/block ideas over the next couple weeks. dont let my pokey speeds discourage your own experimentation! if i get anything worth looking at at all, i will be sure to set up some kind of demo and place to talk about it.

-jon

  • hookfoo : drupal module consultancy : portland oregon

Open source music/tech curriculum

gusaus's picture

It also looks like CASH is working on curriculum - https://twitter.com/jessevondoom/status/277142136686780416

Could tie in nicely with sprints related to integrating CASH into other open source platforms such as Drupal and Pushtape!

Gus Austin

nice to hear! also: 501c3

Mumonkan's picture

nice to hear! also: 501c3 with an educational arm -- possible grants?

  • hookfoo : drupal module consultancy : portland oregon

How do we embed their HTML5 Elements?

gusaus's picture

I'm currently testing the CASH hosted platform and trying to figure out the best way we can embed Elements into Drupal. Right now it looks like the only embed code they give is HTML5 (for example):

<script type="text/javascript" src="http://x.cashmusic.org/public/cashmusic.js"></script><script type="text/javascript">window.cashmusic.embed('http://x.cashmusic.org/public/','30');</script>

Stupid question. What is the best way to embed HTML5 widgets like that in Drupal?

Gus Austin

seems like the best way would

Mumonkan's picture

seems like the best way would be to make a block which simply spits out this chunk of code. you could have the block have a single setting, which would be the element ID or whatever "30" in this case is called.

i will see if i can get to this today -- maybe i can test it really quick.

  • hookfoo : drupal module consultancy : portland oregon

simple block

Mumonkan's picture

so yup, i just tested the plain "add block" (under structure menu when you are admin) and pasted in your code exactly in a block with type "full html". worked fine! i see "Testing out the new CAsH" in my sidebar now!

so if you did want to have the "30" as a variable a user could set, this could instead be made a block within a module, then you could have a configuration for it where the user could give it a special title and add the cash ID for each block, or similar.

  • hookfoo : drupal module consultancy : portland oregon

I try to avoid the obvious...haha

gusaus's picture

Thanks for that!

I was first trying to add via the 'Add text' pane that ships with Panopoly. Looking back at it, I didn't save as "full html". Now I've got a couple elements embedded!

On the Panopoly branch of Pushtape, I think I can work with Fieldable panels panes to create and 'Add CASH music element' where users can just paste in the HTML5 code.

Not the ideal solution, but a pretty good start!

Gus Austin

Just chiming in for a second.

jessevondoom's picture

Just chiming in for a second. So there's actually a pretty easy native PHP embed for elements accessible by calling:

CASHSystem::embedElement(id)

It's the standard embed for single-user installs — the hosted multi-user hides the stuff that's not relevant in a hosted environment so you probably just didn't see it.

We've also got a standard call to list elements by user, so in theory you could simply present a dropdown to someone in the Drupal backend where they could choose an element and off they go. That's the pattern we use for the WordPress plugin — all we need to know is the base location for the cashmusic.php init script and we're off to the races. Probably a good place to look for a start , it's in the CASH repo at:

https://github.com/cashmusic/platform/tree/master/interfaces/wordpress/c...

I know almost nothing about Drupal internals so maybe I'm off-base, but guessing. I'll do a deeper dive soon when time lifts a bit.

(Oh and there's a minimal API exposed for the hosted version, with a full RESTful API in planning. At that point it gets a lot easier to request elements because we can simply hit the API with a key/secret/state and get all the data and/or markup for a given element.)

thanks!

Mumonkan's picture

sounds like the right place to look (wordpress plugin). you probably dont want to know much about drupal if you dont already... haha

that is promising though: i was hoping to do the same thing for drupal -- have the admin point to the location of the init script and the rest would be magic. sounds like it is definitely do-able.

using CASHSystem:: as object-oriented php is going to make me that much more sad that drupal is not. sigh. oh drupal. heh

  • hookfoo : drupal module consultancy : portland oregon

Ha...well the strict OO

jessevondoom's picture

Ha...well the strict OO enforcement in CASH is specifically so we could integrate smoothly with things like Drupal without stepping on toes. Actually just blogged about it a little:

http://blog.cashmusic.org/post/37800952735/building-the-hosted-platform-...

And I think it's probably more relevant for WordPress than Drupal, but FWIW I built the admin app with two layers of views. You can get all the forms direct admin without needing to bring in the chrome. That plus the templating we're using means we'll be able to pull in the entire admin into WordPress in a way that feels native to WP users. Not sure if it helps the Drupal cause at all but there's definitely an emphasis on being good citizens. (And our admin is dogfooding the API — no cheating.)

I installed it and had a look

MickC's picture

I installed it and had a look around. It's a nice UI, and the distro unpacks nicely.

First thoughts are looking at which features Drupal can't do - e.g. CMS, Blog, audio, etc also no problems for Drupal. Which are the features you think are complementary a) for Drupal b) for CASH?

Does a Drupal user benefit from CASH? Does a CASH user benefit from Drupal?
Is it about features, or more the network/community side that's of interest?

Integration is worth it if we can't get Drupal to do all these features - but I can't help wondering if for the same effort we can do in Drupal....

valid question...

Mumonkan's picture

i think you raise a great point: why use one to do a task (or set of tasks) when the other can do them? and in many cases there is overlap, as has been pointed out. (e.g. drupal modules listed in this thread.)

to me, the appeal of cash is that it is highly integrated and focused specifically on music. if you look at the list of features on the cash roadmap page, while there are very few things there which are not possible in drupal, the number of modules you would have to install and get working together is daunting to say the least.

the good thing is that cash is intended to complement other systems and drupal is easy to fit other systems into. so luckily one can pick and choose features and which platform. i mean, ideally. haha if the drupal side is written to do that.

i guess my point is: every user should start exactly with your question -- and figure out what they want from which system.

  • hookfoo : drupal module consultancy : portland oregon

OK cool - given this is a

MickC's picture

OK cool - given this is a Drupal discussion thread, I'm happy to explore exhausting what we can do in Drupal.

That would put using the best position to assess integration beyond - but unless we push Drupal capabilities then some may look outside Drupal for solutions perhaps prematurely.

Between us there are many who build specific music sites, myself included, and while focussed on events, I've found it does audio, video, blog, galleries for artists quite well. I like the idea of a distro, and while CASH is good, it would be good to continue to channel energy into Drupal requirements gathering.

There are so many discussion threads on this - which do people feel is the 'definitive' wish list for music features?

Its good to have choices

gusaus's picture

When I posted this (almost 2 years ago!) both the CASH Music platform and Drupal music distribution were in early stages or still stuck in the bikeshed. This thread has picked up speed again as both platforms now exist and we're starting to actually work on integration....

Can you spot the CASH Music widget on the Pushtape demo?
http://live.pushtape-panels.gotpantheon.com/

Gus Austin

Demo looking good. Mostly

MickC's picture

Demo looking good. Mostly Drupal right?

Where do you recommend we continue the dialogue to expand on requirements gathering?
I don't know how to contribute much on CASH but I believe I can contribute to Drupal development.

99.9% Drupal

gusaus's picture

Aside from the newsletter widget I put on the front page as a test, the entire site is Drupal. @Mick - you're reinforcing the fact that we have to do a much better job letting people know a music distribution is in the works and how to contribute. We're going to make better use of http://drupal.org/project/pushtape and have also sectioned off a part of the music group for related community discussion http://groups.drupal.org/music/pushtape

Circling back to CASH, as Mumonkan pointed out above it could broken up into multiple CASH Music modules/projects on d.o. Those can be the building blocks for add-on features and apps for Pushtape and many others.

Gus Austin

CASH Music platform now open for public testing

gusaus's picture

You can signup and test it out here - https://x.cashmusic.org/signup/

Makes it easier to see how we can integrate with Drupal. BTW - any progress on that front?

Gus Austin

Impromtu sprint or BOF at Drupalcon?

gusaus's picture

Anyone interested in a impromptu Drupal/CASH/Pushtape hackfest or BOF next week at Drupalcon?

Gus Austin

BOF/drupalcon

Mumonkan's picture

i am not officially going to drupalcon..... but since i live in portland i may just end up trying to get to a BOF or 2. emphasis on trying. obviously more likely to happen (for me) outside the gates of drupalcon, but i dont want to disrupt plans if they are taking place inside.

  • hookfoo : drupal module consultancy : portland oregon

CASH Elements integrated with

jimmb's picture

CASH Elements integrated with Drupal sounds perfect. This description is, I think, exactly what is needed:

so in theory you could simply present a dropdown to someone in the Drupal backend where they could choose an element and off they go. That's the pattern we use for the WordPress plugin — all we need to know is the base location for the cashmusic.php init script and we're off to the races.

As seen here: https://wordpress.org/plugins/cash-music-platform-connection/

I'd really like the features, customization and theming capabilities of Drupal while having access to some CASH elements as needed. The most important one (for me) is the Email Collection element that synchs to a MailChimp account. But the others would be nice too...

In the meantime, perhaps the workaround is to follow this: https://github.com/cashmusic/platform/wiki/Embedding-HTML5-elements-%28u...

But since I'm not a programmer, having a simple module that emulates the CASH WordPress plugin would sure be appreciated.

Music

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week