MiniSub - Subsonic HTML5 Web App (Archive)

Jamstash is an HTML5 Mini Player for the Subsonic streaming server

Moderator: moderators

Re: Subsonic HTML5 MiniPlayer

Postby bmj1086 » Sun Nov 20, 2011 5:17 pm

EDIT: I found others that aren't listed that come up in the getIndexes.view API.

Hey, great job on the UI.

There are clearly some bugs as I'm sure you're already aware of but I'll just give you something that may help you. One (that I know of) artist isn't showing up in the list on the left side. I can navigate to the artist via the "Recently Played" and even play the music but it is not showing the artist in the left panel.

My rest API is returning it in the XML list

Code: Select all
<index name="N">
      <artist name="Norma Jean" id="2f6d656469612f53747566662f4d757369632f4e6f726d61204a65616e"/>
    </index>


Image
bmj1086
 
Posts: 28
Joined: Tue Mar 01, 2011 4:11 am
Location: USA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Mon Nov 21, 2011 1:54 pm

bmj1086 wrote:EDIT: I found others that aren't listed that come up in the getIndexes.view API.

Hey, great job on the UI.

There are clearly some bugs as I'm sure you're already aware of but I'll just give you something that may help you. One (that I know of) artist isn't showing up in the list on the left side. I can navigate to the artist via the "Recently Played" and even play the music but it is not showing the artist in the left panel.

My rest API is returning it in the XML list

Code: Select all
<index name="N">
      <artist name="Norma Jean" id="2f6d656469612f53747566662f4d757369632f4e6f726d61204a65616e"/>
    </index>


Image


The API should be returning JSON. Go to this URL replacing the host:port, username and password with yours. See if the artist is in there.
http://host:port/rest/getIndexes.view?u=username&p=password&v=1.6.0&c=subweb&f=json

If it is then it must be an issue on my side, if not then it's a bug in Subsonic. If it's in there then save the text of the response into a text file and email it to me.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby bmj1086 » Tue Nov 22, 2011 5:06 am

It's certainly in the JSON. I'm not a JSON fan so I usually use XML. I modified the HTML in Chrome to add the Norma Jean li with the corresponding ID. Once I do that, clicking it brings up the albums for the band.

Here's the JSON if you want to debug. http://pastebin.com/geQ59suK
bmj1086
 
Posts: 28
Joined: Tue Mar 01, 2011 4:11 am
Location: USA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Tue Nov 22, 2011 3:30 pm

bmj1086 wrote:It's certainly in the JSON. I'm not a JSON fan so I usually use XML. I modified the HTML in Chrome to add the Norma Jean li with the corresponding ID. Once I do that, clicking it brings up the albums for the band.

Here's the JSON if you want to debug. http://pastebin.com/geQ59suK


Fixed! Pushed the update to GitHub. The returned JSON is a little goofy when returning 1 vs many items, added some logic to account for that. I actually had this issue in my list too, it would only happen if there was only one artist in a particular letter.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby bmj1086 » Wed Nov 23, 2011 1:06 am

EDIT: I just tested from the github tar.gz and it's still not working.
bmj1086
 
Posts: 28
Joined: Tue Mar 01, 2011 4:11 am
Location: USA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Wed Nov 23, 2011 12:20 pm

bmj1086 wrote:EDIT: I just tested from the github tar.gz and it's still not working.


I'm 99% that should have fixed your issue cause it fixed it for me. I don't even know where to get the tar.gz, GitHub only shows me a link to a zip file. I realize they are the same, but try downloading the zip file from the main project page. You should see .016 listed within the README file.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby bmj1086 » Fri Nov 25, 2011 6:14 pm

tsquillario wrote:I'm 99% that should have fixed your issue cause it fixed it for me. I don't even know where to get the tar.gz, GitHub only shows me a link to a zip file. I realize they are the same, but try downloading the zip file from the main project page. You should see .016 listed within the README file.


https://github.com/tsquillario/MiniSub/downloads

It shows the tar.gz for me. Maybe it's because I'm on Ubuntu. Anyway, I fixed it. I found out that I had the MiniSub directory in two locations and I upgraded the wrong directory.
bmj1086
 
Posts: 28
Joined: Tue Mar 01, 2011 4:11 am
Location: USA

Re: Subsonic HTML5 MiniPlayer

Postby Y_Less » Tue Nov 29, 2011 1:11 pm

Hi, I've installed this and got it up and running on Chrome (took a little while to realise that it was working on Firefox, it just wasn't playing the MP3s because they're not supported there). I'm having a problem though as the time is shown as NaN:NaN / NaN:Infinity and the playlists don't progress to the next song when one finishes (I'd guess that's related to not knowing how long the song is, but it's odd as the length of the song is shown perfectly in the main playlist view).
Y_Less
 
Posts: 1
Joined: Tue Nov 29, 2011 1:07 pm

Re: Subsonic HTML5 MiniPlayer

Postby cnliberal » Tue Dec 20, 2011 10:42 pm

I just discovered MiniSub, and it's fantastic! I'd really love the ability to use my media keys on my keyboard with MiniSub. There's a Chrome App for the media keys for Google Music. Would it be possible to add that for Chrome?

