mirror of
				https://github.com/RetroDECK/ES-DE.git
				synced 2025-04-10 19:15:13 +00:00 
			
		
		
		
	Added developer and genre to the archive.vg scraper.
Renamed the "Play count:" label to "Times played:".
This commit is contained in:
		
							parent
							
								
									ddcc43b930
								
							
						
					
					
						commit
						49130464ba
					
				|  | @ -50,6 +50,13 @@ std::vector<MetaDataList> TheArchiveScraper::parseReq(ScraperSearchParams params | |||
| 
 | ||||
| 		//Archive.search does not return ratings
 | ||||
| 
 | ||||
| 		mdl.back().set("developer", game.child("developer").text().get()); | ||||
| 
 | ||||
| 		std::string genre = game.child("genre").text().get(); | ||||
| 		size_t search = genre.find_last_of(" > "); | ||||
| 		genre = genre.substr(search == std::string::npos ? 0 : search, std::string::npos); | ||||
| 		mdl.back().set("genre", genre); | ||||
| 
 | ||||
| 		pugi::xml_node image = game.child("box_front"); | ||||
| 		pugi::xml_node thumbnail = game.child("box_front_small"); | ||||
| 
 | ||||
|  |  | |||
|  | @ -51,7 +51,7 @@ DetailedGameListView::DetailedGameListView(Window* window, FileData* root) : | |||
| 	addChild(&mLblLastPlayed); | ||||
| 	mLastPlayed.setDisplayMode(DateTimeComponent::DISP_RELATIVE_TO_NOW); | ||||
| 	addChild(&mLastPlayed); | ||||
| 	mLblPlayCount.setText("Play count: "); | ||||
| 	mLblPlayCount.setText("Times played: "); | ||||
| 	addChild(&mLblPlayCount); | ||||
| 	addChild(&mPlayCount); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Aloshi
						Aloshi