Music folder accordion

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

Moderator: moderators

Postby Qbix » Mon Jul 04, 2011 5:35 pm

I can't get it working either...maybe a forget a step but...it's really just unzipping the archive and that's it right? :?:
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Postby Hellscream » Mon Jul 04, 2011 8:47 pm

Great work!!.
Everything working fine, i use SS 4.4 + for U
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Postby thezoggy » Tue Jul 05, 2011 3:47 am

here is a newer version (nothing different than the last version but just uses a newer version of jquery and jquery ui -- not the latest as this is the version i updated a few weeks back), just extract in your webapp folder and override.

http://www.speedyshare.com/files/292933 ... ordion.zip

c:\subsonic\jetty\####\webapp\
note that you will need to clear your jetty cache if you have previously launched subsonic as it 'caches' the web ui and any changed will not reflect until doing so.

what is happening behind the scenes is that your JSP is being turned into a Java file, compiled and loaded. This compilation only happens once, so after the first load, the file doesn't take long to load anymore. (But everytime you change the JSP file, it will be re-compiled again.)"

so to clear the subsonic 'cache' just stop subsonic.. go delete the folder
Stop server. Remove folder "...\subsonic\jetty\####\jsp". Start subsonic and let it rebuild the 'cache' again. Enjoy!
thezoggy
 
Posts: 5
Joined: Sat Dec 25, 2010 5:25 am

Postby Qbix » Tue Jul 05, 2011 11:33 am

Stupid...I totally forgot to remove the jsp cache. Now I did and it looks really great! Good Job! Now I'm only looking to what files I've got to edit to change the colour and size of the buttons.
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Postby Qbix » Wed Jul 06, 2011 2:44 pm

For those people who don't want to customize the theme I've made one
that's perfect (in my eyes) with the default Subsonic theme:

Image

If you want that theme you can download it here: Download

Just hit the black download button on the right! :)

Update:
Also changed the 'top menu' to match those buttons, if you want these image files..let me know, I'll upload them.
Image

Update 2:
Also changed the following buttons:
Image
Last edited by Qbix on Mon Aug 01, 2011 6:41 am, edited 1 time in total.
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Postby muiz » Mon Aug 01, 2011 2:02 am

i tried this mod...

very nice but also very anoying, chat is screwed by this.
so i want to get rid of it, but i dont know how
muiz
 
Posts: 86
Joined: Wed Feb 02, 2011 11:52 am

Postby Qbix » Mon Aug 01, 2011 6:39 am

chat is screwed by this

I'm not sure I understand...how can the chat got screwed by this??
Cheers,
Image
------------------
14.985 artiesten
10.798 albums
90.526 nummers
822,06 GB (~ 12.770 uur)
------------------------------
Qbix
 
Posts: 97
Joined: Thu Jun 30, 2011 1:36 pm
Location: Netherlands

Postby Hellscream » Mon Aug 01, 2011 9:30 am

@muiz but when you mentioned there is a delay loading components in chat window (user status) so i need few hit on refresh to get things work.

Steps to kill artist info:

1. kill gremlins
2. del "similar_artist" folder from script folder in your SS
3. edit script.js and delete

Code: Select all
(function() {
   
   Node.prototype.insertAfter = function(newNode, refNode) {
      if(refNode.nextSibling) {
         return this.insertBefore(newNode, refNode.nextSibling);
      } else {
         return this.appendChild(newNode);
      }
   };
   
   var loaded = function() {
      //load.injectDependency('https://github.com/cowboy/jquery-postmessage/raw/master/jquery.ba-postmessage.js');
      load.injectDependency('./script/similar_artists/similar_artists.js');
   };
   
    var load = function() {
       load.injectDependency('./script/similar_artists/jquery-1.5.1.min.js');
       load.tryReady(0);
    };
   
    load.injectDependency = function(script) {
        var sa = document.createElement('script');
        sa.type = 'text/javascript';
        sa.async = 'async';
        sa.src = script;
        var s = document.getElementsByTagName('script')[0];
        s.parentNode.insertAfter(sa, s);
    };
   
    load.tryReady = function(time_elapsed) {
       // Continually polls to see if jQuery is loaded.
       if(typeof(jQuery) === undefined) { // if jQuery isn't loaded yet...
          if (time_elapsed <= 15000) { // and we havn't given up trying...
             //setTimeout("load.tryReady(" + (time_elapsed + 200) + ")", 200); // set a timer to check again in 200 ms.
             setTimeout(function() {
                load.tryReady(200);
             }, 200);
          }
          else {
             alert("Timed out while loading jQuery.");
          }
       }
       else {
          loaded();
       }
   };
   
   load();
})();
Last edited by Hellscream on Mon Aug 01, 2011 11:01 am, edited 2 times in total.
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Postby muiz » Mon Aug 01, 2011 10:48 am

thx hellscream, now i can finaly get rid of this
muiz
 
Posts: 86
Joined: Wed Feb 02, 2011 11:52 am

Postby Hellscream » Mon Aug 01, 2011 10:50 am

I think i cant live withot that so i will keep pushing F5 :).
BTW chat still dont work damn gremlins edit host file :D.
Cheers
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Postby muiz » Mon Aug 01, 2011 10:53 am

hehehe first im going to delete this stuff :)
muiz
 
Posts: 86
Joined: Wed Feb 02, 2011 11:52 am

Re: Music folder accordion

Postby kermit22 » Fri Sep 16, 2011 12:30 pm

Can someone post a working link for the accordion zip again?
-My Subsonic Server-

OS: Windows Server 2016
Processor: Intel Xeon E5630
Memory: 8GB


2,098 artists
4,266 albums
39,450 songs
2,606 hours
User avatar
kermit22
 
Posts: 218
Joined: Fri Feb 20, 2009 7:00 pm

Re: Music folder accordion

Postby BKKKPewsey » Fri Sep 16, 2011 12:49 pm

Kermit if you pm me an email address I can send you the zip file. (not sure which version it is though but it works)
It seems phpBB will not allow zip or rar files as attachments in pm's :evil:

: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: Music folder accordion

Postby Hellscream » Fri Sep 16, 2011 12:54 pm

Or u can visit this link viewtopic.php?f=8&t=7419
Download pack and u will have accordion for every ss default theme
Image
User avatar
Hellscream
 
Posts: 160
Joined: Fri Apr 22, 2011 11:47 am
Location: Serbia

Re: Music folder accordion

Postby retteketet » Wed Sep 21, 2011 7:49 pm

works Great!
User avatar
retteketet
 
Posts: 6
Joined: Wed Sep 21, 2011 12:23 pm

PreviousNext

Return to Mods, Apps and Clients

Who is online

Users browsing this forum: No registered users and 10 guests