thanks for everyones help it turns out the issue was irremote and it works now that i made a batch file instead of linking straight to mediaportal