diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -483,6 +483,16 @@ int main (int argc, char **argv) { BarUiMsg ("No song playing.\n"); break; } + if (!curStation->isCreator) { + BarUiMsg ("Transforming station... "); + if (PianoTransformShared (&ph, curStation) == + PIANO_RET_OK) { + BarUiMsg ("Ok.\n"); + } else { + BarUiMsg ("Error.\n"); + break; + } + } BarUiMsg ("Banning song... "); if (PianoRateTrack (&ph, curSong, PIANO_RATE_BAN) == PIANO_RET_OK) { @@ -546,6 +556,16 @@ int main (int argc, char **argv) { BarUiMsg ("Already loved. No need to do this twice.\n"); break; } + if (!curStation->isCreator) { + BarUiMsg ("Transforming station... "); + if (PianoTransformShared (&ph, curStation) == + PIANO_RET_OK) { + BarUiMsg ("Ok.\n"); + } else { + BarUiMsg ("Error.\n"); + break; + } + } BarUiMsg ("Loving song... "); if (PianoRateTrack (&ph, curSong, PIANO_RATE_LOVE) == PIANO_RET_OK) { |