Automation

Automation

Scheduled jobs that keep pulling content in

You can automate content population in RKHM. Certain plugins give you various ways to do it

Music automation

Spotify's Web API + YouTube's Data API ( or YouTube scrapper tool ) + YouTube's Embedded Player can be combined to fully automate  music content generation free of any charge.

Additionally, RKHM can use SoundCloud as a source instead of YouTube!

How does it work?

In short, script will get artist/track/album data from Spotify. Upon play request, script will search YouTube for the track, record it in database so it's not done again for a while and plays the YouTube video for the user

How to setup?

You need to do all the following

  1. Spotify: You need to create an account in Spotify for Devs. Get your Spotify API credentials and paste them in "RKHM admin-area -> Content -> Music -> Automation -> Spotify". Spotify is generous and it's unlikely that you hit any limits using their API  
  2. YouTube: Login to Google Cloud, enable YouTube Data API v3 , create an API key and paste it to "RKHM admin-area -> Content -> Music -> Automation -> YouTube". YouTube, unlike Spotify, has very strict limits. You can pay them to increase your limits, create multiple keys and pass them to script or install YouTube Scrapper tool in "RKHM admin-area -> Setting -> Tools". Please note that YouTube wants you to pay them for using their service and doing anything to bypass it is illegal

There are 2 ways to pull data from Spotify

  1. Full Automation: Can be enabled by checking "Automated content" in "RKHM admin-area -> Content -> Music -> Automation -> Spotify". This will essentially combine your app's results with Spotify's on the go as users navigate your app. For example, when a user searches your app, script will search Spotify and combine your search results. Anything that exists on Spotify can be found on your platform. Downside of full automation is speed. Script has to contact Spotify's API server before answering user's request which can make your app a little or a lot slower depending on server's resources and speed. Full automation adds layers and layers API requests which we have tried to reduce & cache as much as possible but still, it takes time
  2. Cronjobs: You can create "Music Cronjob" to pull data from Spotify on the background and 24/7 and present those data to users instead of contacting Spotify as users navigate. This will make your database bigger but increase your app's speed a lot compared to full automation
How to setup music cronjob?

Click here for docs

You should visit Spotify & YouTube and read their terms of usage. But as long as you pay these services for their API, there should not be any problems. You can also change script config to give credits & a link to YouTube's channel

Podcast automation

Podcasts usually offer an RSS url, containing information about podcast & episode list. Podcasters want to share their artwork to different devices/platforms by this url. There are many apps that can import a whole podcast from a simple RSS url and you might already know a few of them

We have created a bot to scrap as much podcast RSS url as we could, so far 30,000 and still growing. We are constantly updating Busyowl's API server with these urls and there are about 4,000,000 episodes available as of now. As long as your support has not expired on Codecanyon, you can easily setup RKHM to sync with Busyowl's API server and retrieve these podcasts

How to setup?

Go "RKHM admin-area -> Content -> Podcast -> Automation -> Busyowl" and enable "Sync". You can also use the same page to filter podcasts and import only what you like

Every podcaster, sharing platform has their own rules but mostly they are okay with it as long as you don't download the podcast to your own server and load it from there. Logically, when you make an RSS feed URL for your content, you want it to be used & shared. You can also change script config to give credits & a link to podcasts website

Radio automation

Online radios usually have a website or a web-page. We have scrapped a lot of these website to find streaming URL + data for these online stations. So far 35,000 stations have been prepared. You can easily setup RKHM to sync with Busyowl's API server to retrieve these items

How to setup?

Go "RKHM admin-area -> Content -> Radio -> Automation -> Busyowl" and enable "Sync". You can also use the same page to filter radios and import only what you like

Every stations might have their own rules, but online radios usually get paid by their streaming count so they should be ok with it. You can also change script config to give credits & a link to radio station's website

Audiobook automation

There is this awesome website, called librivox.org . What this website does is allowing people to read books and upload them to this service. They have a lot of books & awful indexing but best thing is, everything on this website is public-domain. Which means you are welcome to do whatever you want them. We have scraped this website & gathered a list of 16,000 audiobooks. Then tried to use other public-domain sites to find cover for books/author and etc. You can easily setup RKHM to sync with Busyowl's API server and retrieve these items

How to setup?

Go "RKHM admin-area -> Content -> Audiobook -> Automation -> Busyowl" and enable "Sync". You can also use the same page to filter books and import only what you like

Yes