ChocolateApp / Chocolate

The future of media manager
https://chocolateapp.github.io/
GNU General Public License v3.0
429 stars 16 forks source link

possible code duplication (classes) #3

Closed clach04 closed 1 year ago

clach04 commented 1 year ago

app.py and intro.py appear to duplicate code, for example:

clach04 commented 1 year ago
$ rg "class " intro.py app.py
app.py
61:class Users(db.Model, UserMixin):
85:class Movies(db.Model):
126:class Series(db.Model):
164:class Seasons(db.Model):
192:class Episodes(db.Model):
219:class Games(db.Model):
249:class OthersVideos(db.Model):
272:class Language(db.Model):
281:class Actors(db.Model):
302:class Libraries(db.Model):
808:class EpisodeGroup():

intro.py
30:class Libraries(db.Model):
47:class Series(db.Model):
85:class Seasons(db.Model):
113:class Episodes(db.Model):
Impre-visible commented 1 year ago

Actually intro.py is in WIP, it's not planned to be used for the actual version

Impre-visible commented 1 year ago

In the next version I'm gonna remove that 👍🏻