{"action":"closed","issue":{"url":"https://api.github.com/repos/openMSX/openMSX/issues/1012","repository_url":"https://api.github.com/repos/openMSX/openMSX","labels_url":"https://api.github.com/repos/openMSX/openMSX/issues/1012/labels{/name}","comments_url":"https://api.github.com/repos/openMSX/openMSX/issues/1012/comments","events_url":"https://api.github.com/repos/openMSX/openMSX/issues/1012/events","html_url":"https://github.com/openMSX/openMSX/issues/1012","id":143747007,"number":1012,"title":"Improve title guesser by stripping off known ROM extensions if the filename is used as a basis","user":{"login":"MBilderbeek","id":12675978,"avatar_url":"https://avatars.githubusercontent.com/u/12675978?v=3","gravatar_id":"","url":"https://api.github.com/users/MBilderbeek","html_url":"https://github.com/MBilderbeek","followers_url":"https://api.github.com/users/MBilderbeek/followers","following_url":"https://api.github.com/users/MBilderbeek/following{/other_user}","gists_url":"https://api.github.com/users/MBilderbeek/gists{/gist_id}","starred_url":"https://api.github.com/users/MBilderbeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MBilderbeek/subscriptions","organizations_url":"https://api.github.com/users/MBilderbeek/orgs","repos_url":"https://api.github.com/users/MBilderbeek/repos","events_url":"https://api.github.com/users/MBilderbeek/events{/privacy}","received_events_url":"https://api.github.com/users/MBilderbeek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openMSX/openMSX/labels/feature%20request","name":"feature request","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-26T20:28:27Z","updated_at":"2016-04-04T21:30:22Z","closed_at":"2016-04-04T21:30:22Z","body":"See https://www.msx.org/news/challenges/en/msxdev15-3-bitlogic#comment-289426\r\n\r\nIf you have an unkown ROM game like \"MyFancy.ROM\", the guessed title becomes \"MyFancy.ROM\", as it is not in the database, so the file name is used as a fallback. But it would be better to leave the well known ROM extension. It's more likely that the name is the name that becomes before the extension. ANyway, we already filter out extension for disks and cassettes... I suppose we could even make a generic filename filter, which can then be used for all media. It could even replace underscores by spaces etc., as an extra.\r\nThe only issue is that you don't know whether the name originates from a file name or not. But this can probably be checked using the same method as rom_info is using.\r\n\r\nI think this stuff should be changed/added to _guess_title.tcl line 37."}}