Madsonic - Mashup Mod (old Support Thread)

Madsonic Mashup Mod is a fork of the Subsonic 4.7 Server Build 3090 with some Subsonic Data schema modifications!

Moderator: moderators

Re: Final: Madsonic Mashup Mod 4.7

Postby MadEvil » Wed Sep 26, 2012 7:52 am

jonnymnemo wrote:Hi Madevil !
Thank you for your incredible work !

Do you think there would be a way to make the login page more secure, and add a feature to register new users (like the sparkyRih mod, but without external sql) ?

thanks jonnymnemo,

yes for the 4.8 branch i plan some new feature

*) Upgrade to Spring framework 3.1 Security (password decode security)
*) internal Registration Engine
*) visual Login Rework
*) Facebook Login

best regards
Madsonic Developer
User avatar
MadEvil
 
Posts: 354
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Re: Final: Madsonic Mashup Mod 4.7

Postby GJ51 » Wed Sep 26, 2012 7:59 am

MadEvil wrote:
jonnymnemo wrote:
GJ51 wrote:I've got 2 Madsonic sites up. One is build 3120 and the similar Artists feature works. the other is build 3130 and the similar artists aren't showing - Show what others are playing and Show chat messages are both checked.

I'm not sure what's going on.


I have build 3130.
This feature works for me in firefox, but not in chrome !


Maybe if you use https a crossover call to the similar artist http server is blocked -> look with browser Console (STRG + SHIFT + J)

workarounds:

*) turn off https
*) use chrome switch

Just right-click the Google Chrome icon on your desktop, or inside the Windows Start Menu, choose Properties
and add the switch “–allow-running-insecure-content” to the target box.
Restart Chrome to apply the changes.

best regards


Yup, that's it - I just put the site that isn't dis[laying similar artists on SSL.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Final: Madsonic Mashup Mod 4.7

Postby jonnymnemo » Wed Sep 26, 2012 9:20 am

Yes, SSL was the issue. I prefered to allow insecure content only for subsonic (small icon at the right of the address bar) rather than allowing it for every site !
User avatar
jonnymnemo
 
Posts: 70
Joined: Thu Apr 12, 2012 8:11 am

Re: Final: Madsonic Mashup Mod 4.7

Postby Aktarus » Wed Sep 26, 2012 2:08 pm

MadEvil wrote:
Aktarus wrote:Hello,

First, THANK YOU for your good work with this mod !!!

i only have one question ... Where I can see the SIMILAR ARTISTS feature ??
When a song is played, is it possible to see similar artists ??

MERCI :)


as default if you are online you can use this query to find other similar Artists viewtopic.php?f=8&t=5836
you have 2 options for similar Artists (in right frame or from Top frame)

if you want it to view in the right frame, there are 2 user settings to enable/disable
if you disable this 2 options you get the link in top frame -> Social

Image

Image

Image


Hello,

I'd unchecked the two checbox .... but still no Similar Artist displayed anywhere !!! Not in the right frame .... not in the social icon !!! What can I do ??

MERCI :)
Aktarus
 
Posts: 50
Joined: Fri Feb 10, 2012 3:09 pm

Re: Final: Madsonic Mashup Mod 4.7

Postby jonnymnemo » Wed Sep 26, 2012 2:56 pm

Aktarus wrote:Hello,

I'd unchecked the two checbox .... but still no Similar Artist displayed anywhere !!! Not in the right frame .... not in the social icon !!! What can I do ??

MERCI :)


Hi !
I think the answer could be in the previous posts (previous page) ! :wink:
Which browser are you using ? Is SSL activated ?
User avatar
jonnymnemo
 
Posts: 70
Joined: Thu Apr 12, 2012 8:11 am

Re: Madsonic - Mashup Mod 4.7

Postby Aktarus » Wed Sep 26, 2012 3:02 pm

