My mix garden on the move again, hello peertube!

Digital Italics WebMix

I have been mixing away on the pacemaker device as usual. But noticed my mixgarden is having some troubles. I was using hyperaudio and webmonization to present my mixes. It was good however things changed over the last year.

Webmonization made a number of changes and hyperaudio seems to be slightly broken the configuration I currently have it in.

So with all this in mind and after looking at Peertube and Castopod, I decided to give peertube a try before running my own instance. Similar to what I had planned with Funkwhale a long time ago.

This has worked out well on rankett. Then I heard on podnews last week about music freediverse.

Music Freediverse is a new place for musicians to post their songs as an RSS feed, using PeerTube.

After a email with the sysadmin, about mixes and legality of them. They suggested I check out Split Kit if I have the metadata (which I do), this is something I looked into and now have a lightening address, which you can send sats to on my new mixgarden. I am also interested in the peer 2 peer tech

One of the good things about Peertube is the ability to sync videos over, which I took advantage of, it was a shame the metadata wasn’t copied over too but its fine, as I had it all.

In the short term I’ll keep using peertube but I have a plan to install a peertube instance myself and host it all locally. Then I could syndicate them out elsewhere. (Anyone can recommend a good docker container, do shout)

Another thing for the task list, but likely the best idea for now with lots of room to grow and expand.

Talking of which the next mix is a banger….

WebMix: Webmonetization + Dj mixes for the next internet

Mark and Ian at Mozfest 2018

While recovering from Covid, I got a little time to finally sort out the WebMix idea which I also wrote up for Mozfest earlier in the year.

With the incredible and generous help of Mark Boas of Hyperaudio, I was able to use Hyperaudio lite to make clearly mark up a list of tunes in a DJ mix. Its what I’ve been looking to do for ages to move away from Mixcloud,

My finally setup was something I was playing with for ages but mainly via a self installed wordpress on my raspberrypi. I found problems when installing hyperaudio and in the end decided to go with a static website. I choose Publii as it had a linux client and I could just write the HTML easily (so many use markdown and other things, which would have made working with hyperaudio more difficult than it needs to be)

With the site creation out the way, I needed somewhere to host it.

Originally I was going to use Yunohost but I couldn’t find a simple webserver to just host the static files, instead I found a proxy server, which points at my NAS, which is running a very simple webserver. Of course the NAS has plenty of space, its also where the mixes sit, has a excellent redundancy and backup system.

The result of the experiment all sits here – https://cubicgarden.info/mixes

Digital Italics WebMix

The core part of WebMix (as I’m calling it) sits in hyperaudio’s transcript and webmontization support.

Hacking hyperaudio’s transcripts

Originally I always saw Hyperaudio for its ability to tie a knot between the written word and the audio (& video). It wasn’t till I saw a demo of the WebMon functionality is when I understood it could be the thing I need for DJ mixes.

With correctly written HTML, I can tell Hyperaudio what it should do, and with Mark’s help we had a prototype up and running.

Here is an example of the code from the quiver in the underground mix.

<li class="active" data-wm="$ilp.uphold.com/B69UrXkYeQPr">
<span data-m="0">Activator, I know you can (That kid chris mix) - Whatever girl</span></li>
<li data-wm="$ilp.uphold.com/3h66mKZLrgQZ"><span data-m="127000">Air traffic (Erik De Koning remix) - Three drives</span></li>
<li data-wm="$ilp.uphold.com/B69UrXkYeQPr"><span data-m="445000">Chinook - Markus Schulz pres. Dakota</span></li>
<li data-wm="$ilp.uphold.com/3h66mKZLrgQZ"><span data-m="632000">Opium (Quivver remix) - Jerome Isma-Ae &amp; Alastor</span></li>

Each tune has a time configured using the attribute data-m, this is  in milliseconds. As I have all the data in the old CUE files I created a long time ago. Mark helped me out with a nice script which saved me manually copying and pasting. (I also considered writing a XSLT to do the conversion). In between sleeping and relaxing with Covid, I got a number of mixes up, changed the theming and finally got to grips with the static file uploading process, and the results you can see on the site.

Current webmix site

Payment and royalties

You will also notice each tune/list item also has data=”wm” attribute with a $ilp (payment pointers). Currently they are pointing to myself and Mark Boas. Obviously I would change them to the payment pointers of the artists/producers/djs involved but I don’t know any which have them so far. Which leads nicely on to the next challenge for WebMix.

