this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

display extended status fields

+36
+36
src/status.rs
··· 65 65 66 66 println!("track: {}", status.item.track_name); 67 67 68 + if let Some(track_id) = &status.item.track_mb_id 69 + && full 70 + { 71 + println!("track id: {}", track_id); 72 + } 73 + 74 + if let Some(recording_id) = &status.item.recording_mb_id 75 + && full 76 + { 77 + println!("recording id: {}", recording_id); 78 + } 79 + 68 80 if !status.item.artists.is_empty() || raw { 69 81 print!("artists: "); 70 82 71 83 for i in 0..status.item.artists.len() { 72 84 print!("{}", status.item.artists[i].artist_name); 85 + 86 + if let Some(artist_id) = &status.item.artists[i].artist_mb_id 87 + && full 88 + { 89 + print!(" [{}]", artist_id); 90 + } 73 91 74 92 if i != status.item.artists.len() - 1 { 75 93 print!(", "); ··· 83 101 println!("release: {}", release); 84 102 } 85 103 104 + if let Some(release_id) = &status.item.release_mb_id 105 + && full 106 + { 107 + println!("release id: {}", release_id); 108 + } 109 + 110 + if let Some(isrc) = &status.item.isrc 111 + && full 112 + { 113 + println!("isrc: {}", isrc); 114 + } 115 + 86 116 if let Some(played_time) = &status.item.played_time { 87 117 if raw { 88 118 println!("played: {}", played_time.format("%Y-%m-%d %H:%M:%S %:z")); ··· 113 143 114 144 println!("duration: {}", duration_str); 115 145 } 146 + } 147 + 148 + if let Some(service) = &status.item.music_service_base_domain 149 + && full 150 + { 151 + println!("service: {}", service); 116 152 } 117 153 118 154 if let Some(client) = &status.item.submission_client_agent