I use Google Chrome and Subsonic installation respond to HTTPS://******.*******.****:4041
If I try to use HTTP://******.*******.****:4040 .... error, no page to display !!!

I'm running Subsonic on my synology san !!

MERCI :)
Aktarus
 
Posts: 50
Joined: Fri Feb 10, 2012 3:09 pm

Re: Madsonic - Mashup Mod 4.7

Postby jonnymnemo » Wed Sep 26, 2012 3:39 pm

Aktarus wrote:I use Google Chrome and Subsonic installation respond to HTTPS://******.*******.****:4041
If I try to use HTTP://******.*******.****:4040 .... error, no page to display !!!


So the answer was really in the previous page ! :wink:
Ok ok, I'm in a good mood :

The similar artist feature is a non secure content (http), whereas your subsonic is secure (https).
In the address bar, on the right, there should be a small icon sayng that the page contains insecure content. Click on it an activate the content.
Everything should be OK now !
User avatar
jonnymnemo
 
Posts: 70
Joined: Thu Apr 12, 2012 8:11 am

Re: Madsonic - Mashup Mod 4.7

Postby MediocreFred » Thu Sep 27, 2012 3:19 am

Hello,

Long time Subsonic user, but, noobie to this mod (or any mod for that matter).

I have installed this on a brand new server running Ubuntu. So far, everything looks good. I have 2 questions that I'd appreciate help with.

1. To install newer builds, do I just download the most recent war.zip, extract the 3 files, shutdown Subsonic service, replace the 3 files and tart the service back up? Is this the recommended approach?

2. On my music server, the bulk of the users are going to be anonymous (logging in as guest/guest). So, for the guest user, I would like to disable a few of the menu options and also the whole Search bar (Search Google Wikipedia ...) that appears on the Playing page. What is the easiest way to "security-trim" the menu buttons as well as the Search Bar? Also, any way of disabling the page that shows up when clicking on the Subsonic logo (top-left) for guest users? Ideally, can some of these be added to the settings so I don't have to hack code with each new build?

Thanks,
MediocreFred.
MediocreFred
 
Posts: 35
Joined: Tue Oct 05, 2010 4:19 pm

Re: Madsonic - Mashup Mod 4.7

Postby jonnymnemo » Thu Sep 27, 2012 9:46 am

Hi MadEvil !
Your last update is very good ! No bugs encountered since I installed it. :D

Although, the thread about your mod is starting to be a little messy, with feature requests, help requests, bugs discussions, tips for installation...
I think it would be a good idea to have different sections for each topic, either in the subsonic forum, or in a dedicated forum.

What do you think ?
User avatar
jonnymnemo
 
Posts: 70
Joined: Thu Apr 12, 2012 8:11 am

Re: Final: Madsonic Mashup Mod 4.7

Postby j3tblk » Thu Sep 27, 2012 12:28 pm

MadEvil wrote:
j3tblk wrote:Is there a way to turn off the sliders?
I've had two people (out of four) complain about them being too sensitive...it is hard to use even for me and I don't need custom sliders.
Thanks!


i know the problem, but this can be fixed in your mouse control panel - you can take back the sensitivity for scrolling with the wheel.

best regards


So I've played with my mouse settings as suggested. I've taken the scroll and adjustments levels all the way down to the point where my 90 year old Grandmother would be bored by the mouse movement speed.
It is still touchy and wonky on the left side. It's unusable like this. I just want to disable it. I have over 2TB of audio so the left side list is fairly long. Could someone poing me in the right direction to disable the custom sliders? They are a deal breaker for me. Furthermore, ALL of my users have now emailed me complaining about this too. Thanks!
j3tblk
 
Posts: 117
Joined: Thu Jun 03, 2010 3:51 pm

Re: Madsonic - Mashup Mod 4.7

Postby MediocreFred » Thu Sep 27, 2012 2:43 pm