I did/do have a plan to do a mix with dance music from artists which have payment providers but that is still in the pipeline. Along side this, myself and Mark thought about some kind of database/airtable/spreadsheet/etc with payment pointers crossed linked to their discogs profile.

WebMix active on my site

Maybe this is something which could be done in the next grant for the web call for participation?

Back to the current experiment, here is Opium (Quivver Remix) – Jerome Isma-Ae Alastor. You could imagine one payment provider decided between all involved which could be used to pay for each time its played on the site. (I am very aware this is very simplex and the royalties of music is a total nightmare!) but the point of the payment pointer is to hide the complexity behind one simple payment pointer, how its divided afterwards is up to each of the parties involved. I’m imagining a management agent, organisation or even dare I say it DAO; responsible for the payment pointer. There’s already things like revshare, which means you can have multiple people/entities behind the payment pointer and theres interest in this space. Long tail economics certainly could benefit here.

Anyway its a long complex area which I’m best staying out of…?

The main point is its all working and expect more updates soon… I know Mark has other ideas, while I still need to get older mixes up. I also would like to tie the whole thing to something federated or at very least setup a activity-pub feed.

Maybe I should be more ill more often?

My own mixcloud, finally?

Mixing live in Skopje

I have been for a long time looking for an alternative to mixcloud. I have tried many things including some self hosted solutions like navidrome, subsonic, madsonic, airsonic and ampache. They have all been good except they are best for private sharing. I really wanted to use funkwhale but it was so geared up for single tracks it just didn’t make sense to run a node with my own mixes on it. There is so much I could suggest for  making these software/services better for DJs rather than musicians. A DJ version of funkwhale could be pretty cool, especially seeing the amount of DJs using Youtube and paying for Mixcloud premium to mix live during the pandemic. Heck you could even use web-monetization too (just done).

So with all this and finally thought I have the bandwidth and the storage, I just need a site and some simple software which can share the music files. So I decided to actually setup WordPress with it looking at the local file system (which I can easily have tons of storage). I was going to explore the static file generators again but decided to get something going.

Over the last few days between helping someone out with Linux and cryptocurrencies, I setup WordPress on my RaspberryPi 4 using Yunohost again. As its pretty much static, I think it makes sense.

So here is my own mixcloud site, which I’m still populating, but the latest mixes from my locked down, mixing out album are up complete with artwork. Expect to see more changes over time including a better audio player, more mixes and more everything.

Its not exactly a mixcloud replacement to be fair and my plans to use the .cue files and make better use of playlists, is put on hold for now. I’m sure there is audio plugin which will make use of them. Love to have UPnP and Subsonic apis access from wordpress, but I dream?

Do enjoy and let me know what you think could be improved.

Little update

Following my point about making it work for DJs and mixes. One of my biggest bug bears is playlists. I have been through many of the wordpress plugins for audio playback and I can’t find one which allows me to specify points in a long mix, when different music is played. Its simply a tracklist but all of the ones I have seen and tried are focused on single tracks. Meaning slicing the mix into pieces instead of marking out areas. None of them seemed to support CUE files or things like Ogg vorbis chapters. If there is one I should be looking at, do send it my way because it seems like such a simple thing to do, but I guess theres not enough interest to make it?

Another update

I have retired the old Mix site and replaced it with a new better one.
Learn more about the changes and WebMix.

Digital Italics WebMix

Replacing Mixcloud with Funkwhale

Funkwhale mixes

For a long while I have been threatening to leave Mixcloud in favour of hosting my own mixes. I looked around and thought funkwhale looks great as its a federated network for music. With some help from JonT, I started to scrape the metadata I stupidly forgot to keep for myself.

I installed Funkwhale on the Yunoserver but spent too much time trying to work out how to mount my NAS on the Yunoserver. I gave Navidrome but  decided it wasn’t right as there was no way to listen without logging in, so went back to Funkwhale and got things up and running.

Seems Funkwhale might not be the best solution for the mixes, plus the developer is looking for new maintainers recently. Its really setup for single tracks not mixes. I could upload mixes but my plan to use cue files, won’t work. The only place to put playlists is in the comments. I also need to do more digging as I can’t change the year of the mixes. More importantly, the public sharing is a bit broken for me. You should be able to listen to the radio but its not working for me

Funkwhale profile

As I get my head around it all but you can subscribe via RSS and if you’re using Mastodon or other fediverse applications, you can subscribe to this account: @digitalitalicmixes@mixes.cubicgarden.info.

Enjoy, I’m one step closer to self hosting my mixes.

Getting on the self-hosted train again

Map of the fediverse.space

