With this branch, the app will use the content of Ultimate Guitar's "og:title" meta tag to suggest a better filename. It's a first step for the implementation of #27.
Take a look at the result:
The first two songs have been imported using this branch, whereas the last two items used the searchText that I entered when looking for the songs.
The newly added MetadataExtractionHelper can be extended to support more pages in the future. The extraction is also covered with unit tests. I needed to add Roboelectric to be able to use Uri in the unit test.
With this branch, the app will use the content of Ultimate Guitar's "og:title" meta tag to suggest a better filename. It's a first step for the implementation of #27.
Take a look at the result:
The first two songs have been imported using this branch, whereas the last two items used the
searchText
that I entered when looking for the songs.The newly added
MetadataExtractionHelper
can be extended to support more pages in the future. The extraction is also covered with unit tests. I needed to add Roboelectric to be able to useUri
in the unit test.