With all due respect to Alex, and he is certainly correct about the tartan tat shops, I think Edinburgh is a beautiful city and I always enjoy my visits there and I would allocate a bit more time than an hour or two!
John