(ISSUE #6) excluded KODI from trying to sync

This commit is contained in:
Jandalf81
2018-08-08 22:12:23 +02:00
parent 0cedbd9694
commit ad3995b708

View File

@@ -40,7 +40,6 @@ debug ()
log "DEBUG" "romfilename: ${romfilename}" log "DEBUG" "romfilename: ${romfilename}"
log "DEBUG" "romfilebase: ${romfilebase}" log "DEBUG" "romfilebase: ${romfilebase}"
log "DEBUG" "romfileext: ${romfileext}" log "DEBUG" "romfileext: ${romfileext}"
log "DEBUG" ""
} }
killOtherNotification () killOtherNotification ()
@@ -223,18 +222,24 @@ if [ "${debug}" = "1" ]; then debug; fi
if [ "${direction}" == "up" ] if [ "${direction}" == "up" ]
then then
getROMFileName if [ "${system}" != "kodi" ]
prepareFilter then
getTypeOfRemote getROMFileName
uploadSaves prepareFilter
getTypeOfRemote
uploadSaves
fi
fi fi
if [ "${direction}" == "down" ] if [ "${direction}" == "down" ]
then then
getROMFileName if [ "${system}" != "kodi" ]
prepareFilter then
getTypeOfRemote getROMFileName
downloadSaves prepareFilter
getTypeOfRemote
downloadSaves
fi
fi fi
if [ "${direction}" == "full" ] if [ "${direction}" == "full" ]