Survey to AEL users about multidisc support
I have been thinking on a good implementation for the multidisc support in AEL 0.9.6. This is a description of how it would work.
1) If the ROM scanner finds a multidisc image belonging to a set, for example `Final Fantasy VII (USA) (Disc 3).cue`.
* The filename corresponds to the first ROM of the set.
* The ROM basename is added to the `disks` list.
* Asset names will have the basename of the set `Final Fantasy VII (USA)`.
Code:
filename = '/home/kodi/ROMs/Final Fantasy VII (USA) (Disc 3).cue'
disks = ['Final Fantasy VII (USA) (Disc 3).cue']
2) If the ROM scanner finds another image of the set then:
* The basename is added to the `disks` list.
* `disks` list is reordered so ROMs have consecutive order.
* `filename` points to the first image of the set.
* Metadata/Asset scraping is only done for the first ROM of the set.
Code:
filename = '/home/kodi/ROMs/Final Fantasy VII (USA) (Disc 1).cue'
disks = ['Final Fantasy VII (USA) (Disc 1).cue', 'Final Fantasy VII (USA) (Disc 3).cue']
3) ROMs not in a set have an empty `disks` list.
4) This implementation is safe if there are missing ROMs in the set.
5) Al launching time, users selects from a select dialog of the basenames of the ROMs of the set which one to launch.
Is everybody happy with this? Comments? Suggestions? Issues?
Multidisc name format supported
AEL will support multidisc formats defined by TOSEC, Trurip and Redump. Disc tag
must be always the last tag of the ROM name.
Code:
Organisation | Name example |
-------------|-------------------------------------------------------------|
TOSEC | Final Fantasy VII (1999)(Square)(NTSC)(US)(Disc 1 of 2).cue |
| Final Fantasy VII (1999)(Square)(NTSC)(US)(Disc 2 of 2).cue |
Trurip | Final Fantasy VII (EU) - (Disc 1 of 3).cue |
| Final Fantasy VII (EU) - (Disc 2 of 3).cue |
| Final Fantasy VII (EU) - (Disc 3 of 3).cue |
Redump | Final Fantasy VII (USA) (Disc 1).cue |
| Final Fantasy VII (USA) (Disc 2).cue |
| Final Fantasy VII (USA) (Disc 3).cue |