Clear the "Most Played" albums [Resolved]

Need help? Post your questions here.

Moderator: moderators

Clear the "Most Played" albums [Resolved]

Postby mozztoff » Tue Jan 03, 2012 10:58 pm

I am running 4.6 (build 2583) on Win08 R2.

Just curious if there is a way to clear the "Most Played" albums section for it to reset and start over? I just wanted to clear it with the start of 2012. Thanks for any help!
4,885 artists
8,541 albums
100,947 songs
1423.32 GB (~ 22,110 hours)
illest.info
mozztoff
 
Posts: 9
Joined: Sun Jan 16, 2011 5:11 pm
Location: USA

Re: Clear the "Most Played" albums

Postby BKKKPewsey » Tue Jan 03, 2012 11:56 pm

If you want to reset your all your album play counts to 0 then you can do this easily via db.view.
See viewtopic.php?f=2&t=7857&p=31452&hilit=database#p31452
for more info but basically you need to issue "update music_file_info set play_count=0"

: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: Clear the "Most Played" albums

Postby mozztoff » Wed Jan 04, 2012 2:18 pm

BKKKPewsey wrote:If you want to reset your all your album play counts to 0 then you can do this easily via db.view.
See viewtopic.php?f=2&t=7857&p=31452&hilit=database#p31452
for more info but basically you need to issue "update music_file_info set play_count=0"

:mrgreen:


Ahhh thanks! That worked perfectly, all reset now :)
4,885 artists
8,541 albums
100,947 songs
1423.32 GB (~ 22,110 hours)
illest.info
mozztoff
 
Posts: 9
Joined: Sun Jan 16, 2011 5:11 pm
Location: USA

Re: Clear the "Most Played" albums [Resolved]

Postby tsquillario » Fri Jan 06, 2012 1:34 pm

Great tip! Just had to use this today. That db.view is cool, very cool!
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: Clear the "Most Played" albums [Resolved]

Postby ytechie » Fri Jan 06, 2012 8:15 pm

Just note that in order for the changes to be saved permanently, you have to do a soft shutdown the next time your restart. If you pull the plug, when you start it up again, things may not be the way they are supposed to. Just saying.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Clear the "Most Played" albums [Resolved]

Postby BKKKPewsey » Fri Jan 06, 2012 9:07 pm

ytechie wrote:If you pull the plug, when you start it up again, things may not be the way they are supposed to. Just saying.

From experience if you just "pull the plug" nothing may be the way they are supposed to be, SS included :lol:
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: Clear the "Most Played" albums [Resolved]

Postby hanker » Wed May 14, 2014 9:24 pm

Greetings

I'm also trying to reset "Most played" albums.

I'm running ss 4.9 on a Mac (OS X 10.8.5)

I can access ss at

https://localhost:4443

no problem. But when I try to access

https://localhost:4443/contextpath/db.view

I get this:

HTTP ERROR: 404

EDIT:

OK, I figured it out. This works in ss 4.9 on a Mac. ss is on https, port 4443.

Log in as admin. Go to https://ss_server_address:4443/db.view

Enter this in the text box:

update media_file set play_count=0

and click the [OK] button. This resets all the play counts to zero. Clicking the [Most played] button in ss gives a blank result.

Also can do this: enter this in the text box:

update media_file set last_played=''

This deletes all the last_played values. Clicking the [Recently played] button in ss shows all dates to be 1/1/70.

Note that the media_file_info table has been renamed to media_file.
hanker
 
Posts: 33
Joined: Fri Nov 12, 2010 4:48 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 93 guests