Subsonic Web UI Cleanup\Overhaul

Third-party modifications and add-ons, Apps and Clients

Moderator: moderators

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Fri Oct 28, 2011 1:12 pm

Schokobecher wrote:What about http://www.programmableweb.com/api/lyricsfly or http://instalyrics.com/ ?
over 600k songs so far @ lyricsfly.
Maybe a option to add own lyrics using the Subsonic interface will do for now?



It looks like instalyrics is using musiXmatch to power their lyrics search. i'm not sure what their terms of use are but I'm sure they don't allow scraping (since they probably paid for a license).
Also instalyrics does not offer any kind of api.

lyrics fly was not very reliable for me..
My example search was 'eminem 8 mile' which should have given me the lyrics, but no. if you search 'eminem' then click the '8 mile' link, it works, or type '8 mile' then click the link. but doesn't work with both artist and track for me. not sure...
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby pemholder » Fri Oct 28, 2011 6:38 pm

califrag wrote:So still not sure where to go with this but will have something better soon....

What about using embedded lyrics first.
Whenever I have time to do so, I save lyrics in the Tag-field "UNSYNCEDLYRICS" and I think I am not the only one.

Any program routine should lokk for "UNSYNCEDLYRICS" first and if there is nothing search for online-lyrics.
pemholder
 
Posts: 97
Joined: Wed Dec 09, 2009 1:28 pm

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Tue Nov 01, 2011 5:02 am

pemholder wrote:
califrag wrote:So still not sure where to go with this but will have something better soon....

What about using embedded lyrics first.
Whenever I have time to do so, I save lyrics in the Tag-field "UNSYNCEDLYRICS" and I think I am not the only one.

Any program routine should lokk for "UNSYNCEDLYRICS" first and if there is nothing search for online-lyrics.



I plan to look into using embedded lyrics, but haven't quite made it into the 'how does subsonic handle id3 metadata' yet. I've peeked at it, but not really dug into it.

I've been focusing on cleaning up the original goal for this which was the web UI.

I posted an updated .war file which fixed some issues, adds the musiXmatch lyrics api and also is more transitioned towards jQuery vs. prototype, which basically means a lot nicer animations.

It seems like it's a little slow to cache at first, so if the pages don't completely load the first time you open it just hit reload and everything should refresh.

As always back up your old .war file just in case!

See first post for updated changelog
Last edited by califrag on Tue Nov 01, 2011 8:28 pm, edited 3 times in total.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby BKKKPewsey » Tue Nov 01, 2011 12:38 pm

Anyone know how to install this on Windows pc with SS installed using the windows installer.
I aint got a WAR file :?

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Tue Nov 01, 2011 7:12 pm

BKKKPewsey wrote:Anyone know how to install this on Windows pc with SS installed using the windows installer.
I aint got a WAR file :?

:mrgreen:



I'm not sure how the windows version installs but it should create a 'webapp' folder somewhere. You can just back that folder up and unzip the .war into the webapp directory.

The folder structure should be like this:

webapp
webapp\WEB-INF
webapp\WEB-INF\classes
webapp\WEB-INF\jsp
webapp\script
webapp\style
webapp\icons
etc etc.

The .war contains all of the files for the webpage app, including the updated .class files (under WEB-INF/classes), so it should pretty much be an all-in-one except for the booter\loader.
The booter\loader is probably a separate .exe or .bat which uses the .war to create the initial webapp directory and serve files from it.

If it doesn't work after you unzip the new files into the webapp directory, just restore your old webapp files and it will be back to the old 4.5.

It's fairly safe to mess around with most of this stuff, the only remnant that will be left behind will be the new database columns it creates for the options I've added (list_rows, list_columns, webfont, etc).

Those values will persist in your database unless you do the following:
go to more>database viewer, use the following sql "ALTER TABLE user_settings DROP COLUMN list_rows". You'll need to do the same for list_columns and webfont.

I don't think it will hurt anything if these columns are left behind should you decide to downgrade back to 4.5.

Anyways, let me know if you're able to get it going. I plan to get an installer package compiled as soon as I've got enough feedback to deem a stable release and once I've got everything synced to svn.
Last edited by califrag on Tue Nov 01, 2011 8:27 pm, edited 1 time in total.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby Schokobecher » Tue Nov 01, 2011 8:24 pm

Well, I'm back.
Thank you califrag for your hard work :)
Schokobecher
 
Posts: 16
Joined: Tue Oct 25, 2011 4:45 pm
Location: Germany

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Tue Nov 01, 2011 8:33 pm

Schokobecher wrote:Well, I'm back.
Thank you califrag for your hard work :)

Thanks! it's hard to keep up with Sindre. this guy is a machine! 8 commits today so far, nearly as many yesterday. I just finished syncing my code up with his at noon today and now I'm behind again. :shock:
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby BKKKPewsey » Wed Nov 02, 2011 8:47 pm

Give us a all a nod when you have caught up (if that is even possible :wink: )
With the release of 4.6 beta now is definitely the right time to try your mod, as you have implemented most of mine (it seems)
and re-implementing all of them singularly is a real pain in the .......
  • player mod eg icons
  • similar artists
  • accordian
  • subEQ and backstroke mod to player
  • Recently added default
  • and so on......

:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Wed Nov 02, 2011 9:01 pm

BKKKPewsey wrote:Give us a all a nod when you have caught up (if that is even possible :wink: )
With the release of 4.6 beta now is definitely the right time to try your mod, as you have implemented most of mine (it seems)
and re-implementing all of them singularly is a real pain in the .......
  • player mod eg icons
  • similar artists
  • accordian
  • subEQ and backstroke mod to player
  • Recently added default
  • and so on......

