Swift recently started learning the,It is like "hello world" as,Each language seems to always have a "write Douban FM" project tutorial😶
Anyway,I started using this process taught to become familiar with the development process,but,Only yesterday did show playlists and display the song Cover,Today adds playback collapsed flash back!
Ok,Even if the newly added code commented out,Original code can not run correctly。You see,There has been such a universal error:
1 |
signal SIGABRT |
There is such:
1 |
IOS EXCEPTION 1 (LIBC++ABI.DYLIB: TERMINATING WITH UNCAUGHT EXCEPTION OF TYPE NSEXCEPTION) |
Flash back collapsed and no useful error,This pit death of me
after an hour
Finally,I found out why,Because there is no API for Douban FM,So the song list of channels and get caught coming through,And just today! Yes,It's today! It changed!
Anyway,Tutorial connection among get down empty json file。。。no way,Reference projects among other languages and tutorials,I finally found a list of usable ...... but only 45 songs,You can not get so much。
If you're like me,I encountered this problem,Then you can get the address of songs into the playlist below:
1 |
http://douban.fm/j/mine/playlist?type=n&channel=0&from=mainsite |
Other than that,If you have a new address,Remember to tell me a copy😚
Original article written by LogStudio:R0uter's Blog » Watercress FM song list access
Reproduced Please keep the source and description link:https://www.logcg.com/archives/1002.html