Author Topic: Trimming Most Played File  (Read 343 times)

Offline Gaucho

  • Commercial Operator
  • Hero Member
  • **********
  • Posts: 912
  • Fu: +10/-10
Trimming Most Played File
« on: October 23, 2018, 11:58:37 AM »
Hi Barry,

Is there a way of automatically trimming the most played/History files to say just 30 days or top 50.

The files get very big and delay the loading of etouch and I have been manually doing it but sometimes make a mistake which corrupts the records.

Offline Barcrest

  • Developer and Head Honcho.
  • Administrator
  • Hero Member
  • *****
  • Posts: 13480
  • Fu: +92/-5
  • Grooooooooovy!
Re: Trimming Most Played File
« Reply #1 on: October 25, 2018, 03:29:23 PM »
You should be able to do it with the history edit tool. Trim the history and remove the most played file and it will recreate it on boot up.
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...

Offline Gaucho

  • Commercial Operator
  • Hero Member
  • **********
  • Posts: 912
  • Fu: +10/-10
Re: Trimming Most Played File
« Reply #2 on: October 26, 2018, 09:51:26 AM »
O.K. thanks Barry.

Does it not use the most played for creating the venue charts?

Offline Barcrest

  • Developer and Head Honcho.
  • Administrator
  • Hero Member
  • *****
  • Posts: 13480
  • Fu: +92/-5
  • Grooooooooovy!
Re: Trimming Most Played File
« Reply #3 on: October 29, 2018, 08:16:14 AM »
O.K. thanks Barry.

Does it not use the most played for creating the venue charts?

Yes but once your charts are created it will not remove them
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...

Offline Gaucho

  • Commercial Operator
  • Hero Member
  • **********
  • Posts: 912
  • Fu: +10/-10
Re: Trimming Most Played File
« Reply #4 on: October 29, 2018, 11:24:58 AM »
Thanks

Offline Barcrest

  • Developer and Head Honcho.
  • Administrator
  • Hero Member
  • *****
  • Posts: 13480
  • Fu: +92/-5
  • Grooooooooovy!
Re: Trimming Most Played File
« Reply #5 on: October 29, 2018, 06:36:43 PM »
If you are unsure just back up your history files before you trim them
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...

Offline Gaucho

  • Commercial Operator
  • Hero Member
  • **********
  • Posts: 912
  • Fu: +10/-10
Re: Trimming Most Played File
« Reply #6 on: October 30, 2018, 02:41:14 PM »
Just what I was going to do :-)

Offline Risim

  • Commercial Operator
  • Hero Member
  • **********
  • Posts: 844
  • Fu: +5/-0
Re: Trimming Most Played File
« Reply #7 on: December 15, 2018, 12:18:11 PM »
so this is done one song at a time ???  Can etouch limit how much user history to save?

Offline Barcrest

  • Developer and Head Honcho.
  • Administrator
  • Hero Member
  • *****
  • Posts: 13480
  • Fu: +92/-5
  • Grooooooooovy!
Re: Trimming Most Played File
« Reply #8 on: December 15, 2018, 02:58:35 PM »
so this is done one song at a time ???  Can etouch limit how much user history to save?

No it will save everything for commercial licence compliance.
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...

Offline Risim

  • Commercial Operator
  • Hero Member
  • **********
  • Posts: 844
  • Fu: +5/-0
Re: Trimming Most Played File
« Reply #9 on: December 16, 2018, 11:03:59 PM »
so this is done one song at a time ???  Can etouch limit how much user history to save?

No it will save everything for commercial licence compliance.

Yeah I comply but after I report a quarter I can delete it from user history thus reducing load time.  So right now 1 song at a time?  Any ideas on doing it from my end?  I mean I open userhistory in notepad and its info is all over the place thus making it hard to  erase a specific part.

Offline Barcrest

  • Developer and Head Honcho.
  • Administrator
  • Hero Member
  • *****
  • Posts: 13480
  • Fu: +92/-5
  • Grooooooooovy!
Re: Trimming Most Played File
« Reply #10 on: December 18, 2018, 10:53:53 AM »
so this is done one song at a time ???  Can etouch limit how much user history to save?

No it will save everything for commercial licence compliance.

Yeah I comply but after I report a quarter I can delete it from user history thus reducing load time.  So right now 1 song at a time?  Any ideas on doing it from my end?  I mean I open userhistory in notepad and its info is all over the place thus making it hard to  erase a specific part.

Each record has a set number of characters for it's field, this is why it seems disjointed in notepad. Are you using the history edit tool to trim the file?
Keep on Rocking in the Free World \m/ ;D\m/



Jukebox Stats...