(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 ()
@@ -222,20 +221,26 @@ doFullSync ()
if [ "${debug}" = "1" ]; then debug; fi if [ "${debug}" = "1" ]; then debug; fi
if [ "${direction}" == "up" ] if [ "${direction}" == "up" ]
then
if [ "${system}" != "kodi" ]
then then
getROMFileName getROMFileName
prepareFilter prepareFilter
getTypeOfRemote getTypeOfRemote
uploadSaves uploadSaves
fi fi
fi
if [ "${direction}" == "down" ] if [ "${direction}" == "down" ]
then
if [ "${system}" != "kodi" ]
then then
getROMFileName getROMFileName
prepareFilter prepareFilter
getTypeOfRemote getTypeOfRemote
downloadSaves downloadSaves
fi fi
fi
if [ "${direction}" == "full" ] if [ "${direction}" == "full" ]
then then