:mrgreen:


I've just finished syncing the latest changes that Sindre made to the SVN about 10 minutes ago (build 2517) :)

i'm sure he'll post more commits today though

I've got a few more things I need to tie up on my end, trying to remove the prototype.js and scriptaculous dependencies which will reduce the .js by about six or seven files.


EDIT:

Just posted a new build as of 3:53AM my time.... I've got "drag and drop playlist sorting" working.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby poisonborz » Thu Nov 03, 2011 2:33 pm

wow, this is really promising and cool.
finally a cleaner way to tweak the looks, and the added features are awesome (drag&drop, woohoo).

- please watch out to make most of the layout changes in css, not in the jsp, to allow greater customization (beyond color themes)
- I suggest to try to set up a demo site showcasing the latest build as soon as possible, so one can check this out without messing with an actual install
poisonborz
 
Posts: 8
Joined: Tue Oct 11, 2011 3:16 pm

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Thu Nov 03, 2011 6:24 pm

poisonborz wrote:wow, this is really promising and cool.
finally a cleaner way to tweak the looks, and the added features are awesome (drag&drop, woohoo).

- please watch out to make most of the layout changes in css, not in the jsp, to allow greater customization (beyond color themes)
- I suggest to try to set up a demo site showcasing the latest build as soon as possible, so one can check this out without messing with an actual install


I've been stripping most of the 'style' tags from the jsp files and moving everything to id's and classes.

I plan to get the demo site up within the next week. A couple major bugs I need to fix first.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby trickydick » Fri Nov 04, 2011 12:07 am

I really like what you did to the themes (epecially the Outlook Black :D ). I've been trying to get the dropdowns to be clean like that. Do you have the source files, or should i just extract them from the WAR file?
Tricky
User avatar
trickydick
 
Posts: 147
Joined: Wed Mar 30, 2011 12:43 am
Location: Sanford, North Carolina

Re: Subsonic Web UI Cleanup\Overhaul

Postby califrag » Fri Nov 04, 2011 12:26 am

trickydick wrote:I really like what you did to the themes (epecially the Outlook Black :D ). I've been trying to get the dropdowns to be clean like that. Do you have the source files, or should i just extract them from the WAR file?

Everything is being synced into the subsonic svn under a separate branch :)

here's the link:
http://subsonic.svn.sourceforge.net/vie ... saracenob/

they're under subsonic-main/src/main/webapp.
If you'd like I can also zip them up and attach them here.

Please note though that the themes are not compatible between my modded version of subsonic and the official version because I've changed the backend stuff...
For example, if you take the css and icons from my mod and put them into the official version (or vice-versa), things will be broken.
This is because the theme .properties files have all been changed so the naming conventions for the images are consistently applied.

I'm hoping eventually Sindre will consider incorporating my changes to the official branch, as I haven't changed anything in regards to the licensing/donation.

Everything is just cosmetic, usability or just cleanup changes.

Anyways, I'm really glad you like the changes and approve of them, I was afraid you'd say 'that's not how i intended them to look'. I still need to go back and add the shadows in.

Let me know if you find any bugs.

PS. i hate niceforms, they are causing the random playlist generator problems.
califrag
 
Posts: 72
Joined: Mon Sep 26, 2011 3:43 am

Re: Subsonic Web UI Cleanup\Overhaul

Postby Ultraviolet » Sun Nov 06, 2011 4:45 pm

Love what I'm seeing so far. Great work. A few thoughts in a Win 7 64bit system with your .war in the shared dropbox on 4.6.beta1.

Bug:
-Can't get anything other than the main frame to render in most recent version of FF. Things work great in Chrome though.

Other thoughts:
-I like what you're doing with the Random Playlist functionality. What about moving it to a more logical location like the advanced portion of trickydick's player mod? I've always thought Sindre had that in a strange spot. Almost none of my users even know it exists.
-It would be great if the playlist frame was resizable.
-I absolutely love the drag and drop playlist functionality. Can you get rid of the Up/Down arrows now on the tracks in the playlist?
-A piece of functionality that was in trickydick's Outlook themes was a "previous"/"next" or "forward"/"back" (can't remember) functionality where if you had 100 U2 albums and you selected one to view the tracks in the main frame, you could move alphabetically forward and backward without having to return to the jquery accordian. I don't see that implemented in currently, but I loved the convenience of that.

Thanks for the awesome work--I'm loving the changes (especially drag and drop playlists!).
Ultraviolet
 
Posts: 62
Joined: Wed Jul 21, 2010 2:29 pm

Re: Subsonic Web UI Cleanup\Overhaul

Postby BKKKPewsey » Sun Nov 06, 2011 8:52 pm

As I finally found my war file which was hiding :shock: (new glasses reqd.) in program files/subsonic I thought I would give this a try. So I deleted my jetty folder, replaced the war file with new one and re-started SS.
This unpacked the war file successfully but instead of putting the files in jetty/xxxx/webapp they appeared in jetty/webapp.
Thinking this was probably not a good idea I re-installed 4.6beta by renaming my war files again, checked all was back working and then unzipped the war file and replaced webapp with the new files. In anticipation I fired up chrome and got :-
Image

Just the backgrounds and the frame borders with the rather unhelpful message
It is probably me doing something obviously stupid but what I cannot guess what :?

Windows Server 2003
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

PreviousNext

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 6 guests