I'm also curious why some of my album art shows as a broken image? I can see the image in the standard Subsonic website. The current image not displaying is a BMP file. Does it have to be JPG?

Currently, I've setup a separate folder for all of my Christmas music (who wants that year round?). I've created a playlist with all of the songs from that folder. I can play the playlist in MS, but it'd be nice if the screen focused on the currently playing song (like other players do (WinAmp?)). If that's not possible, then no biggie. Thanks for this great software!
cnliberal
 
Posts: 66
Joined: Fri Nov 19, 2010 12:52 am
Location: Castle Rock, CO, USA

Re: Subsonic HTML5 MiniPlayer

Postby cnliberal » Thu Dec 22, 2011 5:15 pm

Am I just missing this option, but can I choose a specific media folder (Music, Christmas, Videos), and then choose to shuffle random songs/albums _from_ that folder? Thanks!
cnliberal
 
Posts: 66
Joined: Fri Nov 19, 2010 12:52 am
Location: Castle Rock, CO, USA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Thu Jan 05, 2012 2:42 pm

cnliberal wrote:I just discovered MiniSub, and it's fantastic! I'd really love the ability to use my media keys on my keyboard with MiniSub. There's a Chrome App for the media keys for Google Music. Would it be possible to add that for Chrome?

I'm also curious why some of my album art shows as a broken image? I can see the image in the standard Subsonic website. The current image not displaying is a BMP file. Does it have to be JPG?

Currently, I've setup a separate folder for all of my Christmas music (who wants that year round?). I've created a playlist with all of the songs from that folder. I can play the playlist in MS, but it'd be nice if the screen focused on the currently playing song (like other players do (WinAmp?)). If that's not possible, then no biggie. Thanks for this great software!


I suppose if I could determine what key is pressed with JQuery I could add that functionality. I dug around on the web and didn't find much. I'll let you know if I see anything. Good idea.

The album art is picky, not sure why certain ones work while certain ones don't. This is an error with the Subsonic API. If you take the URL of the image, copy/paste that into another tab in your browser, you will see the error Subsonic generates.

I will have to experiment with multiple folders. I currently have one main folder, with subfolders for all the artists (I let iTunes organize my music). I'm not sure if the API will even let me choose folders. I'll update on my findings.

Glad you enjoy! I haven't had much to update lately, I still use MiniSub everyday at work and I'm pretty darn happy with it. Subsonic is the shit!
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby cnliberal » Thu Jan 05, 2012 3:02 pm

Thank you for replying to my questions! Regarding the "Christmas Folder", I should be more specific. It's currently a completely separate folder under SETTINGS, MEDIA FOLDERS in SS. So it's not a folder just in my normal 'music' folder hierarchy. I will be 'disabling' it here today (because, it's after Christmas, obviously) so it's not a priority. It'd just be nice to be able to choose which media folders I'd like displayed in MiniSub. I also have Video folders that are in the main list on the left, so that gets confusing. I suppose it's an API thing with SS. I know that in my SS web page, I choose only my music folder, yet it gives me the total space of Music + Videos + Christmas. Either way, I am using MiniSub everyday and it's great! Very fast! Thanks again!
cnliberal
 
Posts: 66
Joined: Fri Nov 19, 2010 12:52 am
Location: Castle Rock, CO, USA

Re: Subsonic HTML5 MiniPlayer

Postby cnliberal » Thu Jan 05, 2012 7:34 pm

Also, am I missing how to create a playlist out of the 'Current Playlist' screen? Thanks!
cnliberal
 
Posts: 66
Joined: Fri Nov 19, 2010 12:52 am
Location: Castle Rock, CO, USA

Re: Subsonic HTML5 MiniPlayer

Postby tsquillario » Thu Jan 05, 2012 9:18 pm

cnliberal wrote:Also, am I missing how to create a playlist out of the 'Current Playlist' screen? Thanks!


Done! Pushed an update on GitHub which allows you to add to an existing playlist from the Current Playlist screen.
Jamstash Developer
Chrome App - https://chrome.google.com/webstore/detail/jccdpflnecheidefpofmlblgebobbloc
Beta Site - http://beta.jamstash.com
GitHub Project - https://github.com/tsquillario/Jamstash
User avatar
tsquillario
 
Posts: 206
Joined: Thu Jun 30, 2011 5:10 pm
Location: State College, PA

Re: Subsonic HTML5 MiniPlayer

Postby cnliberal » Thu Jan 05, 2012 10:39 pm

I just re-downloaded, deleted contents of old minisub directory, and pushed new minisub files to the correct directory. File dates match with today. I then restarted the subsonic process. I logged into the normal subsonic webapp. Then I browsed to the minisub directory. Minisub opened correctly. I added several albums to the current playlist. I still don't see where to save that to a playlist. Should I try to delete and re-add the minisub files back? Thanks!
cnliberal
 
Posts: 66
Joined: Fri Nov 19, 2010 12:52 am
Location: Castle Rock, CO, USA

PreviousNext

Return to Jamstash (formerly MiniSub)

Who is online

Users browsing this forum: No registered users and 25 guests