昨天我在一台新机器上安装了 Ubuntu 13.04,并启动了 Rhythmbox。那里预装了几个默认电台 (iradio)。我开始播放流媒体,过了一会儿才重启机器。
重启后,Rhythmbox 中的所有广播电台都会丢失。
我尝试重新安装 rhythmbox,尝试删除.local/share/rhythmbox
...但没有什么效果。
我只是想找回默认电台,仅此而已。
答案1
退出 Rhythmbox。在终端中运行以下命令并启动 Rhythmbox。
$ gsettings set org.gnome.rhythmbox.plugins.iradio initial-stations-loaded false
请注意,这将仅恢复 Rhythmbox 附带的默认广播电台。
来源:https://wiki.gnome.org/Apps/Rhythmbox/FAQ#How_do_I_restore_the_default_list_of_radio_stations_.3F
答案2
关闭 Rythmbox。
然后在终端窗口中执行此操作...
$ sudo apt-get autoremove --purge rhythmbox
$ sudo apt-get install rhythmbox
$ rm ~/.local/share/rhythmbox/rhythmdb.xml
$ touch ~/.local/share/rhythmbox/rhythmdb.xml
然后启动 Rythmbox,您的广播电台就会回来。
(请记住接受这个答案,这样我才知道它对你有用)。
答案3
如果下面的方法不起作用,这里有一个原始~/.local/share/rhythmbox/rhythmdb.xml
文件:
<?xml version="1.0" standalone="yes"?>
<rhythmdb version="1.8">
<entry type="iradio">
<title>WSUM 91.7 FM (University of Wisconsin)</title>
<genre>College Radio</genre>
<artist></artist>
<album></album>
<location>http://vu.wsum.wisc.edu/wsumlive.m3u</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>WKNC 88.1 FM (NC State) (High Quality)</title>
<genre>Music</genre>
<artist></artist>
<album></album>
<location>http://wknc.sma.ncsu.edu:8000/wknchq.ogg.m3u</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>WKNC 88.1 FM (NC State) (Low Quality)</title>
<genre>Music</genre>
<artist></artist>
<album></album>
<location>http://wknc.sma.ncsu.edu:8000/wkncmq.ogg.m3u</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>HBR1.com - Dream Factory</title>
<genre>Ambient</genre>
<artist></artist>
<album></album>
<location>http://ubuntu.hbr1.com:19800/ambient.ogg</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Absolute Classic Rock (Modem)</title>
<genre>Rock'n'Roll</genre>
<artist></artist>
<album></album>
<location>http://network.absoluteradio.co.uk/core/audio/ogg/live.pls?service=vc</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Absolute Classic Rock (Broadband)</title>
<genre>Rock'n'Roll</genre>
<artist></artist>
<album></album>
<location>http://network.absoluteradio.co.uk/core/audio/ogg/live.pls?service=vcbb</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Absolute Radio 90s (Broadband)</title>
<genre>90's</genre>
<artist></artist>
<album></album>
<location>http://network.absoluteradio.co.uk/core/audio/ogg/live.pls?service=a9bb</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Absolute Radio 90s (Modem)</title>
<genre>90's</genre>
<artist></artist>
<album></album>
<location>http://network.absoluteradio.co.uk/core/audio/ogg/live.pls?service=a9</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>HBR1.com - Tronic Lounge</title>
<genre>House</genre>
<artist></artist>
<album></album>
<location>http://ubuntu.hbr1.com:19800/tronic.ogg</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Absolute Radio (Modem)</title>
<genre>Pop</genre>
<artist></artist>
<album></album>
<location>http://network.absoluteradio.co.uk/core/audio/ogg/live.pls?service=vr</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Absolute Radio (Broadband)</title>
<genre>Pop</genre>
<artist></artist>
<album></album>
<location>http://network.absoluteradio.co.uk/core/audio/ogg/live.pls?service=vrbb</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>KWUR 90.3 FM St. Louis Underground Radio</title>
<genre>Unknown</genre>
<artist></artist>
<album></album>
<location>http://www.kwur.com/icecast/kwurogg.m3u</location>
<play-count>1</play-count>
<last-played>1376592165</last-played>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>wbur.org - Boston's NPR news source</title>
<genre>News</genre>
<artist></artist>
<album></album>
<location>http://audio.wbur.org/stream/live_ogg.m3u</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>StartFM - 94.2MHz, Vilnius University, Lithuania</title>
<genre>Underground</genre>
<artist></artist>
<album></album>
<location>http://eteris.startfm.lt/startfm.ogg</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Absolute Radio 80s (Modem)</title>
<genre>80's</genre>
<artist></artist>
<album></album>
<location>http://network.absoluteradio.co.uk/core/audio/ogg/live.pls?service=a8</location>
<play-count>1</play-count>
<last-played>1376592232</last-played>
<bitrate>32</bitrate>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Absolute Radio 80s (Broadband)</title>
<genre>80's</genre>
<artist></artist>
<album></album>
<location>http://network.absoluteradio.co.uk/core/audio/ogg/live.pls?service=a8bb</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>HBR1.com - I.D.M. Tranceponder</title>
<genre>Trance</genre>
<artist></artist>
<album></album>
<location>http://ubuntu.hbr1.com:19800/trance.ogg</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Radio Paradise (High Quality)</title>
<genre>Eclectic</genre>
<artist></artist>
<album></album>
<location>http://stream-tx1.radioparadise.com:9000/rp_192.ogg</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
<entry type="iradio">
<title>Radio Paradise (Low Quality)</title>
<genre>Eclectic</genre>
<artist></artist>
<album></album>
<location>http://stream-sd.radioparadise.com:9000/rp_96.ogg</location>
<date>0</date>
<media-type>application/octet-stream</media-type>
</entry>
</rhythmdb>