solved Album/Playlist pages needs "reload" button

alt=
@glgalbraith
10 years ago
22 posts
The reordering (drag and drop) feature is very nice on the albums/playlist pages. However, most users would not think to manually reload the page in the browser. It becomes out of sync with the player and seems broken once they reorder. It needs a "reload page/save" button. I am using the default template - is there a quick way to do this?
updated by @glgalbraith: 09/12/14 07:12:25PM
michael
@michael
10 years ago
7,714 posts
You can put a link to the current page anywhere on the page. That will server as a reload button:
<a href="(put the link to the current page in here....)">reload</a>
alt=
@glgalbraith
10 years ago
22 posts
Sorry - I'm a bit green here. The code to pull in the link would be:
Reload Page
or
Reload Page
Can you help me define the link code.
Many Thanks.
alt=
@glgalbraith
10 years ago
22 posts
glgalbraith:
Sorry - I'm a bit green here. The code to pull in the link would be:
Reload users playlist Page
or
Reload users album Page
Can you help me define the link code.
Many Thanks.
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
glgalbraith:
glgalbraith:
Sorry - I'm a bit green here. The code to pull in the link would be:
Reload users playlist Page
or
Reload users album Page
Can you help me define the link code.
Many Thanks.

You are so lazy.

<a href="#" onclick="window.location.reload(true);">1</a>



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
alt=
@glgalbraith
10 years ago
22 posts
Steve/Michael - Thanks so much for your help!
brian
@brian
10 years ago
10,148 posts
glgalbraith:
The reordering (drag and drop) feature is very nice on the albums/playlist pages. However, most users would not think to manually reload the page in the browser. It becomes out of sync with the player and seems broken once they reorder.

This indicates there is a problem. After re-ordering, the cache for the profile is reset, so everything should work. Can you let me know how to reproduce this issue?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@glgalbraith
10 years ago
22 posts
I don't think it has ever worked. I am on a Mac, Safari, Firefox. Neither reload the player unless initiated.
michael
@michael
10 years ago
7,714 posts
brian:
glgalbraith:
The reordering (drag and drop) feature is very nice on the albums/playlist pages. However, most users would not think to manually reload the page in the browser. It becomes out of sync with the player and seems broken once they reorder.

This indicates there is a problem. After re-ordering, the cache for the profile is reset, so everything should work. Can you let me know how to reproduce this issue?

Thanks!

I don't think its broken.

As I understand it:
* user reorders the songs in the play list
* needs to refresh the page so the playlist in the player corresponds to the newly re-ordered song order.

That's how its supposed to work.
brian
@brian
10 years ago
10,148 posts
michael:
That's how its supposed to work.

Only if they have the page open in another tab - they would then need to refresh that tab. But if they are:

- reordering the audio
- pressing "continue" after it has been re-ordered
- loading the playlist/album page

Then it should appear in the correct order - no need to "refresh" again. Maybe I'm misunderstanding the issue though...


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
10 years ago
7,714 posts
Playlists are not re-ordered in a separate re-ordering screen. They are re-ordered directly on the same page that the player is on.

eg:
site.com/admin/playlist/1/nature-sounds

Re-ordering the items at the bottom of the player will change the order of the playlist. But it wont change the order of the list in the player that is already displayed on the page.
brian
@brian
10 years ago
10,148 posts
michael:
Playlists are not re-ordered in a separate re-ordering screen. They are re-ordered directly on the same page that the player is on.

eg:
site.com/admin/playlist/1/nature-sounds

Re-ordering the items at the bottom of the player will change the order of the playlist. But it wont change the order of the list in the player that is already displayed on the page.

Got it Michael - I was thinking the re-ordering was being done on the main audio page - didn't think about the playlist re-order.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
@glgalbraith
10 years ago
22 posts
Thanks for helping. I think the user develops a mental model that they can drag and drop (reorder) "audio" files (in list view) and then expect the player to play it correctly unless the site tells them to save their reordered audio.
michael
@michael
10 years ago
7,714 posts
glgalbraith:
Thanks for helping. I think the user develops a mental model that they can drag and drop (reorder) "audio" files (in list view) and then expect the player to play it correctly unless the site tells them to save their reordered audio.

The only one who can re-order is the one who owns the list. So they are re-ordering it for the listeners that come later, not for themselves, so any new users who cant re-order are going to be confused to see a "Reload" button. Its not going to make any sense or have any purpose.

You can add it if you want to though.
alt=
@glgalbraith
10 years ago
22 posts
Good to know the permissions issue. Thanks.

Tags