foobarlab / UpStage-Video-Hack

UpStage Streaming Hack
http://www.foobarlab.net/
GNU General Public License v2.0
5 stars 1 forks source link

Change unique media key to 'file' instead of 'name'; new media edit page (HTML backend) #105

Closed foobarlab closed 11 years ago

foobarlab commented 11 years ago

The use of the 'name' attribute is a bad choice for an unique key. Throughout the application the 'file' attribute seems to be used, therefore using this for the new media edit page seems adequate.

foobarlab commented 11 years ago

A side-effect of using the 'name' attribute is that media with the same name can not be edited/tagged/assigned properly because always the first media having the 'name' attribute gets selected.

foobarlab commented 11 years ago

It seems like actually the 'name' instead of the 'file' attribute is quite often used as "unique key" for media identity. A quick fix for now is to disallow duplicate names for all media.