RetroMan-project / core

An easy and fancy ROMs manager to keep your devices synced (and backupped) with your main ROMs libraries.
GNU General Public License v3.0
6 stars 0 forks source link

Rom server uploader #31

Open XargonWan opened 1 year ago

XargonWan commented 1 year ago

As the roms can be downloaded from the server they can even be uploaded. Two methods are possible:

Monitored folder

A local folder that can be set as a monitored folder that is scanned once every N minutes, and if some files are placed they will be moved into the library wherever it is.

Client

From the client the user can select a folder or a file. The folder structure can be messy or tidy, if the folder is a structure that the template can be recognized no more check are made and the files are uploaded as they are as we suppose that the user knows what it's doing.

Roms recognization

If the folder structure cannot be recognized then it's checking for the extensions. If the extensions are unique such as md org gba the placement will be onbious, if not, such as zip then RetroMan can:

If the scrape new roms flag is enabled in the scraper, the roms will be automatically scraped once uploaded.

Messy folder example:

messy
├── game17.chd
├── game1.gba
├── game3.gbc
└── game7.zip

Tidy folder example:

roms
├── gba
│   ├── game1.gba
│   └── game2.gba
├── megadrive
│   ├── game1.bin
│   └── game2.md
└── psx
    ├── game1.chd
    └── game2
        ├── game2-cd1.bin
        └── game2-cd2.bin