Commit d78485d
committed
When retrieving metadata fields from Song object to serialize to JSON, ignore the case of the field name when finding its property getter, otherwise it will fall back to WinampControllerImpl.fetchMetadataFieldValue which don't benefit from the parsing logic in Song, especially in converting the year from a string into an integer.
1 parent 97a9f6d commit d78485d
3 files changed
Lines changed: 2 additions & 4 deletions
File tree
- WinampNowPlayingToFile
- Facade
- Templating
- Presentation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments