The Following 15 Users Say Thank You to seadog For This Useful Post: | ||
![]() |
2010-02-07
, 13:03
|
|
Posts: 2,669 |
Thanked: 2,555 times |
Joined on Apr 2007
|
#2
|
![]() |
2010-02-07
, 13:08
|
Posts: 94 |
Thanked: 28 times |
Joined on Oct 2009
|
#3
|
![]() |
2010-02-08
, 10:13
|
Posts: 8 |
Thanked: 22 times |
Joined on Jan 2010
|
#4
|
![]() |
2010-02-08
, 10:15
|
Posts: 8 |
Thanked: 22 times |
Joined on Jan 2010
|
#5
|
![]() |
2010-03-01
, 19:31
|
Posts: 10 |
Thanked: 8 times |
Joined on Feb 2010
|
#6
|
![]() |
2010-03-03
, 15:40
|
Posts: 8 |
Thanked: 22 times |
Joined on Jan 2010
|
#7
|
I love the stations added to the mediaplayer by greek iradio, but there are many that i dont need. Is it possible to remove them many at once? I dont want to remove them one by one. I removed the application after first installation, but reinstalled it now. If i use the "remove stations" button there is nothing happening. Any help? I copied some of the stations that were added so its ok to remove all of the others.
Thanks in advance
![]() |
2010-03-06
, 14:01
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#8
|
![]() |
2010-03-14
, 12:20
|
Posts: 8 |
Thanked: 22 times |
Joined on Jan 2010
|
#9
|
Excellent app and thanks also for the detailed instructions.
Would you like to also add localisation for the Greek iRadio too?
See here for info http://talk.maemo.org/showthread.php?t=43652
The Following User Says Thank You to seadog For This Useful Post: | ||
![]() |
2010-03-14
, 14:49
|
Posts: 1,141 |
Thanked: 781 times |
Joined on Dec 2009
@ Magical Unicorn Land
|
#10
|
Id is a integer value and it's not unique
Key is a string defining the type of data stored in value.
Value is a blob build in a special way explained later.
Each station must have at least three entries in the database with the same id (so they are grouped) and with keys "title", "mime-type" and "uri". Other keys also exist like "last-played" etc.
"Title" defines the title which is shown in the UI
"Mime-type" is "audio" for radio stations
"Uri" is the location of the stream
The "value" column contains the actual value of the "key" column. Because "value" can store different kind of data, depending on the "key" column, is defined as a binary blob. The format of the blob is "\x01\x00\x00\x00@\x00\x00\x00string that we want\x00"
Because value is a blob we need some easy python scripting to produce valid entries in our database.
So for example to store a station with name "Foobar FM" and stream location "mms://example.com/stream.asx" we call insertIntoDb(cursor, "Foobar FM", "mms://example.com/stream.asx") and the function updates the station uri if the station is already there, or makes a new entry.
Note: Before updating the database you should stop the media play internet daemon by typing
/usr/bin/mafw.sh stop mafw-iradio-source
and after updating enable it again
/usr/bin/mafw.sh start mafw-radio-source
If you ignore this step you want see your new entries until you reboot and you may destroy the database.
You can find a working example of database updating the internet radio stations list under the devel repository named 'greekiradio'. The application creates feeds for greek internet radio stations from www.eradio.gr and inserts them into the database.
http://maemo.org/packages/view/greekiradio/