Karaoke plugin?

Status
Not open for further replies.

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Has anybody tried making a karaoke plugin? Pykaraoke has already been ported to freebsd. So doesn't that mean it should be possible on Freenas as well?
this looks like a GUI program. is there a webserver component to this? if not then there's no point.
 
D

dlavigne

Guest
And, if there isn't a plugin, you may still be able to install the package or the port into a Plugins jail.
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
Thanks for replying. I guess I'll wait until somebody with more experience than me figures out a way to do this...
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
Another question on this. There are a bunch of android apps that can play various karaoke files - including from a server. One - Uludzsoft - states that "Remote collections are supported. Currently the collection must be available over HTTP or HTTPS (with optional authentication) and the server needs to provide the index for the collection to be scanned." Is there any way to set this up on Freenas? Thanks
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
Does anybody have any ideas on this? So would it be possible, for instance, to have an Apache server (which we C AN install in a jail on FreeNAS) 'serve' a folder with karaoke files to some clients like the one I suggested for Android? I was able to set up Apache - when I type in the IP-address I assigned to that jail it says "It works"! But so what do I do now? Any help would be greatly appreciated!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Does anybody have any ideas on this? So would it be possible, for instance, to have an Apache server (which we C AN install in a jail on FreeNAS) 'serve' a folder with karaoke files to some clients like the one I suggested for Android? I was able to set up Apache - when I type in the IP-address I assigned to that jail it says "It works"! But so what do I do now? Any help would be greatly appreciated!
You could drop those files in /usr/local/www and apache would serve them. It would let clients download them, that's it.
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
Thanks Joshua. I had (in Jails|Apache|Storage) connected /mnt/Karaoke to the folder on the NAS where I copied all of my karaoke files. So do I have to change that? And why do you say "that It would let clients download them, that's it" - does that mean that it's not an optimal solution?
 
Last edited:

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Thanks Joshua. I had (in Jails|Apache|Storage) connected /mnt/Karaoke to the folder on the NAS where I copies all of my karaoke files. So do I have to change that? And why do you say "that It would let clients download them, that's it" - does that mean that it's not an optimal solution?
You can either tell apache to serve from a different directory, or mount your dataset to the location I mentioned instead.

I'm just not sure what you are trying to do. If you want to serve files, it's pretty darn simple.
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
Hmmm.. Maybe it is. But so I've linked the folder where I have all of the Karaoke files (/mnt/StephanNAS/Karaoke) to the /usr/local/www folder in the apache jail. ANd when I then point the android app to the collection (with the jail's IP-address), it doesn't 'see' anything.... Did I do sthg wrong?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hmmm.. Maybe it is. But so I've linked the folder where I have all of the Karaoke files (/mnt/StephanNAS/Karaoke) to the /usr/local/www folder in the apache jail. ANd when I then point the android app to the collection (with the jail's IP-address), it doesn't 'see' anything.... Did I do sthg wrong?
I have no idea about your android device is expecting.
It's dead simple to point apache to a directory and have it index the files, but I don't know if that's what you want.
 

sdspieg

Contributor
Joined
Aug 6, 2012
Messages
168
Problem solved. I restarted Apache and now it does serve those folders properly. All I had to do was to enter the Apache jail's IP address in the settings of the Android karaoke app and everything was read in. Works beautifully now. So for those who are interested in a karaoke solution in their home - here's mine:
  • create a directory in your FreeNAS Volume alongside the other ones you might have for regular music, movies, tvshows, etc. (e.g. /mnt/FreeNAS/Karaoke - whereby you of course replace the 'FreeNAS' folder with whatever name you've given your volume)
  • copy all of the karaoke files you have into that directory (subdirectories are fine - and will be read)
  • install Apache in a jail on FreeNAS - at the end check your configuration
    Code:
    # apachectl configtest
  • link your Karaoke directory outside of the jail (source) to a folder you create inside the jail storage (destination - see image)
03.07.2015-22.53.png

  • put that directory as the DocumentRoot for your apache server (/mnt/FreeNAS/jails/Apache/usr/local/etc/apache24/httpd.conf)
  • restart apache
    Code:
    # apachectl restart
  • and then use any Karaoke player that allows you to play karaoke files in different formats from a server - I am using this one for Android and it works great
 
Status
Not open for further replies.
Top