relative path saving

Now tv saves absolute path. If you change mediasource all tv value will become wrong. This code changes absolute path to relative.