To quit gambling for good you should have determinations for yourself in order to have enough strength to resist your daily ways and habits which could tempt you in playing gambling. One thing I can advice you is study music lessons and have time to be busy with other enjoyable things aside from gambling.
All it needs is just common sense to stop gambling. Most people dont realize this and keep on blaming things saying that it is hard to quit because there are like 1001 reasons on why they COULDNT stop. Doing another thing wont literally help you stop if your minds keep thinking that about gambling and stuff
Hahaha
. Yeah, common sense and an inspiration to push you through more, common sense is not enough though, you also need inspiration to help yourself, so you can have goals to look forward to.
Reverting your focus is another way to lessen your gambling activity, but as you said, on the first days and weeks of these solution, you will be really missing gambling which is more likely a failure, but if you are really serious on getting this activities done, then you must really learn to control yourself.,