A long time ago, accessing cubicgarden.com meant accessing my direct server sitting in my home. I use to run Blojsom on top of Resin server. I was self hosting from my 512k ADSL line with 256k up (remember how fast that use to be to!?)

There were a lot of problems I grant you that but it mainly worked ok, although I didn’t like the sysadmin side of it all, as I was using Windows 2000 as the operating system. At some point I decided to switch to wordpress only because PHP hosting was cheaper than Java, although I got some incredible breaks during my time. In 2014 I moved my blog to WPengine thanks to dotBen

That was a while ago and since then I have massively upgraded my connection speed to 1gigabit up and down thanks to Hyperoptic and upgraded my server quite a bit (6 core AMD with 16 gig of memory). The first thing I did was installed Plex server.

Since then I have been slowly adding more services to my server. I guess the most noteworthy ones being tiny tiny rss, icecast2, plex and zerotier vpn (which I’m considering changing to wireguard with the recent announcements). Tiny tiny RSS is useful as I don’t like what feedly and others are doing with my data. Zerotier VPN is very cool and very much like the old and forgotten Hamachi. Because it uses internal ip addresses (non-addressable?) any device I have it connected with can access those addresses like they are on a internal network. This ultimately means I can access all my services including tiny tiny rss without opening up ports on my firewall and exposing it to the internet.

Anyway I’ve been thinking about adding more services to my server including Wekan (alternative to trello), Pixelfed (feiverse instagram), wisemapping (web based mindmapping tool), wallabag (alternative to instapaper), standardnotes server, mastodon (fediverse twitter), funkwhale (fediverse spoitfy), language tool (alternative to grammerly) and matrix (powerful alternative to slack).

Doing it under Ubuntu isn’t a problem as theres lots of tutorials and theres plenty which use Docker to manage everything.

But there is issue it seems when installing multiple services on top of each other. Most of the tutorials require a Apache or Ngnix then some SQL database. The tutorials are written like you are running just one service alone and things become more tricky when you have services using certain ports, etc. Trying to move the ports, database tables is sometimes tricky to follow.

Right now, I’m focused on doing one service at a time or really getting to grips with Docker which was meant to make this easier to deal with???

Ok so why selfhosting (and there is a lot of self-hosting services as I found here) and all the hassle?

I found something which sums it up nicely from a different but connected context.

Decentralized, peer-to-peer networks are evolutionarily superior to the bastardized corporate ‘sharing economy’ platforms like Uber and Lyft. Their billion-dollar budgets won’t save them from the inevitability of the blockchain-based peer-to-peer economy.

The decentralization revolution is here.

Docker & Tiny Tiny RSS sorted finally

TTRSS Php error

I have had on my task list for a long time to fix two problems with my Tiny Tiny RSS setup.

  1. Fix the problem I’m having connecting to TTRSS in a browser since a upgrade
  2. Sort out a decent RSS reader for Ubuntu

Originally it was working fine then a upgrade broke the web interface for me and many others. The confusing and joyful thing for me, was any application which talked to the API was unaffected. Meaning my Android clients were fine including the one on my eink tablet. However all the RSS clients on Ubuntu would either not connect to ttrss, were generally rubbish or wouldn’t work in later versions of Ubuntu (like RSS Owl). The advice seemed to point to using a browser extention.

The first problem was something to do with the PHP which seemed pretty easy to fix but all the solutions assumed you were running it all on a standard webserver and had control over everything. Of course I was running it within Docker and had no idea where config.php was or even where docker had installed anything.

After actually sitting down and looking around my server as a sudo not myself (its the first time I actually dedicated time to do), I found the Docker install and learned what docker was actually doing. My ttrss docker image is actually located under /var/lib/docker/aufs/mnt/{random hash}/var/www/ttrss/.

Under that I could find the config.php file and make changes so it was only accessible over my Vpn connection – yeah, I thought this was very clever but maybe obvious to everyone else. So the only way to hit the web front end of my ttrss install is via my Vpn but API calls are done without the Vpn.

As I found the root of ttrss, I was also able to finally install feedreader which is hightly rated by many. The problem I’ve always had is feedreader complained that it needed a certain plugin installed under ttrss’s plugin directory, which previously I couldn’t find to install. Of course now I know where it is and could copy it there, I was very pleased with myself. Next stop brunch at Ezra & Gil and wait for Feedreader to pull down full text for 8500+ items.

https://twitter.com/cubicgarden/status/929712805053435904

Host your own RSS aggregator?

hosting Tiny Tiny RSS