To add to the below, another question - why don't all builds on this page - http://uploaded.net/f/zryfjb - have DEBs? Some builds only have setup (which I think is just for Windows) and WARs. So, I am build 3125 (on Ubuntu). To get to the latest build (3132), do I have to install the 3130 DEB on top of current installation and then download the 3132 WAR.ZIP and replace the 3 files (since there is no DEB for the 3132 build) or, do I just download the 3132 WARs and overwrite the 3 files in my 3125 build?

Request to MadEvil - For rookies like myself, can you please include brief instructions in the first post to update to newer builds (especially on Unix).

Thanks.

MediocreFred wrote:Hello,

Long time Subsonic user, but, noobie to this mod (or any mod for that matter).

I have installed this on a brand new server running Ubuntu. So far, everything looks good. I have 2 questions that I'd appreciate help with.

1. To install newer builds, do I just download the most recent war.zip, extract the 3 files, shutdown Subsonic service, replace the 3 files and tart the service back up? Is this the recommended approach?

2. On my music server, the bulk of the users are going to be anonymous (logging in as guest/guest). So, for the guest user, I would like to disable a few of the menu options and also the whole Search bar (Search Google Wikipedia ...) that appears on the Playing page. What is the easiest way to "security-trim" the menu buttons as well as the Search Bar? Also, any way of disabling the page that shows up when clicking on the Subsonic logo (top-left) for guest users? Ideally, can some of these be added to the settings so I don't have to hack code with each new build?

Thanks,
MediocreFred.
MediocreFred
 
Posts: 35
Joined: Tue Oct 05, 2010 4:19 pm

Re: Madsonic - Mashup Mod 4.7

Postby jonnymnemo » Thu Sep 27, 2012 3:28 pm

Mediocrefred :
With a war package, you can easy update your madsonic.
Unzip the files in the /usr/share/subsonic folder, then in the same folder do a
Code: Select all
chmod +x *

If you don't, subsonic won't be able to start.

In summary (you have to be in root):
Code: Select all
service subsonic stop
cd /usr/share/subsonic
wget put_the_link_to_the_file -O the_name_you_want_to_give_it.zip
unzip the_name_you_want_to_give_it.zip
chmod +x *
service subsonic start


All builds don't have deb, ok, but the installation with a war package is quite as easy ! :wink:
User avatar
jonnymnemo
 
Posts: 70
Joined: Thu Apr 12, 2012 8:11 am

Re: Madsonic - Mashup Mod 4.7

Postby gurutech » Fri Sep 28, 2012 4:17 am

I'm running Fedora - would I put everything into /var/subsonic instead of /usr/share/subsonic for a WAR installation? I've always just done the RPM install.
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

Re: Madsonic - Mashup Mod 4.7

Postby jonnymnemo » Fri Sep 28, 2012 6:51 am

gurutech wrote:I'm running Fedora - would I put everything into /var/subsonic instead of /usr/share/subsonic for a WAR installation? I've always just done the RPM install.


I can't be sure about fedora, but normally it should be the same.
- one directory with the core files ( /usr/share/subsonic on ubuntu)
- one directory with the running files and the database ( /var/subsonic )
- one config file named subsonic ( /etc/default )
- the startup file subsonic.sh (/etc/init.d) which can be a symlink to the core folder

Maybe somebody with fedora could confirm ?

Edit : I just had a look in the last rpm. It is quite the same as in ubuntu, except the config file is in /etc/sysconfig (instead of /etc/default)
So yes, you have to unzip the war package in /usr/share/subsonic
User avatar
jonnymnemo
 
Posts: 70
Joined: Thu Apr 12, 2012 8:11 am

Re: Madsonic - Mashup Mod 4.7

Postby jonnymnemo » Fri Sep 28, 2012 11:21 am

Some users seem to have problems to upgrade madsonic, especially if it is a .war package.
To help some of them, I made a bash script for updating to the latest madsonic version.
My script works in ubuntu, but it could work for other distros.

