neonrust / epm

Command-line TV episode calendar/manager/scheduler/tracker (EPisode Manager)
MIT License
0 stars 0 forks source link

Change list numbering to be sequential and permanent #10

Closed neonrust closed 2 years ago

neonrust commented 2 years ago

Not sure why I chose the list index to be dict-order and renumbered whenever series were added or deleted...

It would be much better if the list index were just serial numbers, just increased for every add. This would need to store the list index in the series entry itself (in the epm:meta), not a big deal.

Also, a next_list_index could be stored on the top-level (in its epm:meta), so we don't need to compute it when adding a new series.