It started with me getting fed up with Feedly trying to up-sell me to their premium subscription. I mean I get it but $5/month to host a simple RSS aggregator? This seems quite a hefty price (even with all the extras it provides, which I never really use).

So I first looked for alternatives to Feedly and found quite a lot. The main thing for me was having a Sync API, so I’m not reading the same stuff across my different devices. My thought was with a standard API, it wouldn’t matter what client or platform I use (although I’m using Linux and Android mainly). Standard I thought… boy was I dreaming.

After a lot of looking and reading I said screw this, I’m self hosting my own copy of tiny tiny rss, which seems very popular with people like myself trying to do the same thing. It seemed quite straight forward and I decided it was time to give rkt or docker a try as there was a docker image for it.

In a evening I had it setup, running and working with my exported feedly OPML file, while watching a film and cooking. Its currently only available to my network but I’ll likely make it externally available (without my VPN) once I got it setup with a SSL cert and 2 factor auth. I did notice my fav RSS reader on Android did support ttrss then somewhere along the line they pulled support for it. So I’ll try out the android app created by the author of ttrss, but the comments are… well.. interesting?

Building your own private cloud?

Head in the clouds

I recently saw this from Gizmodo Australia, and read it with lots of interest.

Movies and TV shows come and go on Netflix on a regular basis, which means you might be half way through your favourite flick when it gets yanked from the service. The solution? Buy all your own content and set up your own private cloud-based streaming service you can get at from any computer or device.

The stand-out contender here is Plex, which we’ve recommended before. It’s new Plex Cloud service, now in beta, lets you use an Amazon cloud locker to store all your movies and shows and stream them from anywhere.

Previously, you had to host the files yourself, so that meant leaving a computer or network drive switched on all the time to get at your content over the web. With Plex Cloud that’s no longer necessary, though you do need to pay for a Plex Pass(from $US4.99 ($7) a month) and sign up for some Amazon storage (it’s $US59.99 ($79) a year for unlimited storage).

We’ve included a couple of other options if you’re not taken by Plex Cloud. They’re not quite as Netflix-like as Plex Cloud, but if you already pay for storage on these services then they’re good alternatives to consider.

Interestingly there was no mention of the friends sharing option which I have been using without the plex pass or plex cloud service. Its the advantage of self-hosting and having plenty of bandwidth at my disposal, but I like the fact you can also switch to have support from them too. Useful if your server goes down or something. This represents a more ideal solution.

I’ve always been interested in what happens when things are much more distributed. Plex is just the start, I already started looking into Emby and some other solutions for media. But for a long while I have been thinking about replacing some of the services I use which I believe I could run myself on my own server.

The whole owncloud thing has always interested me, but I’m weighing up having to be a sysadmin and my time. Although I found Docker which might take some of admin out of this in future. However I don’t want to replace everything, just the things I’m feeling less comfortable with (its about personal choice).

The ones I’m thinking about currently are Evernote, Last.FM and Instapaper.

Evernote I want to replace with something like simplenote (although I admit its not self hostable but my evernote’s recent restrictions have made me wonder why I pay for a pro account?). I looked at using Turtl but its not reliable and mature enough currently. On a related note, I’ve been tempted to install a GIT server at home. Then using a combination of GitignoreMindmup and some kind of GIT repository syncing between home install and Bitbucket; could be great for working on mindmups.

Last.FM with GNU.fm. I only use last.fm to scrobble/track my music playback. I also hooked up Libre.fm but noticed the actual server for libre.fm was just GNU.fm. It seems like a very simple service and useful when looking back for a song or podcast. Especially when placed in a calendar type system, it really triggers my memory. Its also worth noting the last.FM data lost recently has also made me wonder why I even need it. I mean I never use it for music discovery (as I found it rubbish) or anything else. I might as well dump my logs of usage to my google calendar?

41Mxf-vJwzL

I just discovered Wallabag to replace Instapaper. Before I was using readitlater which became Pocket. I switched to Instapaper because of the deliver a mobil ebook to kindle every morning feature (heck I pay for this feature). But since i’m considering a epaper display android tablet which means it could read anything including PDF, RSS, ePub and Mobi. Plus I wouldn’t lose my kindle books because the Amazon app will run on it too. Having a smarter epaper device will squeeze out instapaper and likely mean I will read even more than I currently do (well worth the investment). I still far prefer to read longer stuff on a epaper display.

Theres no doubt I’ll start running more on my own server in future, already considered Open VPN and Zeronet. I think the money saved from certain subscriptions will easily pay for the electricity of hosting it myself?