Features :
- backup of the /var/subsonic folder in /var/subsonicYYMMDDhhmm
- java 7 install (with package list update and upgrade)
- madsonic .deb install
- madsonic .war update
- each feature is optionnal

Here is the code :
Code: Select all
#!/bin/bash
echo "######Madsonic update utility######"
echo "This script works for ubuntu"
echo "You should be in root mode for it to work"
echo "Yes or no questions are in capital : Y or N"

# Stop subsonic deamon

echo "First, we stop subsonic deamon"
service subsonic stop

# Prompt for backup
echo "Do you want to backup your subsonic folder before continuing ? IT IS HIGHLY RECOMMENDED !!!!! (default=Y) (Y/N)"
read reply
if [ "$reply" = N ]
   then    echo "OK OK, but don't complain then..."
   else   echo "Your subsonic database (only the /var/subsonic folder) will be saved in /var/subsonicYYMMDDhhmm"
      cp -R /var/subsonic /var/subsonic"$(date +%y%m%d%k%M)"

fi

# This part makes sure java 7 is installed
echo "Your java version is :"
java -version
echo "Java 7 is needed for madsonic (your version number should be starting with 1.7). If you can't install it, make sure to install a madsonic compatible edition (SE), and answer yes to the next question."

echo "Do you hava java 7 installed ? (default=Y) (Y/N)"
read reply
if [ "$reply" = "N" ]

# Package list update
   then    apt-get update

# Prompt for package upgrades
   echo "Before installing java, do you want to upgrade your packages ? (default=Y) (Y/N)"
   read reply
   if [ "$reply" = "N" ]
      then echo "Ok, skipping package upgrade !"
      else apt-get upgrade
   fi

# Java installation

   apt-get install openjdk-7-jre
   else    echo "Ok, we skip the java install..."
fi


# Prompt for debian madsonic
echo "Do you have the latest madsonic DEBIAN package ? (default=Y) (Y/N) "
read reply

if [ "$reply" = "N" ]
   then

# This part installs the madsonic .deb package
      echo "paste the link to the madsonic deb package"
      read deblink
      echo "which build number ?"
      read debno
      wget "$deblink" -O madsonic"$debno".deb
      dpkg -i madsonic"$debno".deb

   else echo "Ok, we skip the debian package install..." 
fi

# This part makes sure this is the latest version of madsonic

echo "Is your madsonic the latest version ? (default=Y) (Y/N)"
read reply

if [ "$reply" = "N" ]
   then
   echo "Make sure you installed a .deb package before, because the war packages doesn't contain everything !!!!!"
   echo "Are you sure you want to install the latest .war package ? (default=N) (Y/N)"
   read reply
   if [ "$reply" = "Y" ]
      then

# This part updates madsonic with the latest war package
         echo "Paste the link to the madsonic war package"
         read madlink
         echo "Which build number is it?"
         read buildno
         wget "$madlink" -O madsonic"$buildno".zip
         unzip -o madsonic"$buildno".zip -d /usr/share/subsonic
         chmod +x /usr/share/subsonic/*
         else echo "Ok, we skip the .war update..."
   fi
   else echo "Ok, we skip the .war update..."

fi

# Start subsonic deamon
echo "Madsonic starting again..."
service subsonic start

echo "Thank you for installing madsonic !"

exit



Link to download : http://dl.free.fr/mru6yayUZ

INSTRUCTIONS :
- copy this file to any folder
- start the script with sudo :
Code: Select all
sudo sh madsonicupdate.sh


If you have any suggestions to make it better, don't hesitate ! :wink:

EDIT : I forgot to uncomment a line. It should be OK now !
Last edited by jonnymnemo on Fri Sep 28, 2012 3:00 pm, edited 1 time in total.
User avatar
jonnymnemo
 
Posts: 70
Joined: Thu Apr 12, 2012 8:11 am

PreviousNext

Return to Madsonic

Who is online

Users browsing this forum: No registered users and 1 guest