lastbash-cvs Mailing List for Last.fm console player
Status: Beta
Brought to you by:
cstroie
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(27) |
Dec
(77) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(14) |
Feb
(8) |
Mar
(41) |
Apr
(5) |
May
(2) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2008 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
From: <cs...@us...> - 2008-12-22 15:16:25
|
Revision: 243 http://lastbash.svn.sourceforge.net/lastbash/?rev=243&view=rev Author: cstroie Date: 2008-12-22 15:16:22 +0000 (Mon, 22 Dec 2008) Log Message: ----------- Removed one forgotten debug line. Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2008-12-22 15:14:54 UTC (rev 242) +++ lastbash/lastbash 2008-12-22 15:16:22 UTC (rev 243) @@ -2112,8 +2112,6 @@ # Return if no player is to be used [ "${USE_PLAYER}" != "y" ] && return - debug "${FUNCNAME}: no supported player found" - if ! type -t mkfifo >/dev/null 2>&1 then tui_sbar $"No way to control the player, mkfifo is absent" "2" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2008-12-22 15:15:00
|
Revision: 242 http://lastbash.svn.sourceforge.net/lastbash/?rev=242&view=rev Author: cstroie Date: 2008-12-22 15:14:54 +0000 (Mon, 22 Dec 2008) Log Message: ----------- Replace some ESC sequences with `tput` (in case on non-ANSII terminal used) "netcat" support, as well as "nc" -- Credits: FrBrGeorge Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2008-02-08 21:38:19 UTC (rev 241) +++ lastbash/lastbash 2008-12-22 15:14:54 UTC (rev 242) @@ -67,7 +67,7 @@ # Internal stuff PLAYERS="mplayer" -HTTP_CLIENTS="wget curl nc" +HTTP_CLIENTS="wget curl nc netcat" REQ_PROGRAMS="rm date tput stty md5sum dd chmod" HTML_TEMPLATE="${HOME_DIR}/lastbash_template.html" PLAYER_PID="" @@ -81,10 +81,10 @@ CTRL_S=$'\x13' CTRL_V=$'\x16' CTRL_X=$'\x18' -ARROW_UP=$'\x1b[A' -ARROW_DOWN=$'\x1b[B' -ARROW_LEFT=$'\x1b[D' -ARROW_RIGHT=$'\x1b[C' +ARROW_UP="$(tput kcuu1)" +ARROW_DOWN="$(tput kcud1)" +ARROW_LEFT="$(tput kcub1)" +ARROW_RIGHT="$(tput kcuf1)" NUMBER_REGEXP="+([0-9])" # Set some shell options @@ -520,7 +520,7 @@ case "${HTTP_CLIENT}" in "wget") HTTP_CLIENT_FUNCTION="http_get_wget" ;; "curl") HTTP_CLIENT_FUNCTION="http_get_curl" ;; - "nc") HTTP_CLIENT_FUNCTION="http_get_nc" ;; + "nc" | "netcat") HTTP_CLIENT_FUNCTION="http_get_nc" ;; *) HTTP_CLIENT_FUNCTION="http_get_builtin" ;; esac @@ -676,7 +676,7 @@ REQUEST="GET $4 HTTP/1.0\r\nHost: $2:$3\r\nUser-Agent: ${PROG_TITLE}/${PROG_VER}\r\nConnection: Close\r\n\r\n" # Send the request - if echo -ne "${REQUEST}" | nc -w "5" "$2" "$3" > "$1" + if echo -ne "${REQUEST}" | "${HTTP_CLIENT}" -w "5" "$2" "$3" > "$1" then RET="0" else @@ -1005,7 +1005,7 @@ T_ATTR_BLINK="$(tput blink)" T_ATTR_INVIS="$(tput invis)" T_ATTR_ULINE="$(tput smul)" - T_ATTR_NORMAL="\e[0m" + T_ATTR_NORMAL="$(tput sgr0)" # Some more escape sequences T_EL="$(tput el)" @@ -1217,7 +1217,7 @@ function tui_keys() { local LINE - printf -v LINE " \e[1;44m%1s\e[0;44m %s " "R" "Refresh" "L" "Love" "B" "Ban" "K" "Skip" "P" "RTP" "D" "Discovery" "Q" "Quit" + printf -v LINE " ${T_ATTR_BOLD}${T_BGCOLOR_BLUE}%1s${T_ATTR_NORMAL}${T_BGCOLOR_BLUE} %s " "R" "Refresh" "L" "Love" "B" "Ban" "K" "Skip" "P" "RTP" "D" "Discovery" "Q" "Quit" # Move the cursor on lower-left corner and print tput cup ${T_LINES} 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2008-02-08 21:38:36
|
Revision: 241 http://lastbash.svn.sourceforge.net/lastbash/?rev=241&view=rev Author: cstroie Date: 2008-02-08 13:38:19 -0800 (Fri, 08 Feb 2008) Log Message: ----------- Extended copyright years from 2006 to 2008. LastBASH starts to getting old... Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2008-01-14 13:19:23 UTC (rev 240) +++ lastbash/lastbash 2008-02-08 21:38:19 UTC (rev 241) @@ -2,7 +2,7 @@ # ############################################################################ # lastbash - Console player for Last.fm -# Copyright (C) 2006 Costin Stroie <cs...@us...> +# Copyright (C) 2006-2008 Costin Stroie <cs...@us...> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2008-01-14 13:19:42
|
Revision: 240 http://lastbash.svn.sourceforge.net/lastbash/?rev=240&view=rev Author: cstroie Date: 2008-01-14 05:19:23 -0800 (Mon, 14 Jan 2008) Log Message: ----------- Added support for 'nc' as http client. Modified Paths: -------------- lastbash/VERSION lastbash/lastbash lastbash/lastbash.config.in Modified: lastbash/VERSION =================================================================== --- lastbash/VERSION 2007-11-26 09:15:30 UTC (rev 239) +++ lastbash/VERSION 2008-01-14 13:19:23 UTC (rev 240) @@ -1 +1 @@ -0.3.2 +0.3.3 Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-11-26 09:15:30 UTC (rev 239) +++ lastbash/lastbash 2008-01-14 13:19:23 UTC (rev 240) @@ -67,7 +67,7 @@ # Internal stuff PLAYERS="mplayer" -HTTP_CLIENTS="wget curl" +HTTP_CLIENTS="wget curl nc" REQ_PROGRAMS="rm date tput stty md5sum dd chmod" HTML_TEMPLATE="${HOME_DIR}/lastbash_template.html" PLAYER_PID="" @@ -520,6 +520,7 @@ case "${HTTP_CLIENT}" in "wget") HTTP_CLIENT_FUNCTION="http_get_wget" ;; "curl") HTTP_CLIENT_FUNCTION="http_get_curl" ;; + "nc") HTTP_CLIENT_FUNCTION="http_get_nc" ;; *) HTTP_CLIENT_FUNCTION="http_get_builtin" ;; esac @@ -660,6 +661,32 @@ return "${RET}" } +# Function: HTTP GET method: nc implementation {{{1 +#----------------------------------------------------------------------------- +function http_get_nc() +{ + # $1 - output file + # $2 - host + # $3 - port + # $4 - path + + local REQUEST RET="0" + + # Construct the request + REQUEST="GET $4 HTTP/1.0\r\nHost: $2:$3\r\nUser-Agent: ${PROG_TITLE}/${PROG_VER}\r\nConnection: Close\r\n\r\n" + + # Send the request + if echo -ne "${REQUEST}" | nc -w "5" "$2" "$3" > "$1" + then + RET="0" + else + RET="1" + fi + + # Return the status code + return "${RET}" +} + # Function: HTTP GET method: builtin implementation {{{1 #----------------------------------------------------------------------------- function http_get_builtin() Modified: lastbash/lastbash.config.in =================================================================== --- lastbash/lastbash.config.in 2007-11-26 09:15:30 UTC (rev 239) +++ lastbash/lastbash.config.in 2008-01-14 13:19:23 UTC (rev 240) @@ -22,7 +22,7 @@ # Automatically start playing. Possible values: 'y' or 'n' AUTO_PLAY="y" -# HTTP client to use. Possible values: 'wget', 'curl', 'builtin', 'auto' +# HTTP client to use. Possible values: 'wget', 'curl', 'nc', 'builtin', 'auto' HTTP_CLIENT="auto" # Save the metadata (artist-track) of the current playing track to a file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-11-26 09:15:37
|
Revision: 239 http://lastbash.svn.sourceforge.net/lastbash/?rev=239&view=rev Author: cstroie Date: 2007-11-26 01:15:30 -0800 (Mon, 26 Nov 2007) Log Message: ----------- Do not check the player running if the there is no player. Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-08-30 11:35:49 UTC (rev 238) +++ lastbash/lastbash 2007-11-26 09:15:30 UTC (rev 239) @@ -2085,6 +2085,8 @@ # Return if no player is to be used [ "${USE_PLAYER}" != "y" ] && return + debug "${FUNCNAME}: no supported player found" + if ! type -t mkfifo >/dev/null 2>&1 then tui_sbar $"No way to control the player, mkfifo is absent" "2" @@ -2122,6 +2124,8 @@ else debug "${FUNCNAME}: No supported player found" tui_sbar $"No supported player found" + sleep 1 + return "4" fi # Wait a second This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-08-30 11:35:53
|
Revision: 238 http://lastbash.svn.sourceforge.net/lastbash/?rev=238&view=rev Author: cstroie Date: 2007-08-30 04:35:49 -0700 (Thu, 30 Aug 2007) Log Message: ----------- Added lang code to station changing request. Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-08-30 10:33:14 UTC (rev 237) +++ lastbash/lastbash 2007-08-30 11:35:49 UTC (rev 238) @@ -867,7 +867,7 @@ local RET # Do the http get - if http_get "${LASTFM_BASEURL}" "${LASTFM_PORT}" "${LASTFM_BASEPATH}/adjust.php?session=$1&url=${URL}" + if http_get "${LASTFM_BASEURL}" "${LASTFM_PORT}" "${LASTFM_BASEPATH}/adjust.php?session=$1&url=${URL}&lang=en" then # Parse the result for ((N=0; N<=${#HTTP_RESPONSE[@]}; N++)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-08-30 10:33:21
|
Revision: 237 http://lastbash.svn.sourceforge.net/lastbash/?rev=237&view=rev Author: cstroie Date: 2007-08-30 03:33:14 -0700 (Thu, 30 Aug 2007) Log Message: ----------- Added the volume up and down commands. Parse the http get status. Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-08-30 09:56:24 UTC (rev 236) +++ lastbash/lastbash 2007-08-30 10:33:14 UTC (rev 237) @@ -533,7 +533,7 @@ # Do the HTTP request if "${HTTP_CLIENT_FUNCTION}" "${TMP_FILE}" "$1" "$2" "${GET_PATH}" then - # Append one (missing) EOL (and make sure the file exits) + # Append one (missing) EOL (and make sure the file exists) echo >> "${TMP_FILE}" # Clear the HTTP_* arrays @@ -563,16 +563,29 @@ (( N++ )) done < "${TMP_FILE}" - # Check the status - if [[ -n `expr "${HTTP_HEADERS[0]}" : '.*\(200\)'` ]] + # Get the protocol, status and error message + local PROTO STATUS MSG + PROTO="${HTTP_HEADERS[0]%% *}" + MSG="${HTTP_HEADERS[0]#* }" + STATUS="${MSG%% *}" + MSG="${MSG#* }" + if [ "${STATUS}" == "200" ] then RET="0" + elif [ "${STATUS}" == "403" ] + then + debug "${FUNCNAME}: HTTP GET status is ${STATUS} ${MSG}" + RET="4" + elif [ "${STATUS}" == "503" ] + then + debug "${FUNCNAME}: HTTP GET status is ${STATUS} ${MSG}" + RET="5" else - debug "${FUNCNAME}: HTTP GET status is not OK" + debug "${FUNCNAME}: HTTP GET status is not OK: ${STATUS} ${MSG}" RET="1" fi else - debug "${FUNCNAME}: HTTP GET error" + debug "${FUNCNAME}: Unidentified HTTP GET error" RET="2" fi @@ -2211,7 +2224,6 @@ return "${RET}" } - # Function: Mute the player {{{1 #----------------------------------------------------------------------------- function player_mute() @@ -2223,7 +2235,7 @@ # Set the status line tui_sbar $"Muting/Unmuting..." - # Stop playing + # Mute if [ "${PLAYER}" == "mplayer" ] then player_command "mute" @@ -2246,6 +2258,74 @@ return "${RET}" } +# Function: Player volume up {{{1 +#----------------------------------------------------------------------------- +function player_volup() +{ + player_running || return + + local RET + + # Set the status line + tui_sbar $"Volume up" + + # Volume up + if [ "${PLAYER}" == "mplayer" ] + then + player_command "volume +10" + RET=$? + elif [ "${PLAYER}" == "mpg123" ] + then + RET="1" + tui_sbar "Command not supported" + else + RET="1" + debug "${FUNCNAME}: No supported player running" + tui_sbar $"No supported player is running" + fi + + # Restore the status bar + sleep 1 + tui_sbar + + # Return the status + return "${RET}" +} + +# Function: Player volume down {{{1 +#----------------------------------------------------------------------------- +function player_voldown() +{ + player_running || return + + local RET + + # Set the status line + tui_sbar $"Volume down" + + # Volume down + if [ "${PLAYER}" == "mplayer" ] + then + player_command "volume -10" + RET=$? + elif [ "${PLAYER}" == "mpg123" ] + then + RET="1" + tui_sbar "Command not supported" + else + RET="1" + debug "${FUNCNAME}: No supported player running" + tui_sbar $"No supported player is running" + fi + + # Restore the status bar + sleep 1 + tui_sbar + + # Return the status + return "${RET}" +} + # Function: Stop playing {{{1 #----------------------------------------------------------------------------- function player_stop() @@ -2511,6 +2591,8 @@ "v") player_stop ;; "${CTRL_V}") player_quit ;; "m") player_mute ;; + "+") player_volup ;; + "-") player_voldown ;; # Quit "q") DONE="y" ;; # Any key or timeout This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-08-30 09:56:26
|
Revision: 236 http://lastbash.svn.sourceforge.net/lastbash/?rev=236&view=rev Author: cstroie Date: 2007-08-30 02:56:24 -0700 (Thu, 30 Aug 2007) Log Message: ----------- Refresh interval set to 10 seconds. Modified Paths: -------------- lastbash/lastbash_template.html Modified: lastbash/lastbash_template.html =================================================================== --- lastbash/lastbash_template.html 2007-05-22 15:57:53 UTC (rev 235) +++ lastbash/lastbash_template.html 2007-08-30 09:56:24 UTC (rev 236) @@ -8,7 +8,7 @@ <meta name="author" content="Costin Stroie"/> <meta name="copyright" content="© 2007 Costin Stroie <cs...@us...>"/> <meta name="revision" content="$Id$"/> - <meta http-equiv="refresh" content="30"/> + <meta http-equiv="refresh" content="10"/> <style type="text/css" media="screen" id="internalStyle"> <!-- html, body { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-05-22 15:57:54
|
Revision: 235 http://lastbash.svn.sourceforge.net/lastbash/?rev=235&view=rev Author: cstroie Date: 2007-05-22 08:57:53 -0700 (Tue, 22 May 2007) Log Message: ----------- Added support for upstream language. Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-05-22 15:38:26 UTC (rev 234) +++ lastbash/lastbash 2007-05-22 15:57:53 UTC (rev 235) @@ -701,7 +701,7 @@ local N KEY VALUE RET # Do the http get - if http_get "${LASTFM_HOST}" "${LASTFM_PORT}" "/radio/handshake.php?version=${CLIENT_VERSION}&platform=${CLIENT_PLATFORM}&username=$1&passwordmd5=$2" + if http_get "${LASTFM_HOST}" "${LASTFM_PORT}" "/radio/handshake.php?version=${CLIENT_VERSION}&platform=${CLIENT_PLATFORM}&username=$1&passwordmd5=$2&language=en" then # Do this only if ok unset LASTFM_SESSION LASTFM_STREAM LASTFM_BASEURL LASTFM_BASEPATH This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-05-22 15:40:09
|
Revision: 234 http://lastbash.svn.sourceforge.net/lastbash/?rev=234&view=rev Author: cstroie Date: 2007-05-22 08:38:26 -0700 (Tue, 22 May 2007) Log Message: ----------- Added basic support for popup notifications on track change. Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-04-25 15:36:06 UTC (rev 233) +++ lastbash/lastbash 2007-05-22 15:38:26 UTC (rev 234) @@ -63,7 +63,7 @@ COMMAND_FILE="${HOME_DIR}/command" COMMAND_FILE_LOCK="${HOME_DIR}/command.lock" NOWPLAYING_FILE="${HOME_DIR}/now_playing" -HISTORY_CVS_FILE="${HOME_DIR}/history.csv" +HISTORY_CSV_FILE="${HOME_DIR}/history.csv" # Internal stuff PLAYERS="mplayer" @@ -234,7 +234,7 @@ fi # The first row contains the columns titles - [ -f "${HISTORY_CVS_FILE}" ] || echo "\"${LBL_ARTIST}\",\"${LBL_ALBUM}\",\"${LBL_TRACK}\",\"${LBL_LENGTH}\",\"${LBL_ACTION}\"" > "${HISTORY_CVS_FILE}" + [ -f "${HISTORY_CSV_FILE}" ] || echo "\"${LBL_ARTIST}\",\"${LBL_ALBUM}\",\"${LBL_TRACK}\",\"${LBL_LENGTH}\",\"${LBL_ACTION}\"" > "${HISTORY_CSV_FILE}" local ARTIST ALBUM TRACK DURATION ACTION @@ -246,9 +246,17 @@ ACTION="${HISTORY_ACTION[$1]//\"/\"\"}" # Save the history items - echo "\"${ARTIST}\",\"${ALBUM}\",\"${TRACK}\",\"${DURATION}\",\"${ACTION}\"" >> "${HISTORY_CVS_FILE}" + echo "\"${ARTIST}\",\"${ALBUM}\",\"${TRACK}\",\"${DURATION}\",\"${ACTION}\"" >> "${HISTORY_CSV_FILE}" } +# Function: Run an external command on track change {{{1 +#----------------------------------------------------------------------------- +function run_on_track_change() +{ + # TODO Add generic support for notification + type -t notify-send >/dev/null 2>&1 && notify-send -t 2000 -i gtk-dialog-info "${PROG_TITLE}" "${META_ARTIST} - ${META_TRACK}" 2>/dev/null 1>/dev/null +} + # Function: Print usage summary {{{1 #----------------------------------------------------------------------------- function url_encode() @@ -589,7 +597,7 @@ # Send the request if wget --quiet \ --tries="3" \ - --timeout="5" \ + --timeout="30" \ --save-headers \ --header="Connection: Close" \ --user-agent="${PROG_TITLE}/${PROG_VER}" \ @@ -1200,6 +1208,7 @@ then set_term_title "${META_ARTIST} - ${META_TRACK}" save_nowplaying "${META_ARTIST} - ${META_TRACK}" + run_on_track_change "1" save_html "1" || tui_sbar $"Error while creating the HTML file." else set_term_title $"Not streaming" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-04-25 15:36:08
|
Revision: 233 http://lastbash.svn.sourceforge.net/lastbash/?rev=233&view=rev Author: cstroie Date: 2007-04-25 08:36:06 -0700 (Wed, 25 Apr 2007) Log Message: ----------- More strings added to l10n. Modified Paths: -------------- lastbash/lastbash lastbash/po/de.po lastbash/po/fr.po lastbash/po/ro.po lastbash/po/ru.po Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/lastbash 2007-04-25 15:36:06 UTC (rev 233) @@ -1810,7 +1810,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Last.fm URL" + if tui_station_change_input INPUT $"Last.fm URL" then if tui_lastfm_station "${INPUT}" then @@ -1838,7 +1838,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Tags" + if tui_station_change_input INPUT $"Tags" then if tui_lastfm_station "lastfm://globaltags/${INPUT}" then @@ -1866,7 +1866,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Group" + if tui_station_change_input INPUT $"Group" then if tui_lastfm_station "lastfm://group/${INPUT}" then @@ -1894,7 +1894,7 @@ { local RET INPUT - if tui_station_change_input INPUT "User's neighbours" + if tui_station_change_input INPUT $"User's neighbours" then if tui_lastfm_station "lastfm://user/${INPUT}/neighbours" then @@ -1922,7 +1922,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Recommended to user" + if tui_station_change_input INPUT $"Recommended to user" then if tui_lastfm_station "lastfm://user/${INPUT}/recommended/100" then @@ -1950,7 +1950,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Similar artists to" + if tui_station_change_input INPUT $"Similar artists to" then if tui_lastfm_station "lastfm://artist/${INPUT}/similarartists" then @@ -1978,7 +1978,7 @@ { local RET INPUT - if tui_station_change_input INPUT "Artist fan" + if tui_station_change_input INPUT $"Artist fan" then if tui_lastfm_station "lastfm://artist/${INPUT}/fans" then Modified: lastbash/po/de.po =================================================================== --- lastbash/po/de.po 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/po/de.po 2007-04-25 15:36:06 UTC (rev 233) @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"POT-Creation-Date: 2007-04-25 18:34+0300\n" "PO-Revision-Date: 2007-04-17 20:10+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -189,6 +189,35 @@ msgid "Debug mode enabled" msgstr "Den Lernabschnitt ausprüfen, der an beendet wird " +#: lastbash:1813 +msgid "Last.fm URL" +msgstr "" + +#: lastbash:1841 +msgid "Tags" +msgstr "" + +#: lastbash:1869 +msgid "Group" +msgstr "" + +#: lastbash:1897 +msgid "User's neighbours" +msgstr "" + +#: lastbash:1925 +msgid "Recommended to user" +msgstr "" + +#: lastbash:1953 +msgid "Similar artists to" +msgstr "" + +#: lastbash:1981 +#, fuzzy +msgid "Artist fan" +msgstr "Künstler " + #: lastbash:2068 msgid "No way to control the player, mkfifo is absent" msgstr "" Modified: lastbash/po/fr.po =================================================================== --- lastbash/po/fr.po 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/po/fr.po 2007-04-25 15:36:06 UTC (rev 233) @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"POT-Creation-Date: 2007-04-25 18:34+0300\n" "PO-Revision-Date: 2007-04-17 20:11+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -189,6 +189,35 @@ msgid "Debug mode enabled" msgstr "Corriger la session finie dessus " +#: lastbash:1813 +msgid "Last.fm URL" +msgstr "" + +#: lastbash:1841 +msgid "Tags" +msgstr "" + +#: lastbash:1869 +msgid "Group" +msgstr "" + +#: lastbash:1897 +msgid "User's neighbours" +msgstr "" + +#: lastbash:1925 +msgid "Recommended to user" +msgstr "" + +#: lastbash:1953 +msgid "Similar artists to" +msgstr "" + +#: lastbash:1981 +#, fuzzy +msgid "Artist fan" +msgstr "Artiste " + #: lastbash:2068 msgid "No way to control the player, mkfifo is absent" msgstr "" Modified: lastbash/po/ro.po =================================================================== --- lastbash/po/ro.po 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/po/ro.po 2007-04-25 15:36:06 UTC (rev 233) @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: subproc\n" -"POT-Creation-Date: 2007-04-25 18:15+0300\n" -"PO-Revision-Date: 2007-04-25 18:30+0300\n" +"POT-Creation-Date: 2007-04-25 18:34+0300\n" +"PO-Revision-Date: 2007-04-25 18:35+0300\n" "Last-Translator: Costin Stroie <cs...@us...>\n" "Language-Team: ro_RO\n" "MIME-Version: 1.0\n" @@ -186,6 +186,34 @@ msgid "Debug mode enabled" msgstr "Modul de depanare activat" +#: lastbash:1813 +msgid "Last.fm URL" +msgstr "URL Last.fm" + +#: lastbash:1841 +msgid "Tags" +msgstr "Taguri" + +#: lastbash:1869 +msgid "Group" +msgstr "Grup" + +#: lastbash:1897 +msgid "User's neighbours" +msgstr "Vecinii utilizatorului" + +#: lastbash:1925 +msgid "Recommended to user" +msgstr "Recomandate utilizatorului" + +#: lastbash:1953 +msgid "Similar artists to" +msgstr "Artişti similari cu" + +#: lastbash:1981 +msgid "Artist fan" +msgstr "Fanii artistului" + #: lastbash:2068 msgid "No way to control the player, mkfifo is absent" msgstr "Nici o posibilitate de a controla playerul, mkfifo este absent" Modified: lastbash/po/ru.po =================================================================== --- lastbash/po/ru.po 2007-04-25 15:31:55 UTC (rev 232) +++ lastbash/po/ru.po 2007-04-25 15:36:06 UTC (rev 233) @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"POT-Creation-Date: 2007-04-25 18:34+0300\n" "PO-Revision-Date: 2007-04-17 20:12+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -208,6 +208,35 @@ msgid "Debug mode enabled" msgstr "Отладка сессия закончилась " +#: lastbash:1813 +msgid "Last.fm URL" +msgstr "" + +#: lastbash:1841 +msgid "Tags" +msgstr "" + +#: lastbash:1869 +msgid "Group" +msgstr "" + +#: lastbash:1897 +msgid "User's neighbours" +msgstr "" + +#: lastbash:1925 +msgid "Recommended to user" +msgstr "" + +#: lastbash:1953 +msgid "Similar artists to" +msgstr "" + +#: lastbash:1981 +#, fuzzy +msgid "Artist fan" +msgstr " " + #: lastbash:2068 msgid "No way to control the player, mkfifo is absent" msgstr "" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-04-25 15:32:01
|
Revision: 232 http://lastbash.svn.sourceforge.net/lastbash/?rev=232&view=rev Author: cstroie Date: 2007-04-25 08:31:55 -0700 (Wed, 25 Apr 2007) Log Message: ----------- Improved the l10n method. Modified Paths: -------------- lastbash/lastbash lastbash/po/de.po lastbash/po/fr.po lastbash/po/ro.po lastbash/po/ru.po Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/lastbash 2007-04-25 15:31:55 UTC (rev 232) @@ -417,7 +417,7 @@ # Compute some string sizes and padding local L LL - LBL_MAXLENGTH=0 + LBL_MAXLENGTH="0" for L in LBL_ARTIST LBL_ALBUM LBL_TRACK LBL_LENGTH LBL_ACTION do LL=${!L} @@ -442,7 +442,7 @@ if [ "${FIRST_INSTANCE}" ] then # One last message - tui_sbar "Quitting. Good bye." + tui_sbar $"Quitting. Good bye." # Stop the player, if running player_quit @@ -1032,8 +1032,14 @@ HISTORY_FIELD_PADD[2]=${T_EMPTYLINE:0:${HISTORY_FIELD_SIZE[2]}} HISTORY_FIELD_PADD[3]=${T_EMPTYLINE:0:${HISTORY_FIELD_SIZE[3]}} + # Compute statusbar related sizes and paddings + SBAR_UNAME_SIZE="15" + SBAR_UNAME_PADD=${T_EMPTYLINE:0:${SBAR_UNAME_SIZE}} + SBAR_MAIN_SIZE=$(( T_COLUMNS - SBAR_UNAME_SIZE - 12 )) + SBAR_MAIN_PADD=${T_EMPTYLINE:0:${SBAR_MAIN_SIZE}} + # Compute the current max line length - TCURRENT_MAX=$(( ${T_COLUMNS} - 13 )) + TCURRENT_MAX=$(( T_COLUMNS - LBL_MAXLENGTH - 6 )) } # Function: Display the Text User Interface {{{1 @@ -1124,7 +1130,7 @@ { # $1 - the text to print - local LINE L1 L2 L3 L4 S MSG + local LINE LEDS L1 L2 L3 L4 S MSG UNAME # Set the leds # - R: the player is running # - P: record to profile is on @@ -1134,10 +1140,8 @@ [ "${META_RTP}" == "1" ] && L2="P" || L2="-" [ "${META_DISCOVERY}" == "1" ] && L3="D" || L3="-" [ "${DEBUG}" == "y" ] && L4="B" || L4="-" + LEDS="[${L1}${L2}${L3}${L4}]" - # Compute the main field size - S=$(( T_COLUMNS - 27 )) - # Set the message to display if [ "$1" ] then @@ -1148,9 +1152,13 @@ else MSG=$"Not streaming, please launch the player" fi + MSG="${MSG:0:${SBAR_MAIN_SIZE}}" + # Trim the username, if too long + UNAME="${LASTFM_USER:0:15}" + # Format the status line - printf -v LINE " %-${S}s %-15s [%c%c%c%c] " "${MSG:0:$S}" "${LASTFM_USER}" "${L1}" "${L2}" "${L3}" "${L4}" + LINE=" ${MSG}${SBAR_MAIN_PADD:${#MSG}} ${UNAME}${SBAR_UNAME_PADD:${#UNAME}} ${LEDS} " # Move the cursor on lower-left corner and print tput cup ${T_LINES} 0 echo -ne "${T_COLOR_WHITE}${T_BGCOLOR_BLUE}${LINE}${T_COLOR_NORMAL}" @@ -1522,17 +1530,17 @@ if [ "${RET}" == "0" ] then # Update the status line - tui_sbar "Station changed" + tui_sbar $"Station changed" else case "${RET}" in - "1") ERRMSG="Not enough content to play this station" ;; - "2") ERRMSG="The group has not enough members for radio" ;; - "3") ERRMSG="The artist has not enough fans for radio" ;; - "4") ERRMSG="The item is not available for streaming" ;; - "5") ERRMSG="Feature available only to subscribers" ;; - "6") ERRMSG="Not enough neighbours for this radio" ;; - "7") ERRMSG="Streaming system is offline for maintenance" ;; - *) ERRMSG="Changing station failed for unknown error" ;; + "1") ERRMSG=$"Not enough content to play this station" ;; + "2") ERRMSG=$"The group has not enough members for radio" ;; + "3") ERRMSG=$"The artist has not enough fans for radio" ;; + "4") ERRMSG=$"The item is not available for streaming" ;; + "5") ERRMSG=$"Feature available only to subscribers" ;; + "6") ERRMSG=$"Not enough neighbours for this radio" ;; + "7") ERRMSG=$"Streaming system is offline for maintenance" ;; + *) ERRMSG=$"Changing station failed for unknown error" ;; esac # Display the detailed error messages @@ -1553,21 +1561,22 @@ { # $1 - command - local RET + local RET M # Set the status line - tui_sbar "Sending command: $1" + printf -v M $"Sending command: %s" "$1" + tui_sbar "${M}" # Try sending the command if lastfm_command "${LASTFM_SESSION}" "$1" then RET="0" # Update the status line - tui_sbar "Command sent successfully" + tui_sbar $"Command sent successfully" else RET="1" # Update the status line - tui_sbar "Error sending command" + tui_sbar $"Error sending command" fi # Return the status code @@ -1668,17 +1677,17 @@ if [ "${META_RTP}" == "1" ] then - tui_sbar "Disabling RTP..." + tui_sbar $"Disabling RTP..." lastfm_command "${LASTFM_SESSION}" "nortp" || RET="1" else - tui_sbar "Enabling RTP..." + tui_sbar $"Enabling RTP..." lastfm_command "${LASTFM_SESSION}" "rtp" || RET="2" fi # Say something if action failed if [ "${RET}" != "0" ] then - tui_sbar "Action failed" + tui_sbar $"Action failed" fi # Sleep one moment and refresh the metadata @@ -1697,17 +1706,17 @@ if [ "${META_DISCOVERY}" == "1" ] then - tui_sbar "Disable discovery mode..." + tui_sbar $"Disable discovery mode..." lastfm_station "${LASTFM_SESSION}" "lastfm://settings/discovery/off" || RET="1" else - tui_sbar "Enable discovery mode..." + tui_sbar $"Enable discovery mode..." lastfm_station "${LASTFM_SESSION}" "lastfm://settings/discovery/on" || RET="2" fi # Say something if action failed if [ "${RET}" != "0" ] then - tui_sbar "Action failed" + tui_sbar $"Action failed" fi # Sleep one moment and refresh the metadata @@ -1724,10 +1733,10 @@ { if [ "${HISTORY_SCROLL_DOWN}" == "y" ] then - tui_sbar "History scroll upward" + tui_sbar $"History scroll upward" HISTORY_SCROLL_DOWN="n" else - tui_sbar "History scroll downward" + tui_sbar $"History scroll downward" HISTORY_SCROLL_DOWN="y" fi @@ -1745,11 +1754,11 @@ { if [ "${DEBUG}" == "y" ] then - tui_sbar "Debug mode disabled" + tui_sbar $"Debug mode disabled" debug_footer DEBUG="n" else - tui_sbar "Debug mode enabled" + tui_sbar $"Debug mode enabled" debug_header DEBUG="y" fi @@ -2049,18 +2058,20 @@ #----------------------------------------------------------------------------- function player_start() { + local M + # Return if no player is to be used [ "${USE_PLAYER}" != "y" ] && return if ! type -t mkfifo >/dev/null 2>&1 then - tui_sbar "No way to control the player, mkfifo is absent" "2" + tui_sbar $"No way to control the player, mkfifo is absent" "2" debug "${FUNCNAME}: mkfifo is absent" return 1 fi # Set the status line - tui_sbar "Starting the backend player..." + tui_sbar $"Starting the backend player..." # Create the named pipe if [ -e "${PLAYER_PIPE}" ] @@ -2073,7 +2084,7 @@ debug "${FUNCNAME}: Pipe created" else debug "${FUNCNAME}: Pipe not created" - tui_sbar "Unable to create the player controlling pipe" "1" + tui_sbar $"Unable to create the player controlling pipe" "1" return 2 fi @@ -2088,7 +2099,7 @@ PLAYER_PID=$! else debug "${FUNCNAME}: No supported player found" - tui_sbar "No supported player found" + tui_sbar $"No supported player found" fi # Wait a second @@ -2098,13 +2109,15 @@ if player_running then debug "${FUNCNAME}: Player ${PLAYER} started" - tui_sbar "Player started (${PLAYER})" + printf -v M "Player started (%s)" "${PLAYER}" + tui_sbar "${M}" RET="0" # Load the stream, if configured to [ "${AUTO_PLAY}" == "y" ] && player_load else debug "${FUNCNAME}: Could not start player ${PLAYER}" - tui_sbar "Player ${PLAYER} could not be started" + printf -v M "Player %s could not be started" "${PLAYER}" + tui_sbar "${M}" RET="3" fi @@ -2122,7 +2135,7 @@ local RET # Set the status line - tui_sbar "Loading the stream..." + tui_sbar $"Loading the stream..." # Load the stream and start playing if [ "${PLAYER}" == "mplayer" ] @@ -2135,7 +2148,7 @@ RET=$? else debug "${FUNCNAME}: No supported player running" - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" RET="1" fi @@ -2145,10 +2158,10 @@ # Update the status line if [ "${RET}" == "0" ] then - tui_sbar "Stream loaded and playing" "5" + tui_sbar $"Stream loaded and playing" "5" tui_metadata else - tui_sbar "Stream not loaded" + tui_sbar $"Stream not loaded" fi # Return the status @@ -2164,7 +2177,7 @@ local RET # Set the status line - tui_sbar "Pause/Unpause playing the stream..." + tui_sbar $"Pause/Unpause playing the stream..." # Stop playing if [ "${PLAYER}" == "mplayer" ] @@ -2178,7 +2191,7 @@ else RET="1" debug "${FUNCNAME}: No supported player running" - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" fi # Restore the status bar @@ -2199,7 +2212,7 @@ local RET # Set the status line - tui_sbar "Muting/Unmuting..." + tui_sbar $"Muting/Unmuting..." # Stop playing if [ "${PLAYER}" == "mplayer" ] @@ -2213,7 +2226,7 @@ else RET="1" debug "${FUNCNAME}: No supported player running" - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" fi # Restore the status bar @@ -2233,21 +2246,21 @@ local RET # Set the status line - tui_sbar "Stop playing the stream..." + tui_sbar $"Stop playing the stream..." # Stop playing if [ "${PLAYER}" == "mplayer" ] then RET="1" - tui_sbar "Command not supported" + tui_sbar $"Command not supported" elif [ "${PLAYER}" == "mpg123" ] then RET="1" - tui_sbar "Command not supported" + tui_sbar $"Command not supported" else RET="1" debug "${FUNCNAME}: No supported player running" - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" fi # Restore the status bar @@ -2265,7 +2278,7 @@ player_running || return # Set the status line - tui_sbar "Closing the player..." + tui_sbar $"Closing the player..." if [ "${PLAYER}" == "mplayer" ] then @@ -2276,7 +2289,7 @@ kill "${PLAYER_PID}" RET=$? else - tui_sbar "No supported player is running" + tui_sbar $"No supported player is running" debug "${FUNCNAME}: No supported player running" RET="1" fi @@ -2287,11 +2300,11 @@ # Check the result if [ "${RET}" == "0" ] then - tui_sbar "Player closed" + tui_sbar $"Player closed" # Remove the FIFO rm -f "${PLAYER_PIPE}" else - tui_sbar "Could not close the player" + tui_sbar $"Could not close the player" fi # Return the status @@ -2372,7 +2385,7 @@ # FIXME Terminal left in wrong status "QUIT") quit 0 ;; # Any other command - *) tui_sbar "Command not understood: $1" "1" ;; + *) tui_sbar $"Command not understood: $1" "1" ;; esac } @@ -2398,13 +2411,13 @@ rm -f "${COMMAND_FILE}" else # There is no command file - tui_sbar "No commands to execute" + tui_sbar $"No commands to execute" fi # Remove the lock rm -f "${COMMAND_FILE_LOCK}" else - tui_sbar "Lockfile present, remote call ignored" + tui_sbar $"Lockfile present, remote call ignored" fi # Restore the status bar @@ -2451,7 +2464,7 @@ #----------------------------------------------------------------------------- function sigtstp() { - tui_sbar "Cannot suspend" "1" + tui_sbar $"Cannot suspend" "1" } # Function: The read key loop {{{1 Modified: lastbash/po/de.po =================================================================== --- lastbash/po/de.po 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/po/de.po 2007-04-25 15:31:55 UTC (rev 232) @@ -6,88 +6,262 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"PO-Revision-Date: 2007-04-17 20:10+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2007-04-17 20:10+0300\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: lastbash:102 -msgid "Action" -msgstr "Tätigkeit " +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Konsole Spieler für Last.fm " +#: lastbash:98 +msgid "Artist" +msgstr "Künstler " + #: lastbash:99 msgid "Album" msgstr "Album " -#: lastbash:98 -msgid "Artist" -msgstr "Künstler " +#: lastbash:100 +msgid "Title" +msgstr "Titel " -#: lastbash:287 -msgid "Bash version 3 is needed." -msgstr "Schlagversion 3 ist erforderlich. " +#: lastbash:101 +msgid "Length" +msgstr "Länge " -#: lastbash:1478 -msgid "Connected" -msgstr "Angeschlossen " +#: lastbash:102 +msgid "Action" +msgstr "Tätigkeit " -#: lastbash:1462 -msgid "Connecting to Last.fm..." -msgstr "Anschließen an Last.fm… " +#: lastbash:127 +msgid "Debug session started on" +msgstr "Den Lernabschnitt ausprüfen, der an begonnen wird " -#: lastbash:40 -msgid "Console player for Last.fm" -msgstr "Konsole Spieler für Last.fm " - #: lastbash:138 msgid "Debug session ended on" msgstr "Den Lernabschnitt ausprüfen, der an beendet wird " -#: lastbash:127 -msgid "Debug session started on" -msgstr "Den Lernabschnitt ausprüfen, der an begonnen wird " +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "Schlagversion 3 ist erforderlich. " -#: lastbash:1491 -msgid "Last.fm handshake failed" -msgstr "Last.fm Händedruck fällt aus " +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Ungestützte Schlagversion " -#: lastbash:1485 -msgid "Last.fm session failed, check credentials" -msgstr "Last.fm Lernabschnitt fiel, überprüfung Bescheinigungen aus " +#: lastbash:445 +msgid "Quitting. Good bye." +msgstr "" -#: lastbash:101 -msgid "Length" -msgstr "Länge " +#: lastbash:1153 +msgid "Not streaming, please launch the player" +msgstr "Nicht strömend, den Spieler bitte ausstoßen " -#: lastbash:1444 +#: lastbash:1203 +msgid "Error while creating the HTML file." +msgstr "" + +#: lastbash:1205 +msgid "Not streaming" +msgstr "" + +#: lastbash:1416 +msgid "Retrieving metadata..." +msgstr "Metadaten zurückholen… " + +#: lastbash:1460 msgid "Metadata retrieving failed" msgstr "Metadatenzurückholen verlassen " -#: lastbash:1135 -msgid "Not streaming, please launch the player" -msgstr "Nicht strömend, den Spieler bitte ausstoßen " +#: lastbash:1478 +msgid "Connecting to Last.fm..." +msgstr "Anschließen an Last.fm… " -#: lastbash:1488 +#: lastbash:1494 +msgid "Connected" +msgstr "Angeschlossen " + +#: lastbash:1501 +msgid "Last.fm session failed, check credentials" +msgstr "Last.fm Lernabschnitt fiel, überprüfung Bescheinigungen aus " + +#: lastbash:1504 msgid "Player banned, contact the author" msgstr "Der verbotene Spieler, treten mit dem Autor in Verbindung " -#: lastbash:1400 -msgid "Retrieving metadata..." -msgstr "Metadaten zurückholen… " +#: lastbash:1507 +msgid "Last.fm handshake failed" +msgstr "Last.fm Händedruck fällt aus " -#: lastbash:1507 +#: lastbash:1523 msgid "Setting new Last.fm station..." msgstr "Einstellung neue Last.fm Station… " -#: lastbash:100 -msgid "Title" -msgstr "Titel " +#: lastbash:1533 +msgid "Station changed" +msgstr "" -#: lastbash:288 -msgid "Unsupported Bash version" +#: lastbash:1536 +msgid "Not enough content to play this station" +msgstr "" + +#: lastbash:1537 +msgid "The group has not enough members for radio" +msgstr "" + +#: lastbash:1538 +msgid "The artist has not enough fans for radio" +msgstr "" + +#: lastbash:1539 +msgid "The item is not available for streaming" +msgstr "" + +#: lastbash:1540 +msgid "Feature available only to subscribers" +msgstr "" + +#: lastbash:1541 +msgid "Not enough neighbours for this radio" +msgstr "" + +#: lastbash:1542 +msgid "Streaming system is offline for maintenance" +msgstr "" + +#: lastbash:1543 +msgid "Changing station failed for unknown error" +msgstr "" + +#: lastbash:1567 +msgid "Sending command: %s" +msgstr "" + +#: lastbash:1575 +msgid "Command sent successfully" +msgstr "" + +#: lastbash:1579 +msgid "Error sending command" +msgstr "" + +#: lastbash:1680 +msgid "Disabling RTP..." +msgstr "" + +#: lastbash:1683 +msgid "Enabling RTP..." +msgstr "" + +#: lastbash:1690 lastbash:1719 +#, fuzzy +msgid "Action failed" +msgstr "Tätigkeit " + +#: lastbash:1709 +msgid "Disable discovery mode..." +msgstr "" + +#: lastbash:1712 +msgid "Enable discovery mode..." +msgstr "" + +#: lastbash:1736 +msgid "History scroll upward" +msgstr "" + +#: lastbash:1739 +msgid "History scroll downward" +msgstr "" + +#: lastbash:1757 +msgid "Debug mode disabled" +msgstr "" + +#: lastbash:1761 +#, fuzzy +msgid "Debug mode enabled" +msgstr "Den Lernabschnitt ausprüfen, der an beendet wird " + +#: lastbash:2068 +msgid "No way to control the player, mkfifo is absent" +msgstr "" + +#: lastbash:2074 +msgid "Starting the backend player..." +msgstr "" + +#: lastbash:2087 +msgid "Unable to create the player controlling pipe" +msgstr "" + +#: lastbash:2102 +#, fuzzy +msgid "No supported player found" msgstr "Ungestützte Schlagversion " +#: lastbash:2138 +msgid "Loading the stream..." +msgstr "" + +#: lastbash:2151 lastbash:2194 lastbash:2229 lastbash:2263 lastbash:2292 +msgid "No supported player is running" +msgstr "" + +#: lastbash:2161 +msgid "Stream loaded and playing" +msgstr "" + +#: lastbash:2164 +msgid "Stream not loaded" +msgstr "" + +#: lastbash:2180 +msgid "Pause/Unpause playing the stream..." +msgstr "" + +#: lastbash:2215 +msgid "Muting/Unmuting..." +msgstr "" + +#: lastbash:2249 +msgid "Stop playing the stream..." +msgstr "" + +#: lastbash:2255 lastbash:2259 +msgid "Command not supported" +msgstr "" + +#: lastbash:2281 +msgid "Closing the player..." +msgstr "" + +#: lastbash:2303 +msgid "Player closed" +msgstr "" + +#: lastbash:2307 +msgid "Could not close the player" +msgstr "" + +#: lastbash:2388 +msgid "Command not understood: $1" +msgstr "" + +#: lastbash:2414 +msgid "No commands to execute" +msgstr "" + +#: lastbash:2420 +msgid "Lockfile present, remote call ignored" +msgstr "" + +#: lastbash:2467 +msgid "Cannot suspend" +msgstr "" Modified: lastbash/po/fr.po =================================================================== --- lastbash/po/fr.po 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/po/fr.po 2007-04-25 15:31:55 UTC (rev 232) @@ -6,88 +6,262 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"PO-Revision-Date: 2007-04-17 20:11+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2007-04-17 20:11+0300\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#: lastbash:102 -msgid "Action" -msgstr "Action " +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Joueur de console pour Last.fm " +#: lastbash:98 +msgid "Artist" +msgstr "Artiste " + #: lastbash:99 msgid "Album" msgstr "Album " -#: lastbash:98 -msgid "Artist" -msgstr "Artiste " +#: lastbash:100 +msgid "Title" +msgstr "Titre" -#: lastbash:287 -msgid "Bash version 3 is needed." -msgstr "La version 3 de Bash est nécessaire." +#: lastbash:101 +msgid "Length" +msgstr "Longueur " -#: lastbash:1478 -msgid "Connected" -msgstr "Relié " +#: lastbash:102 +msgid "Action" +msgstr "Action " -#: lastbash:1462 -msgid "Connecting to Last.fm..." -msgstr "Se relier à Last.fm… " +#: lastbash:127 +msgid "Debug session started on" +msgstr "Corriger la session commencée dessus " -#: lastbash:40 -msgid "Console player for Last.fm" -msgstr "Joueur de console pour Last.fm " - #: lastbash:138 msgid "Debug session ended on" msgstr "Corriger la session finie dessus " -#: lastbash:127 -msgid "Debug session started on" -msgstr "Corriger la session commencée dessus " +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "La version 3 de Bash est nécessaire." -#: lastbash:1491 -msgid "Last.fm handshake failed" -msgstr "La poignée de main de Last.fm échoue " +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Version non soutenue de coup " -#: lastbash:1485 -msgid "Last.fm session failed, check credentials" -msgstr "La session de Last.fm a échoué, des qualifications de contrôle " +#: lastbash:445 +msgid "Quitting. Good bye." +msgstr "" -#: lastbash:101 -msgid "Length" -msgstr "Longueur " +#: lastbash:1153 +msgid "Not streaming, please launch the player" +msgstr "En ne coulant pas, lancer svp le joueur " -#: lastbash:1444 +#: lastbash:1203 +msgid "Error while creating the HTML file." +msgstr "" + +#: lastbash:1205 +msgid "Not streaming" +msgstr "" + +#: lastbash:1416 +msgid "Retrieving metadata..." +msgstr "Recherchant des méta-données… " + +#: lastbash:1460 msgid "Metadata retrieving failed" msgstr "Recherche de méta-données échouée " -#: lastbash:1135 -msgid "Not streaming, please launch the player" -msgstr "En ne coulant pas, lancer svp le joueur " +#: lastbash:1478 +msgid "Connecting to Last.fm..." +msgstr "Se relier à Last.fm… " -#: lastbash:1488 +#: lastbash:1494 +msgid "Connected" +msgstr "Relié " + +#: lastbash:1501 +msgid "Last.fm session failed, check credentials" +msgstr "La session de Last.fm a échoué, des qualifications de contrôle " + +#: lastbash:1504 msgid "Player banned, contact the author" msgstr "Le joueur interdit, contactent l'auteur " -#: lastbash:1400 -msgid "Retrieving metadata..." -msgstr "Recherchant des méta-données… " +#: lastbash:1507 +msgid "Last.fm handshake failed" +msgstr "La poignée de main de Last.fm échoue " -#: lastbash:1507 +#: lastbash:1523 msgid "Setting new Last.fm station..." msgstr "Plaçant la nouvelle station de Last.fm… " -#: lastbash:100 -msgid "Title" -msgstr "Titre" +#: lastbash:1533 +msgid "Station changed" +msgstr "" -#: lastbash:288 -msgid "Unsupported Bash version" +#: lastbash:1536 +msgid "Not enough content to play this station" +msgstr "" + +#: lastbash:1537 +msgid "The group has not enough members for radio" +msgstr "" + +#: lastbash:1538 +msgid "The artist has not enough fans for radio" +msgstr "" + +#: lastbash:1539 +msgid "The item is not available for streaming" +msgstr "" + +#: lastbash:1540 +msgid "Feature available only to subscribers" +msgstr "" + +#: lastbash:1541 +msgid "Not enough neighbours for this radio" +msgstr "" + +#: lastbash:1542 +msgid "Streaming system is offline for maintenance" +msgstr "" + +#: lastbash:1543 +msgid "Changing station failed for unknown error" +msgstr "" + +#: lastbash:1567 +msgid "Sending command: %s" +msgstr "" + +#: lastbash:1575 +msgid "Command sent successfully" +msgstr "" + +#: lastbash:1579 +msgid "Error sending command" +msgstr "" + +#: lastbash:1680 +msgid "Disabling RTP..." +msgstr "" + +#: lastbash:1683 +msgid "Enabling RTP..." +msgstr "" + +#: lastbash:1690 lastbash:1719 +#, fuzzy +msgid "Action failed" +msgstr "Action " + +#: lastbash:1709 +msgid "Disable discovery mode..." +msgstr "" + +#: lastbash:1712 +msgid "Enable discovery mode..." +msgstr "" + +#: lastbash:1736 +msgid "History scroll upward" +msgstr "" + +#: lastbash:1739 +msgid "History scroll downward" +msgstr "" + +#: lastbash:1757 +msgid "Debug mode disabled" +msgstr "" + +#: lastbash:1761 +#, fuzzy +msgid "Debug mode enabled" +msgstr "Corriger la session finie dessus " + +#: lastbash:2068 +msgid "No way to control the player, mkfifo is absent" +msgstr "" + +#: lastbash:2074 +msgid "Starting the backend player..." +msgstr "" + +#: lastbash:2087 +msgid "Unable to create the player controlling pipe" +msgstr "" + +#: lastbash:2102 +#, fuzzy +msgid "No supported player found" msgstr "Version non soutenue de coup " +#: lastbash:2138 +msgid "Loading the stream..." +msgstr "" + +#: lastbash:2151 lastbash:2194 lastbash:2229 lastbash:2263 lastbash:2292 +msgid "No supported player is running" +msgstr "" + +#: lastbash:2161 +msgid "Stream loaded and playing" +msgstr "" + +#: lastbash:2164 +msgid "Stream not loaded" +msgstr "" + +#: lastbash:2180 +msgid "Pause/Unpause playing the stream..." +msgstr "" + +#: lastbash:2215 +msgid "Muting/Unmuting..." +msgstr "" + +#: lastbash:2249 +msgid "Stop playing the stream..." +msgstr "" + +#: lastbash:2255 lastbash:2259 +msgid "Command not supported" +msgstr "" + +#: lastbash:2281 +msgid "Closing the player..." +msgstr "" + +#: lastbash:2303 +msgid "Player closed" +msgstr "" + +#: lastbash:2307 +msgid "Could not close the player" +msgstr "" + +#: lastbash:2388 +msgid "Command not understood: $1" +msgstr "" + +#: lastbash:2414 +msgid "No commands to execute" +msgstr "" + +#: lastbash:2420 +msgid "Lockfile present, remote call ignored" +msgstr "" + +#: lastbash:2467 +msgid "Cannot suspend" +msgstr "" Modified: lastbash/po/ro.po =================================================================== --- lastbash/po/ro.po 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/po/ro.po 2007-04-25 15:31:55 UTC (rev 232) @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: subproc\n" -"POT-Creation-Date: 2007-04-17 19:57+0300\n" -"PO-Revision-Date: 2007-04-17 19:59+0300\n" +"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"PO-Revision-Date: 2007-04-25 18:30+0300\n" "Last-Translator: Costin Stroie <cs...@us...>\n" "Language-Team: ro_RO\n" "MIME-Version: 1.0\n" @@ -54,38 +54,210 @@ msgid "Unsupported Bash version" msgstr "Versiune Bash nesuportată" -#: lastbash:1135 +#: lastbash:445 +msgid "Quitting. Good bye." +msgstr "Ieşire. La revedere." + +#: lastbash:1153 msgid "Not streaming, please launch the player" msgstr "Lansaţi playerul" -#: lastbash:1400 +#: lastbash:1203 +msgid "Error while creating the HTML file." +msgstr "Eroare la crearea fişierului HTML." + +#: lastbash:1205 +msgid "Not streaming" +msgstr "Nu se recepţionează nimic" + +#: lastbash:1416 msgid "Retrieving metadata..." msgstr "Descărcare metadata..." -#: lastbash:1444 +#: lastbash:1460 msgid "Metadata retrieving failed" msgstr "Decărcarea metadata a eşuat" -#: lastbash:1462 +#: lastbash:1478 msgid "Connecting to Last.fm..." msgstr "În conectare la Last.fm..." -#: lastbash:1478 +#: lastbash:1494 msgid "Connected" msgstr "Conectat" -#: lastbash:1485 +#: lastbash:1501 msgid "Last.fm session failed, check credentials" msgstr "Sesiunea Last.fm a eşuat, verificaţi datele de autentificare" -#: lastbash:1488 +#: lastbash:1504 msgid "Player banned, contact the author" msgstr "Playerul este interzis, contactaţi autorul" -#: lastbash:1491 +#: lastbash:1507 msgid "Last.fm handshake failed" msgstr "Negocierea Last.fm a eşuat" -#: lastbash:1507 +#: lastbash:1523 msgid "Setting new Last.fm station..." msgstr "Stabilim o nouă staţie Last.fm..." + +#: lastbash:1533 +msgid "Station changed" +msgstr "Staţia a fost schimbată" + +#: lastbash:1536 +msgid "Not enough content to play this station" +msgstr "Nu există conţinut suficient pentru a putea asculta această staţie" + +#: lastbash:1537 +msgid "The group has not enough members for radio" +msgstr "Grupul nu are suficienţi membri pentru ascultare" + +#: lastbash:1538 +msgid "The artist has not enough fans for radio" +msgstr "Artistul nu are destui fani pentru ascultare" + +#: lastbash:1539 +msgid "The item is not available for streaming" +msgstr "Respectivul element nu este disponibil pentru recepţie" + +#: lastbash:1540 +msgid "Feature available only to subscribers" +msgstr "Disponibil doar pentru cei înscrişi" + +#: lastbash:1541 +msgid "Not enough neighbours for this radio" +msgstr "Nu există destui vecini pentru acest radio" + +#: lastbash:1542 +msgid "Streaming system is offline for maintenance" +msgstr "Sistemul de emisie este oprit pentru întreţinere" + +#: lastbash:1543 +msgid "Changing station failed for unknown error" +msgstr "Schimbarea staţiei a eşuat dintr-un motiv necunoscut" + +#: lastbash:1567 +msgid "Sending command: %s" +msgstr "Se trmite comanda: %s" + +#: lastbash:1575 +msgid "Command sent successfully" +msgstr "Comanda a fost trimisă cu succes" + +#: lastbash:1579 +msgid "Error sending command" +msgstr "Eroare la trimiterea comenzii" + +#: lastbash:1680 +msgid "Disabling RTP..." +msgstr "Dezactivare RTP..." + +#: lastbash:1683 +msgid "Enabling RTP..." +msgstr "Activare RTP..." + +#: lastbash:1690 lastbash:1719 +msgid "Action failed" +msgstr "Acţiunea a eşuat" + +#: lastbash:1709 +msgid "Disable discovery mode..." +msgstr "Dezactivare mod \"discovery\"" + +#: lastbash:1712 +msgid "Enable discovery mode..." +msgstr "Activare mod \"discovery\"" + +#: lastbash:1736 +msgid "History scroll upward" +msgstr "Istoric sortat ascendent" + +#: lastbash:1739 +msgid "History scroll downward" +msgstr "Istoric sortat descendent" + +#: lastbash:1757 +msgid "Debug mode disabled" +msgstr "Mod de depanare dezactivat" + +#: lastbash:1761 +msgid "Debug mode enabled" +msgstr "Modul de depanare activat" + +#: lastbash:2068 +msgid "No way to control the player, mkfifo is absent" +msgstr "Nici o posibilitate de a controla playerul, mkfifo este absent" + +#: lastbash:2074 +msgid "Starting the backend player..." +msgstr "Lansare player în fundal..." + +#: lastbash:2087 +msgid "Unable to create the player controlling pipe" +msgstr "Eroare la crearea controlerului pentru player" + +#: lastbash:2102 +msgid "No supported player found" +msgstr "Nici un player suportat nu a fost găsit" + +#: lastbash:2138 +msgid "Loading the stream..." +msgstr "Încărcare flux audio..." + +#: lastbash:2151 lastbash:2194 lastbash:2229 lastbash:2263 lastbash:2292 +msgid "No supported player is running" +msgstr "Nici un player suportat nu este în execuţie" + +#: lastbash:2161 +msgid "Stream loaded and playing" +msgstr "Fluxul audio este încărcat" + +#: lastbash:2164 +msgid "Stream not loaded" +msgstr "Fluxul audio nu este încărcat" + +#: lastbash:2180 +msgid "Pause/Unpause playing the stream..." +msgstr "Pauză/Reluare a redării..." + +#: lastbash:2215 +msgid "Muting/Unmuting..." +msgstr "Dezactivare/Activare ieşire audio (mut)..." + +#: lastbash:2249 +msgid "Stop playing the stream..." +msgstr "Oprire flux audio..." + +#: lastbash:2255 lastbash:2259 +msgid "Command not supported" +msgstr "Comandă nesuportată" + +#: lastbash:2281 +msgid "Closing the player..." +msgstr "Închidere player..." + +#: lastbash:2303 +msgid "Player closed" +msgstr "Player închis" + +#: lastbash:2307 +msgid "Could not close the player" +msgstr "Eroare la închiderea playerului" + +#: lastbash:2388 +msgid "Command not understood: $1" +msgstr "Comandă neînţeleasă: $1" + +#: lastbash:2414 +msgid "No commands to execute" +msgstr "Nu există comenzi în coada de execuţie" + +#: lastbash:2420 +msgid "Lockfile present, remote call ignored" +msgstr "Fişier de blocare prezent, apelul de execuţie este ignorat" + +#: lastbash:2467 +msgid "Cannot suspend" +msgstr "Nu se poate suspenda" Modified: lastbash/po/ru.po =================================================================== --- lastbash/po/ru.po 2007-04-24 17:53:56 UTC (rev 231) +++ lastbash/po/ru.po 2007-04-25 15:31:55 UTC (rev 232) @@ -6,107 +6,281 @@ msgid "" msgstr "" "Project-Id-Version: lastbash-0.3.3\n" -"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"POT-Creation-Date: 2007-04-25 18:15+0300\n" +"PO-Revision-Date: 2007-04-17 20:12+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2007-04-17 20:12+0300\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" -#: lastbash:102 +#: lastbash:40 #, fuzzy -msgid "Action" -msgstr "Действий " +msgid "Console player for Last.fm" +msgstr "Консоль игрока на Last.fm " +#: lastbash:98 +#, fuzzy +msgid "Artist" +msgstr " " + #: lastbash:99 #, fuzzy msgid "Album" msgstr " " -#: lastbash:98 +#: lastbash:100 #, fuzzy -msgid "Artist" +msgid "Title" msgstr " " -#: lastbash:287 +#: lastbash:101 #, fuzzy -msgid "Bash version 3 is needed." -msgstr "Bash, версия 3 не требуется. " +msgid "Length" +msgstr " " -#: lastbash:1478 +#: lastbash:102 #, fuzzy -msgid "Connected" -msgstr "Подключен " +msgid "Action" +msgstr "Действий " -#: lastbash:1462 +#: lastbash:127 #, fuzzy -msgid "Connecting to Last.fm..." -msgstr "Подключение к Last.fm. .. " +msgid "Debug session started on" +msgstr "Отладка сессия началась " -#: lastbash:40 -#, fuzzy -msgid "Console player for Last.fm" -msgstr "Консоль игрока на Last.fm " - #: lastbash:138 #, fuzzy msgid "Debug session ended on" msgstr "Отладка сессия закончилась " -#: lastbash:127 +#: lastbash:287 #, fuzzy -msgid "Debug session started on" -msgstr "Отладка сессия началась " +msgid "Bash version 3 is needed." +msgstr "Bash, версия 3 не требуется. " -#: lastbash:1491 +#: lastbash:288 #, fuzzy -msgid "Last.fm handshake failed" -msgstr "Last.fm не рукопожатие " +msgid "Unsupported Bash version" +msgstr "Неподдерживаемая версия Bash " -#: lastbash:1485 +#: lastbash:445 +msgid "Quitting. Good bye." +msgstr "" + +#: lastbash:1153 #, fuzzy -msgid "Last.fm session failed, check credentials" -msgstr "Last.fm не сессии, проверьте полномочия " +msgid "Not streaming, please launch the player" +msgstr "Не в потоковом режиме, можно начать игрок " -#: lastbash:101 +#: lastbash:1203 +msgid "Error while creating the HTML file." +msgstr "" + +#: lastbash:1205 +msgid "Not streaming" +msgstr "" + +#: lastbash:1416 #, fuzzy -msgid "Length" -msgstr " " +msgid "Retrieving metadata..." +msgstr "Получение метаданных ... " -#: lastbash:1444 +#: lastbash:1460 #, fuzzy msgid "Metadata retrieving failed" msgstr "Метаданные поиска не " -#: lastbash:1135 +#: lastbash:1478 #, fuzzy -msgid "Not streaming, please launch the player" -msgstr "Не в потоковом режиме, можно начать игрок " +msgid "Connecting to Last.fm..." +msgstr "Подключение к Last.fm. .. " -#: lastbash:1488 +#: lastbash:1494 #, fuzzy +msgid "Connected" +msgstr "Подключен " + +#: lastbash:1501 +#, fuzzy +msgid "Last.fm session failed, check credentials" +msgstr "Last.fm не сессии, проверьте полномочия " + +#: lastbash:1504 +#, fuzzy msgid "Player banned, contact the author" msgstr "Игроку запрещен, связаться с автором " -#: lastbash:1400 +#: lastbash:1507 #, fuzzy -msgid "Retrieving metadata..." -msgstr "Получение метаданных ... " +msgid "Last.fm handshake failed" +msgstr "Last.fm не рукопожатие " -#: lastbash:1507 +#: lastbash:1523 #, fuzzy msgid "Setting new Last.fm station..." msgstr "Установка новых Last.fm станции ... " -#: lastbash:100 +#: lastbash:1533 +msgid "Station changed" +msgstr "" + +#: lastbash:1536 +msgid "Not enough content to play this station" +msgstr "" + +#: lastbash:1537 +msgid "The group has not enough members for radio" +msgstr "" + +#: lastbash:1538 +msgid "The artist has not enough fans for radio" +msgstr "" + +#: lastbash:1539 +msgid "The item is not available for streaming" +msgstr "" + +#: lastbash:1540 +msgid "Feature available only to subscribers" +msgstr "" + +#: lastbash:1541 +msgid "Not enough neighbours for this radio" +msgstr "" + +#: lastbash:1542 +msgid "Streaming system is offline for maintenance" +msgstr "" + +#: lastbash:1543 +msgid "Changing station failed for unknown error" +msgstr "" + +#: lastbash:1567 +msgid "Sending command: %s" +msgstr "" + +#: lastbash:1575 +msgid "Command sent successfully" +msgstr "" + +#: lastbash:1579 +msgid "Error sending command" +msgstr "" + +#: lastbash:1680 +msgid "Disabling RTP..." +msgstr "" + +#: lastbash:1683 +msgid "Enabling RTP..." +msgstr "" + +#: lastbash:1690 lastbash:1719 #, fuzzy -msgid "Title" -msgstr " " +msgid "Action failed" +msgstr "Действий " -#: lastbash:288 +#: lastbash:1709 +msgid "Disable discovery mode..." +msgstr "" + +#: lastbash:1712 +msgid "Enable discovery mode..." +msgstr "" + +#: lastbash:1736 +msgid "History scroll upward" +msgstr "" + +#: lastbash:1739 +msgid "History scroll downward" +msgstr "" + +#: lastbash:1757 +msgid "Debug mode disabled" +msgstr "" + +#: lastbash:1761 #, fuzzy -msgid "Unsupported Bash version" +msgid "Debug mode enabled" +msgstr "Отладка сессия закончилась " + +#: lastbash:2068 +msgid "No way to control the player, mkfifo is absent" +msgstr "" + +#: lastbash:2074 +msgid "Starting the backend player..." +msgstr "" + +#: lastbash:2087 +msgid "Unable to create the player controlling pipe" +msgstr "" + +#: lastbash:2102 +#, fuzzy +msgid "No supported player found" msgstr "Неподдерживаемая версия Bash " +#: lastbash:2138 +msgid "Loading the stream..." +msgstr "" + +#: lastbash:2151 lastbash:2194 lastbash:2229 lastbash:2263 lastbash:2292 +msgid "No supported player is running" +msgstr "" + +#: lastbash:2161 +msgid "Stream loaded and playing" +msgstr "" + +#: lastbash:2164 +msgid "Stream not loaded" +msgstr "" + +#: lastbash:2180 +msgid "Pause/Unpause playing the stream..." +msgstr "" + +#: lastbash:2215 +msgid "Muting/Unmuting..." +msgstr "" + +#: lastbash:2249 +msgid "Stop playing the stream..." +msgstr "" + +#: lastbash:2255 lastbash:2259 +msgid "Command not supported" +msgstr "" + +#: lastbash:2281 +msgid "Closing the player..." +msgstr "" + +#: lastbash:2303 +msgid "Player closed" +msgstr "" + +#: lastbash:2307 +msgid "Could not close the player" +msgstr "" + +#: lastbash:2388 +msgid "Command not understood: $1" +msgstr "" + +#: lastbash:2414 +msgid "No commands to execute" +msgstr "" + +#: lastbash:2420 +msgid "Lockfile present, remote call ignored" +msgstr "" + +#: lastbash:2467 +msgid "Cannot suspend" +msgstr "" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-04-24 17:53:59
|
Revision: 231 http://lastbash.svn.sourceforge.net/lastbash/?rev=231&view=rev Author: cstroie Date: 2007-04-24 10:53:56 -0700 (Tue, 24 Apr 2007) Log Message: ----------- New method for string padding, improving the l10n display. Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-04-17 17:17:51 UTC (rev 230) +++ lastbash/lastbash 2007-04-24 17:53:56 UTC (rev 231) @@ -415,6 +415,20 @@ fi fi + # Compute some string sizes and padding + local L LL + LBL_MAXLENGTH=0 + for L in LBL_ARTIST LBL_ALBUM LBL_TRACK LBL_LENGTH LBL_ACTION + do + LL=${!L} + if [ "${#LL}" -gt "${LBL_MAXLENGTH}" ] + then + LBL_MAXLENGTH="${#LL}" + TCURRENT_PADDING="${LL}" + fi + done + TCURRENT_PADDING=${TCURRENT_PADDING//?/ } + # INIT done debug "${FUNCNAME}: Init done" } @@ -985,6 +999,9 @@ T_LASTLINE=$(( T_LINES - 1 )) T_LASTCOLUMN=$(( T_COLUMNS - 1 )) + # One line of T_COLUMNS space characters + printf -v T_EMPTYLINE "%${T_COLUMNS}s" + # Scroll area related settings TSCROLL_FIRST=10 TSCROLL_LAST=$(( T_LASTLINE - 2 )) @@ -1009,6 +1026,11 @@ HISTORY_FIELD_SIZE[1]=$(( ${UNIT} * ${HISTORY_FIELD_UNITS[1]} )) HISTORY_FIELD_SIZE[2]=$(( ${VAR_LINE} - ${HISTORY_FIELD_SIZE[0]} - ${HISTORY_FIELD_SIZE[1]} )) HISTORY_FIELD_SIZE[3]="6" + # Create the padds + HISTORY_FIELD_PADD[0]=${T_EMPTYLINE:0:${HISTORY_FIELD_SIZE[0]}} + HISTORY_FIELD_PADD[1]=${T_EMPTYLINE:0:${HISTORY_FIELD_SIZE[1]}} + HISTORY_FIELD_PADD[2]=${T_EMPTYLINE:0:${HISTORY_FIELD_SIZE[2]}} + HISTORY_FIELD_PADD[3]=${T_EMPTYLINE:0:${HISTORY_FIELD_SIZE[3]}} # Compute the current max line length TCURRENT_MAX=$(( ${T_COLUMNS} - 13 )) @@ -1053,28 +1075,20 @@ # Add the artist, if the field units are not null if [ "${HISTORY_FIELD_UNITS[0]}" != "0" ] then - S="${HISTORY_FIELD_SIZE[0]}" - printf -v FIELD " %-${S}s" "${LBL_ARTIST:0:$S}" - LINE="${LINE}${FIELD}" + LINE="${LINE} ${LBL_ARTIST}${HISTORY_FIELD_PADD[0]:${#LBL_ARTIST}}" fi # Add the album, if the field units are not null if [ "${HISTORY_FIELD_UNITS[1]}" != "0" ] then - S="${HISTORY_FIELD_SIZE[1]}" - printf -v FIELD " %-${S}s" "${LBL_ALBUM:0:$S}" - LINE="${LINE}${FIELD}" + LINE="${LINE} ${LBL_ALBUM}${HISTORY_FIELD_PADD[1]:${#LBL_ALBUM}}" fi # Add the track title - S="${HISTORY_FIELD_SIZE[2]}" - printf -v FIELD " %-${S}s" "${LBL_TRACK:0:$S}" - LINE="${LINE}${FIELD}" + LINE="${LINE} ${LBL_TRACK}${HISTORY_FIELD_PADD[2]:${#LBL_TRACK}}" # Add the track duration - S="${HISTORY_FIELD_SIZE[3]}" - printf -v FIELD " %${S}s " "${LBL_LENGTH:0:$S}" - LINE="${LINE}${FIELD}" + LINE="${LINE} ${HISTORY_FIELD_PADD[3]:${#LBL_LENGTH}}${LBL_LENGTH:0:6} " # Move the cursor and print tput cup 8 0 @@ -1158,36 +1172,29 @@ #----------------------------------------------------------------------------- function tui_current() { - local LINE - - printf -v LINE "${T_ATTR_BOLD}%7s${T_ATTR_NORMAL} : %s" "${LBL_ARTIST}" "${META_ARTIST:0:$TCURRENT_MAX}" tput cup 2 2 - echo -ne "${LINE}${T_EL}" + echo -ne "${T_ATTR_BOLD}${TCURRENT_PADDING:${#LBL_ARTIST}}${LBL_ARTIST}${T_ATTR_NORMAL} : ${META_ARTIST:0:$TCURRENT_MAX}${T_EL}" - printf -v LINE "${T_ATTR_BOLD}%7s${T_ATTR_NORMAL} : %s" "${LBL_TRACK}" "${META_TRACK:0:$TCURRENT_MAX}" tput cup 3 2 - echo -ne "${LINE}${T_EL}" + echo -ne "${T_ATTR_BOLD}${TCURRENT_PADDING:${#LBL_TRACK}}${LBL_TRACK}${T_ATTR_NORMAL} : ${META_TRACK:0:$TCURRENT_MAX}${T_EL}" - printf -v LINE "${T_ATTR_BOLD}%7s${T_ATTR_NORMAL} : %s" "${LBL_ALBUM}" "${META_ALBUM:0:$TCURRENT_MAX}" tput cup 4 2 - echo -ne "${LINE}${T_EL}" + echo -ne "${T_ATTR_BOLD}${TCURRENT_PADDING:${#LBL_ALBUM}}${LBL_ALBUM}${T_ATTR_NORMAL} : ${META_ALBUM:0:$TCURRENT_MAX}${T_EL}" - printf -v LINE "${T_ATTR_BOLD}%7s${T_ATTR_NORMAL} : %s" "${LBL_LENGTH}" "${META_MIN_SEC}" tput cup 5 2 - echo -ne "${LINE}${T_EL}" + echo -ne "${T_ATTR_BOLD}${TCURRENT_PADDING:${#LBL_LENGTH}}${LBL_LENGTH}${T_ATTR_NORMAL} : ${META_MIN_SEC:0:$TCURRENT_MAX}${T_EL}" - printf -v LINE "${T_ATTR_BOLD}%7s${T_ATTR_NORMAL} : %s" "${LBL_ACTION}" "${META_ACTION}" tput cup 6 2 - echo -ne "${LINE}${T_EL}" + echo -ne "${T_ATTR_BOLD}${TCURRENT_PADDING:${#LBL_ACTION}}${LBL_ACTION}${T_ATTR_NORMAL} : ${META_ACTION:0:$TCURRENT_MAX}${T_EL}" # Set the xterm title and save the now_playing file if [ "${META_STREAMING}" == "true" ] then set_term_title "${META_ARTIST} - ${META_TRACK}" save_nowplaying "${META_ARTIST} - ${META_TRACK}" - save_html "1" || tui_sbar "Error while creating the HTML file." + save_html "1" || tui_sbar $"Error while creating the HTML file." else - set_term_title "${PROG_TITLE}: Not streaming" + set_term_title $"Not streaming" save_nowplaying save_html fi @@ -1356,27 +1363,28 @@ # Add the artist, if the field units are not null if [ "${HISTORY_FIELD_UNITS[0]}" != "0" ] then - S="${HISTORY_FIELD_SIZE[0]}" - printf -v FIELD " %-${S}s" "${HISTORY_ARTIST[$1]:0:$S}" - LINE="${LINE}${FIELD}" + L="${HISTORY_FIELD_SIZE[0]}" + S="${HISTORY_ARTIST[$1]:0:$L}" + LINE="${LINE} ${S}${HISTORY_FIELD_PADD[0]:${#S}}" fi # Add the album, if the field units are not null if [ "${HISTORY_FIELD_UNITS[1]}" != "0" ] then - S="${HISTORY_FIELD_SIZE[1]}" - printf -v FIELD " %-${S}s" "${HISTORY_ALBUM[$1]:0:$S}" - LINE="${LINE}${FIELD}" + L="${HISTORY_FIELD_SIZE[1]}" + S="${HISTORY_ALBUM[$1]:0:$L}" + LINE="${LINE} ${S}${HISTORY_FIELD_PADD[1]:${#S}}" fi # Add the track title - S="${HISTORY_FIELD_SIZE[2]}" - printf -v FIELD " %-${S}s" "${HISTORY_TRACK[$1]:0:$S}" - LINE="${LINE}${FIELD}" + L="${HISTORY_FIELD_SIZE[2]}" + S="${HISTORY_TRACK[$1]:0:$L}" + LINE="${LINE} ${S}${HISTORY_FIELD_PADD[2]:${#S}}" # Add the track duration - printf -v FIELD " %6s " "${HISTORY_MIN_SEC[$1]}" - LINE="${LINE}${FIELD}" + L="${HISTORY_FIELD_SIZE[3]}" + S="${HISTORY_MIN_SEC[$1]:0:$L}" + LINE="${LINE} ${HISTORY_FIELD_PADD[3]:${#S}}${S} " # Output the line echo -n "${LINE}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-04-17 17:17:53
|
Revision: 230 http://lastbash.svn.sourceforge.net/lastbash/?rev=230&view=rev Author: cstroie Date: 2007-04-17 10:17:51 -0700 (Tue, 17 Apr 2007) Log Message: ----------- Some svn ignore properties set. Property Changed: ---------------- lastbash/ lastbash/po/ Property changes on: lastbash ___________________________________________________________________ Name: svn:ignore - lastbash.config *.1.ps *.1.html *.swp *.bak + lastbash.config *.1.ps *.1.html *.swp *.bak messages Property changes on: lastbash/po ___________________________________________________________________ Name: svn:ignore + *.swp *.bak lastbash.pot This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-04-17 17:15:30
|
Revision: 229 http://lastbash.svn.sourceforge.net/lastbash/?rev=229&view=rev Author: cstroie Date: 2007-04-17 10:15:27 -0700 (Tue, 17 Apr 2007) Log Message: ----------- Initial support for l10n. Modified Paths: -------------- lastbash/Makefile lastbash/lastbash Added Paths: ----------- lastbash/po/ lastbash/po/de.po lastbash/po/fr.po lastbash/po/header.pot lastbash/po/ro.po lastbash/po/ru.po Modified: lastbash/Makefile =================================================================== --- lastbash/Makefile 2007-03-26 15:41:01 UTC (rev 228) +++ lastbash/Makefile 2007-04-17 17:15:27 UTC (rev 229) @@ -4,7 +4,7 @@ # Project name and version name = lastbash -version = 0.3.2 +version = 0.3.3 # Targets proglist = lastbash @@ -23,6 +23,23 @@ datadir = $(DESTDIR)$(prefix)/share/$(name) srcdir = . +# Languages +languages = ro fr de ru + +# Translation catalogs, directories and files +po_dir = po +pot = $(po_dir)/$(name).pot +pot_header = $(po_dir)/header.pot + +po_files = $(addprefix $(po_dir)/, $(addsuffix .po, $(languages))) +mo_files = $(addprefix $(TEXTDOMAINDIR)/, $(addsuffix /$(CATEGORY)/$(TEXTDOMAIN).mo, $(languages))) +mo_dirs = $(addprefix $(TEXTDOMAINDIR)/, $(addsuffix /$(CATEGORY), $(languages))) + +# Localization settings +TEXTDOMAIN = $(name) +TEXTDOMAINDIR = messages +CATEGORY = LC_MESSAGES + # Tools MKDIR = mkdir INSTALL = install @@ -55,6 +72,34 @@ lastbash.config: lastbash.config.in $(SED) -e '/^HTML_TEMPLATE/s/@HTML_TEMPLATE@/$${HOME_DIR}\/lastbash_template.html/g' $< > $@ +# Create the pot file +pot: $(pot) + +$(po_dir)/%.pot: % $(pot_header) + cat $(pot_header) | \ + sed "/POT-Creation-Date:/s/DATE/`date "+%Y-%m-%d %H:%M%z"`/g" | \ + sed "/Project-Id-Version:/s/NAME-VERSION/$(name)-$(version)/g" > $@ + bash --dump-po-strings $< | msguniq >> $@ + +# Update the existing catalogs +po: $(po_files) + +$(po_dir)/%.po: $(pot) + test -f $@ && \ + msgmerge --update --backup=simple --suffix=.bak --force-po --no-wrap --sort-by-file $@ $< || \ + msginit -i $< -o $@ -l $* --no-translator --no-wrap + +# Make the mo files +mo: $(mo_dirs) $(mo_files) + +$(TEXTDOMAINDIR)/%/$(CATEGORY)/$(TEXTDOMAIN).mo: $(po_dir)/%.po + msgfmt --check --statistics -o $@ $< + +# Output directories for mo files +$(mo_dirs): + mkdir -p $@ + + # Install section install: config install_dirs install_prog install_conf install_man install_doc Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-03-26 15:41:01 UTC (rev 228) +++ lastbash/lastbash 2007-04-17 17:15:27 UTC (rev 229) @@ -37,8 +37,8 @@ # Program identification PROG_NAME="lastbash" PROG_TITLE="LastBASH" -PROG_DESC="Console player for Last.fm" -PROG_VER="0.3.2" +PROG_DESC=$"Console player for Last.fm" +PROG_VER="0.3.3" AUTHOR="Costin Stroie" AUTHOR_EMAIL="cs...@us..." @@ -90,12 +90,16 @@ # Set some shell options shopt -s nocasematch +# Localization stuff +TEXTDOMAIN="lastbash" +TEXTDOMAINDIR="messages" + # Labels -LBL_ARTIST="Artist" -LBL_ALBUM="Album" -LBL_TRACK="Title" -LBL_LENGTH="Length" -LBL_ACTION="Action" +LBL_ARTIST=$"Artist" +LBL_ALBUM=$"Album" +LBL_TRACK=$"Title" +LBL_LENGTH=$"Length" +LBL_ACTION=$"Action" # Home directory and configuration files #----------------------------------------------------------------------------- @@ -119,8 +123,10 @@ #----------------------------------------------------------------------------- function debug_header() { + local MSG + printf -v MSG " %s `date`" $"Debug session started on" debug "--------------------------------------------------------" - debug " Debug session started on `date`" + debug "${MSG}" debug "--------------------------------------------------------" } @@ -128,8 +134,10 @@ #----------------------------------------------------------------------------- function debug_footer() { + local MSG + printf -v MSG " %s `date`" $"Debug session ended on" debug "--------------------------------------------------------" - debug " Debug session ended on `date`" + debug "${MSG}" debug "--------------------------------------------------------" } @@ -226,7 +234,7 @@ fi # The first row contains the columns titles - [ -f "${HISTORY_CVS_FILE}" ] || echo "\"Artist\",\"Album\",\"Track\",\"Length\",\"Action\"" > "${HISTORY_CVS_FILE}" + [ -f "${HISTORY_CVS_FILE}" ] || echo "\"${LBL_ARTIST}\",\"${LBL_ALBUM}\",\"${LBL_TRACK}\",\"${LBL_LENGTH}\",\"${LBL_ACTION}\"" > "${HISTORY_CVS_FILE}" local ARTIST ALBUM TRACK DURATION ACTION @@ -271,13 +279,14 @@ #----------------------------------------------------------------------------- function init() { - local P MP + local P MP MSG # Check the bash version if [ "${BASH_VERSINFO[0]}" -lt "3" ] then - echo "Bash version 3 is needed." - debug "${FUNCNAME}: Unsupported Bash version: $BASH_VERSION" + echo $"Bash version 3 is needed." + printf -v MSG "%s: %s: %s" "${FUNCNAME}" $"Unsupported Bash version" "${BASH_VERSION}" + debug "${MSG}" exit 1 fi @@ -1123,7 +1132,7 @@ then MSG="${META_STATION}" else - MSG="Not streaming, please launch the player" + MSG=$"Not streaming, please launch the player" fi # Format the status line @@ -1388,7 +1397,7 @@ local PREV_ACTION="${META_ACTION}" # Set the status line - tui_sbar "Retrieving metadata..." + tui_sbar $"Retrieving metadata..." # Fetch the metadata if lastfm_metadata "${LASTFM_SESSION}" @@ -1432,7 +1441,7 @@ RET="0" else RET="1" - tui_sbar "Metadata retrieving failed" + tui_sbar $"Metadata retrieving failed" fi # Restore the status bar @@ -1450,7 +1459,7 @@ local RET # Set the status line - tui_sbar "Connecting to Last.fm..." + tui_sbar $"Connecting to Last.fm..." # Try connecting lastfm_connect "${LASTFM_USER}" "${LASTFM_PASS}" @@ -1466,20 +1475,20 @@ tui_lastfm_station "${LASTFM_STATION}" else # Update the status line - tui_sbar "Connected" + tui_sbar $"Connected" sleep 1 # Get the initial metadata tui_metadata fi elif [ "${RET}" == "2" ] then - tui_sbar "Last.fm session failed, check credentials" + tui_sbar $"Last.fm session failed, check credentials" elif [ "${RET}" == "3" ] then - tui_sbar "Player banned, contact the author" + tui_sbar $"Player banned, contact the author" else RET="1" - tui_sbar "Last.fm handshake failed" + tui_sbar $"Last.fm handshake failed" fi # Return the status code @@ -1495,7 +1504,7 @@ local RET ERRMSG # Set the status line - tui_sbar "Setting new Last.fm station..." + tui_sbar $"Setting new Last.fm station..." # Try changing the station lastfm_station "${LASTFM_SESSION}" "$1" Added: lastbash/po/de.po =================================================================== --- lastbash/po/de.po (rev 0) +++ lastbash/po/de.po 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,93 @@ +# Translation catalog for LastBASH +# Copyright (C) 2007 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: header.pot 29 2007-02-28 15:55:54Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: lastbash-0.3.3\n" +"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2007-04-17 20:10+0300\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: lastbash:102 +msgid "Action" +msgstr "Tätigkeit " + +#: lastbash:99 +msgid "Album" +msgstr "Album " + +#: lastbash:98 +msgid "Artist" +msgstr "Künstler " + +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "Schlagversion 3 ist erforderlich. " + +#: lastbash:1478 +msgid "Connected" +msgstr "Angeschlossen " + +#: lastbash:1462 +msgid "Connecting to Last.fm..." +msgstr "Anschließen an Last.fm… " + +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Konsole Spieler für Last.fm " + +#: lastbash:138 +msgid "Debug session ended on" +msgstr "Den Lernabschnitt ausprüfen, der an beendet wird " + +#: lastbash:127 +msgid "Debug session started on" +msgstr "Den Lernabschnitt ausprüfen, der an begonnen wird " + +#: lastbash:1491 +msgid "Last.fm handshake failed" +msgstr "Last.fm Händedruck fällt aus " + +#: lastbash:1485 +msgid "Last.fm session failed, check credentials" +msgstr "Last.fm Lernabschnitt fiel, überprüfung Bescheinigungen aus " + +#: lastbash:101 +msgid "Length" +msgstr "Länge " + +#: lastbash:1444 +msgid "Metadata retrieving failed" +msgstr "Metadatenzurückholen verlassen " + +#: lastbash:1135 +msgid "Not streaming, please launch the player" +msgstr "Nicht strömend, den Spieler bitte ausstoßen " + +#: lastbash:1488 +msgid "Player banned, contact the author" +msgstr "Der verbotene Spieler, treten mit dem Autor in Verbindung " + +#: lastbash:1400 +msgid "Retrieving metadata..." +msgstr "Metadaten zurückholen… " + +#: lastbash:1507 +msgid "Setting new Last.fm station..." +msgstr "Einstellung neue Last.fm Station… " + +#: lastbash:100 +msgid "Title" +msgstr "Titel " + +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Ungestützte Schlagversion " + Added: lastbash/po/fr.po =================================================================== --- lastbash/po/fr.po (rev 0) +++ lastbash/po/fr.po 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,93 @@ +# Translation catalog for LastBASH +# Copyright (C) 2007 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: header.pot 29 2007-02-28 15:55:54Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: lastbash-0.3.3\n" +"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2007-04-17 20:11+0300\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: lastbash:102 +msgid "Action" +msgstr "Action " + +#: lastbash:99 +msgid "Album" +msgstr "Album " + +#: lastbash:98 +msgid "Artist" +msgstr "Artiste " + +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "La version 3 de Bash est nécessaire." + +#: lastbash:1478 +msgid "Connected" +msgstr "Relié " + +#: lastbash:1462 +msgid "Connecting to Last.fm..." +msgstr "Se relier à Last.fm… " + +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Joueur de console pour Last.fm " + +#: lastbash:138 +msgid "Debug session ended on" +msgstr "Corriger la session finie dessus " + +#: lastbash:127 +msgid "Debug session started on" +msgstr "Corriger la session commencée dessus " + +#: lastbash:1491 +msgid "Last.fm handshake failed" +msgstr "La poignée de main de Last.fm échoue " + +#: lastbash:1485 +msgid "Last.fm session failed, check credentials" +msgstr "La session de Last.fm a échoué, des qualifications de contrôle " + +#: lastbash:101 +msgid "Length" +msgstr "Longueur " + +#: lastbash:1444 +msgid "Metadata retrieving failed" +msgstr "Recherche de méta-données échouée " + +#: lastbash:1135 +msgid "Not streaming, please launch the player" +msgstr "En ne coulant pas, lancer svp le joueur " + +#: lastbash:1488 +msgid "Player banned, contact the author" +msgstr "Le joueur interdit, contactent l'auteur " + +#: lastbash:1400 +msgid "Retrieving metadata..." +msgstr "Recherchant des méta-données… " + +#: lastbash:1507 +msgid "Setting new Last.fm station..." +msgstr "Plaçant la nouvelle station de Last.fm… " + +#: lastbash:100 +msgid "Title" +msgstr "Titre" + +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Version non soutenue de coup " + Added: lastbash/po/header.pot =================================================================== --- lastbash/po/header.pot (rev 0) +++ lastbash/po/header.pot 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,15 @@ +# Translation catalog for LastBASH +# Copyright (C) 2007 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: header.pot 29 2007-02-28 15:55:54Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: NAME-VERSION\n" +"POT-Creation-Date: DATE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + Added: lastbash/po/ro.po =================================================================== --- lastbash/po/ro.po (rev 0) +++ lastbash/po/ro.po 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,91 @@ +# Translation catalog for lastbash +# Copyright (C) 2006 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: ro.po 28 2007-02-28 15:55:29Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: subproc\n" +"POT-Creation-Date: 2007-04-17 19:57+0300\n" +"PO-Revision-Date: 2007-04-17 19:59+0300\n" +"Last-Translator: Costin Stroie <cs...@us...>\n" +"Language-Team: ro_RO\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: lastbash:40 +msgid "Console player for Last.fm" +msgstr "Player in consolă pentru Last.fm" + +#: lastbash:98 +msgid "Artist" +msgstr "Artist" + +#: lastbash:99 +msgid "Album" +msgstr "Album" + +#: lastbash:100 +msgid "Title" +msgstr "Titlu" + +#: lastbash:101 +msgid "Length" +msgstr "Durată" + +#: lastbash:102 +msgid "Action" +msgstr "Acţiune" + +#: lastbash:127 +msgid "Debug session started on" +msgstr "Sesiune de depanare iniţiată la" + +#: lastbash:138 +msgid "Debug session ended on" +msgstr "Sesiune de depanare încheiată la" + +#: lastbash:287 +msgid "Bash version 3 is needed." +msgstr "Este necesară versiunea Bash 3." + +#: lastbash:288 +msgid "Unsupported Bash version" +msgstr "Versiune Bash nesuportată" + +#: lastbash:1135 +msgid "Not streaming, please launch the player" +msgstr "Lansaţi playerul" + +#: lastbash:1400 +msgid "Retrieving metadata..." +msgstr "Descărcare metadata..." + +#: lastbash:1444 +msgid "Metadata retrieving failed" +msgstr "Decărcarea metadata a eşuat" + +#: lastbash:1462 +msgid "Connecting to Last.fm..." +msgstr "În conectare la Last.fm..." + +#: lastbash:1478 +msgid "Connected" +msgstr "Conectat" + +#: lastbash:1485 +msgid "Last.fm session failed, check credentials" +msgstr "Sesiunea Last.fm a eşuat, verificaţi datele de autentificare" + +#: lastbash:1488 +msgid "Player banned, contact the author" +msgstr "Playerul este interzis, contactaţi autorul" + +#: lastbash:1491 +msgid "Last.fm handshake failed" +msgstr "Negocierea Last.fm a eşuat" + +#: lastbash:1507 +msgid "Setting new Last.fm station..." +msgstr "Stabilim o nouă staţie Last.fm..." Added: lastbash/po/ru.po =================================================================== --- lastbash/po/ru.po (rev 0) +++ lastbash/po/ru.po 2007-04-17 17:15:27 UTC (rev 229) @@ -0,0 +1,112 @@ +# Translation catalog for LastBASH +# Copyright (C) 2007 Costin Stroie <cs...@us...> +# This file is distributed under the same license as the lastbash package. +# $Id: header.pot 29 2007-02-28 15:55:54Z cstroie $ +# vim: set ft=po nowrap nu enc=utf8: +msgid "" +msgstr "" +"Project-Id-Version: lastbash-0.3.3\n" +"POT-Creation-Date: 2007-04-17 20:02+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"PO-Revision-Date: 2007-04-17 20:12+0300\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: lastbash:102 +#, fuzzy +msgid "Action" +msgstr "Действий " + +#: lastbash:99 +#, fuzzy +msgid "Album" +msgstr " " + +#: lastbash:98 +#, fuzzy +msgid "Artist" +msgstr " " + +#: lastbash:287 +#, fuzzy +msgid "Bash version 3 is needed." +msgstr "Bash, версия 3 не требуется. " + +#: lastbash:1478 +#, fuzzy +msgid "Connected" +msgstr "Подключен " + +#: lastbash:1462 +#, fuzzy +msgid "Connecting to Last.fm..." +msgstr "Подключение к Last.fm. .. " + +#: lastbash:40 +#, fuzzy +msgid "Console player for Last.fm" +msgstr "Консоль игрока на Last.fm " + +#: lastbash:138 +#, fuzzy +msgid "Debug session ended on" +msgstr "Отладка сессия закончилась " + +#: lastbash:127 +#, fuzzy +msgid "Debug session started on" +msgstr "Отладка сессия началась " + +#: lastbash:1491 +#, fuzzy +msgid "Last.fm handshake failed" +msgstr "Last.fm не рукопожатие " + +#: lastbash:1485 +#, fuzzy +msgid "Last.fm session failed, check credentials" +msgstr "Last.fm не сессии, проверьте полномочия " + +#: lastbash:101 +#, fuzzy +msgid "Length" +msgstr " " + +#: lastbash:1444 +#, fuzzy +msgid "Metadata retrieving failed" +msgstr "Метаданные поиска не " + +#: lastbash:1135 +#, fuzzy +msgid "Not streaming, please launch the player" +msgstr "Не в потоковом режиме, можно начать игрок " + +#: lastbash:1488 +#, fuzzy +msgid "Player banned, contact the author" +msgstr "Игроку запрещен, связаться с автором " + +#: lastbash:1400 +#, fuzzy +msgid "Retrieving metadata..." +msgstr "Получение метаданных ... " + +#: lastbash:1507 +#, fuzzy +msgid "Setting new Last.fm station..." +msgstr "Установка новых Last.fm станции ... " + +#: lastbash:100 +#, fuzzy +msgid "Title" +msgstr " " + +#: lastbash:288 +#, fuzzy +msgid "Unsupported Bash version" +msgstr "Неподдерживаемая версия Bash " + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-26 15:41:03
|
Revision: 228 http://lastbash.svn.sourceforge.net/lastbash/?rev=228&view=rev Author: cstroie Date: 2007-03-26 08:41:01 -0700 (Mon, 26 Mar 2007) Log Message: ----------- Improved the sed stuff regarding html output. Modified Paths: -------------- lastbash/lastbash Modified: lastbash/lastbash =================================================================== --- lastbash/lastbash 2007-03-26 15:40:15 UTC (rev 227) +++ lastbash/lastbash 2007-03-26 15:41:01 UTC (rev 228) @@ -171,6 +171,8 @@ return fi + local RET + # Replace the placeholders in template # Placeholders: # @TITLE@ @COVER_URL@ @ARTIST_URL@ @ARTIST_NAME@ @TRACK_URL@ @LENGTH@ @@ -191,18 +193,21 @@ [ "${META_ALBUM_URL}" ] && ALBUM_URL="${META_ALBUM_URL}" || ARTIST_URL="#" [ "${META_STATION_URL}" ] && STATION_URL="${META_STATION_URL}" || ARTIST_URL="#" - cat "${HTML_TEMPLATE}" | \ - sed -e "/@TITLE@/s#@TITLE@#${ARTIST_NAME} - ${TRACK_NAME}#g" | \ - sed -e "/@COVER_URL@/s#@COVER_URL@#${COVER_URL}#g" | \ - sed -e "/@ARTIST_URL@/s#@ARTIST_URL@#${ARTIST_URL}#g" | \ - sed -e "/@ARTIST_NAME@/s#@ARTIST_NAME@#${ARTIST_NAME}#g" | \ - sed -e "/@TRACK_URL@/s#@TRACK_URL@#${TRACK_URL}#g" | \ - sed -e "/@TRACK_NAME@/s#@TRACK_NAME@#${TRACK_NAME}#g" | \ - sed -e "/@ALBUM_URL@/s#@ALBUM_URL@#${ALBUM_URL}#g" | \ - sed -e "/@ALBUM_NAME@/s#@ALBUM_NAME@#${ALBUM_NAME}#g" | \ - sed -e "/@STATION_URL@/s#@STATION_URL@#${STATION_URL}#g" | \ - sed -e "/@STATION_NAME@/s#@STATION_NAME@#${STATION_NAME}#g" | \ - sed -e "/@LENGTH@/s#@LENGTH@#${META_MIN_SEC}#g" > "${HTML_FILE}" + sed -e "/<?lastbash [^? \t]\+?>/s|<?lastbash TITLE?>|${ARTIST_NAME} - ${TRACK_NAME}|g; + s|<?lastbash COVER_URL?>|${COVER_URL}|g; + s|<?lastbash ARTIST_URL?>|${ARTIST_URL}|g; + s|<?lastbash ARTIST_NAME?>|${ARTIST_NAME}|g; + s|<?lastbash TRACK_URL?>|${TRACK_URL}|g; + s|<?lastbash TRACK_NAME?>|${TRACK_NAME}|g; + s|<?lastbash ALBUM_URL?>|${ALBUM_URL}|g; + s|<?lastbash ALBUM_NAME?>|${ALBUM_NAME}|g; + s|<?lastbash STATION_URL?>|${STATION_URL}|g; + s|<?lastbash STATION_NAME?>|${STATION_NAME}|g; + s|<?lastbash LENGTH?>|${META_MIN_SEC}|g" < "${HTML_TEMPLATE}" > "${HTML_FILE}" &2>/dev/null + + # Get the status code + RET=$? + return "${RET}" } # Function: Save the history in a CSV formatted file {{{1 @@ -1171,7 +1176,7 @@ then set_term_title "${META_ARTIST} - ${META_TRACK}" save_nowplaying "${META_ARTIST} - ${META_TRACK}" - save_html "1" + save_html "1" || tui_sbar "Error while creating the HTML file." else set_term_title "${PROG_TITLE}: Not streaming" save_nowplaying This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-26 15:40:22
|
Revision: 227 http://lastbash.svn.sourceforge.net/lastbash/?rev=227&view=rev Author: cstroie Date: 2007-03-26 08:40:15 -0700 (Mon, 26 Mar 2007) Log Message: ----------- Switched to xhtml. Modified Paths: -------------- lastbash/lastbash_template.html Modified: lastbash/lastbash_template.html =================================================================== --- lastbash/lastbash_template.html 2007-03-23 12:34:59 UTC (rev 226) +++ lastbash/lastbash_template.html 2007-03-26 15:40:15 UTC (rev 227) @@ -1,13 +1,16 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> +<?xml version="1.0" encoding="UTF-8"?> +<?xml-stylesheet href="#internalStyle" type="text/css"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> - <title>@TITLE@</title> - <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> - <meta name="author" content="Costin Stroie"> - <meta name="copyright" content="© 2007 Costin Stroie <cs...@us...>"> - <meta name="revision" content="$Id$"> - <meta http-equiv="refresh" content="30"> - <style type="text/css" media="screen"> + <title><?lastbash TITLE?></title> + <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> + <meta name="author" content="Costin Stroie"/> + <meta name="copyright" content="© 2007 Costin Stroie <cs...@us...>"/> + <meta name="revision" content="$Id$"/> + <meta http-equiv="refresh" content="30"/> + <style type="text/css" media="screen" id="internalStyle"> + <!-- html, body { margin: 0; padding: 0; @@ -104,9 +107,10 @@ table td#winbutton a:hover { background-color: #e0e0d0; } + --> </style> - <script language="JavaScript"> - <!-- + <script type="text/javascript"> + //<![CDATA[ function new_lastbash_window() { winLastBash = window.open(''+self.location, 'LastBash', 'width=520,height=190,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no'); return false @@ -120,41 +124,41 @@ } document.write(content); } - //--> + //]]> </script> </head> <body> <table> <tr> <td rowspan="7" class="cover"> - <img src="@COVER_URL@" height="160px" width="160px" alt="Album cover"> + <img src="<?lastbash COVER_URL?>" height="160px" width="160px" alt="Album cover"/> </td> <td colspan="2" class="header"><a href="http://lastbash.sourceforge.net" title="LastBASH homepage" target="_blank">LastBASH</a></td> </tr> <tr> <td class="label">Artist</td> - <td class="data"><a href="@ARTIST_URL@" title="Last.fm artist homepage" target="_blank">@ARTIST_NAME@</a></td> + <td class="data"><a href="<?lastbash ARTIST_URL?>" title="Last.fm artist homepage" target="_blank"><?lastbash ARTIST_NAME?></a></td> </tr> <tr> <td class="label">Track</td> - <td class="data"><a href="@TRACK_URL@" title="Last.fm track homepage" target="_blank">@TRACK_NAME@</a></td> + <td class="data"><a href="<?lastbash TRACK_URL?>" title="Last.fm track homepage" target="_blank"><?lastbash TRACK_NAME?></a></td> </tr> <tr> <td class="label">Album</td> - <td class="data"><a href="@ALBUM_URL@" title="Last.fm album homepage" target="_blank">@ALBUM_NAME@</a></td> + <td class="data"><a href="<?lastbash ALBUM_URL?>" title="Last.fm album homepage" target="_blank"><?lastbash ALBUM_NAME?></a></td> </tr> <tr> <td class="label">Length</td> - <td class="data">@LENGTH@</td> + <td class="data"><?lastbash LENGTH?></td> </tr> <tr> <td class="label">Station</td> - <td class="data"><a href="@STATION_URL@" title="Last.fm station homepage" target="_blank">@STATION_NAME@</a></td> + <td class="data"><a href="<?lastbash STATION_URL?>" title="Last.fm station homepage" target="_blank"><?lastbash STATION_NAME?></a></td> </tr> <tr> <td class="label"> </td> <td class="data" id="winbutton"> - <script language="JavaScript">write_button();</script> + <script type="text/javascript">write_button();</script> </td> </tr> </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-23 12:35:02
|
Revision: 226 http://lastbash.svn.sourceforge.net/lastbash/?rev=226&view=rev Author: cstroie Date: 2007-03-23 05:34:59 -0700 (Fri, 23 Mar 2007) Log Message: ----------- New package for release. Modified Paths: -------------- packaging/debian/changelog Modified: packaging/debian/changelog =================================================================== --- packaging/debian/changelog 2007-03-23 11:31:35 UTC (rev 225) +++ packaging/debian/changelog 2007-03-23 12:34:59 UTC (rev 226) @@ -1,3 +1,9 @@ +lastbash (0.3.2-4) unstable; urgency=low + + * LastBASH release: 0.3.2. + + -- Costin STROIE <cs...@us...> Mon, 23 Mar 2007 14:29:14 +0200 + lastbash (0.3.2-3) unstable; urgency=low * Trying to use debconf. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-23 11:31:36
|
Revision: 225 http://lastbash.svn.sourceforge.net/lastbash/?rev=225&view=rev Author: cstroie Date: 2007-03-23 04:31:35 -0700 (Fri, 23 Mar 2007) Log Message: ----------- Created the 0.3.2 release. Added Paths: ----------- releases/lastbash-0.3.2/ Removed Paths: ------------- releases/lastbash-0.3.2/lastbash.bash_completion Copied: releases/lastbash-0.3.2 (from rev 224, lastbash) Deleted: releases/lastbash-0.3.2/lastbash.bash_completion =================================================================== --- lastbash/lastbash.bash_completion 2007-03-23 11:27:54 UTC (rev 224) +++ releases/lastbash-0.3.2/lastbash.bash_completion 2007-03-23 11:31:35 UTC (rev 225) @@ -1,156 +0,0 @@ -# LastBASH bash_completion file -# Copyright (C) 2006 Costin Stroie <cs...@us...> -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -# -# $Id$ - -function _lastbash() -{ - local current prev list - - COMPREPLY=() - current=${COMP_WORDS[COMP_CWORD]} - prev=${COMP_WORDS[COMP_CWORD-1]} - cmd="${COMP_WORDS[0]}" - - #echo "CURRENT: $current" >> /tmp/comp - - if [ "$prev" == -g ] - then - list="$($cmd -g help)" - elif [ "$prev" == -p ] - then - list="$($cmd -p help)" - elif [ "$prev" == -c ] - then - list="SKIP BAN LOVE REFRESH RTP DISCOVERY DEBUG WINCH QUIT" - elif [ "$prev" == -r ] - then - list="" - else - if [[ "$current" == -* ]] - then - list="-a -A -d -g -p -r -u -c -v -h" - elif [[ "$current" =~ ^lastfm:// ]] - then - _lastbash_url - return 0 - else - list="lastfm://" - fi - fi - - if [ "$list" ] - then - COMPREPLY=( $(compgen -W "$list" -- $current) ) - else - COMPREPLY=() - fi - return 0 -} - -function _lastbash_url() -{ - local C L S - declare -a U - if [ "$current" == "lastfm://" ] - then - C="" - else - C="${current%/}" - C="${C##*/}" - fi - - #echo "C: ${C}" >> /tmp/comp - - S="${current##lastfm://}" - U=(${S//\// }) - #echo "U: ${U}" >> /tmp/comp - #echo "U#: ${#U[@]}" >> /tmp/comp - - if [ "${U[0]}" ] - then - case "${U[0]}" in - "globaltags") - if [ "${U[1]}" ] - then - L="" - else - L="rock metal progressive" - fi - ;; - "group") - if [ "${U[1]}" ] - then - L="" - else - L="LastBASH Linux Amarok" - fi - ;; - "user") - if [ "${U[1]}" ] - then - if [ "${U[2]}" ] - then - L="" - else - L="recommended neighbours personal loved" - fi - else - L="cstroie mscarlat dbordeanu" - fi - ;; - "usertags") - if [ "${U[1]}" ] - then - if [ "${U[2]}" ] - then - L="" - else - L="rock metal guitar" - fi - else - L="RJ" - fi - ;; - "artist") - if [ "${U[1]}" ] - then - if [ "${U[2]}" ] - then - L="" - else - L="similarartists fans" - fi - else - L="Rammstein Pink%20Floyd Yes" - fi - ;; - "play") - if [ "${U[1]}" ] - then - L="" - else - L="tracks" - fi - ;; - *) - L="globaltags group user usertags artist play" - ;; - esac - else - L="globaltags group user usertags artist play" - fi - #echo "L: ${L}" >> /tmp/comp - - - COMPREPLY=( $(compgen -W "$L" -- $C) ) - - #echo "COMPLETION: ${COMPREPLY[@]}" >> /tmp/comp - #COMPREPLY=() -} - -complete -F _lastbash lastbash This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-23 11:27:58
|
Revision: 224 http://lastbash.svn.sourceforge.net/lastbash/?rev=224&view=rev Author: cstroie Date: 2007-03-23 04:27:54 -0700 (Fri, 23 Mar 2007) Log Message: ----------- Prepared for 0.3.2 release. Modified Paths: -------------- lastbash/ChangeLog lastbash/README lastbash/lastbash.1 Modified: lastbash/ChangeLog =================================================================== --- lastbash/ChangeLog 2007-03-23 11:19:28 UTC (rev 223) +++ lastbash/ChangeLog 2007-03-23 11:27:54 UTC (rev 224) @@ -1,3 +1,17 @@ +v0.3.2 +* Show the external player status in LEDS area. +* Improved the player control and checking. +* Added support for mute and pause player commands. +* Disable local echo on normal operation. +* Use only GPL v2 (for the moment). +* Log the remote call commands. +* Disabled the read-based sleep function, fixing the key lock bug. +* Added experimental support of user input for station change. +* Added support for rxvt and screen title. +* Added experimental support for saving csv formatted history. +* Added experimental support for saving an HTML file displaying the + current track information. + v0.3.1 * Chech for data validity in command line. * Use getopts for parsing the command line parameters. Modified: lastbash/README =================================================================== --- lastbash/README 2007-03-23 11:19:28 UTC (rev 223) +++ lastbash/README 2007-03-23 11:27:54 UTC (rev 224) @@ -8,8 +8,10 @@ Basically, it is no more than a TUI frontend, written in Bash. It displays the information of the current playing track, keeps a history -of the played tracks and allows the user to perform some actions on the -current track, such as love, skip or ban. +of the played tracks and allows the user to select the desired station +and to perform some actions on the current track, such as love, skip or +ban. It can also create a html file containing the track information and +album cover. To listen to Last.fm, you can use any player capable of mp3 streaming (such as MPlayer, mpg123, XMMS and so on) by opening the M3U playlist @@ -23,7 +25,8 @@ Features ======== -LastBASH is a console player for Last.fm. Even beta, it is quite usable. +LastBASH is a console player for Last.fm. Even if it is beta version, it +is quite usable. Its purpose is to offer a simple interface to Last.fm services, to allow you to listen to the streams while you are working in console. Or, @@ -35,14 +38,17 @@ * retrieves the metadata of the current playing track and displays it (artist, album, track name, track duration) * keeps a history of last played tracks -* allows you to change the Last.fm station * allows you to control the Last.fm station, by issuing the 'love', 'skip' and 'ban' commands +* allows you to change the Last.fm station based on tags, group, + neighbours, recommendations, similar artists, fans or by directly + typing the full url * optionally, it can run a backend player (such as MPlayer or mpg123), which you can control through the same interface, or lets you choose any external player you wish (capable of playing mp3 streams), such as XMMS, Rhythmbox or even Amarok, if you feel to * remote control (send commands and station changing) +* creates a html file displaying the current track information * easy integration with web browsers Modified: lastbash/lastbash.1 =================================================================== --- lastbash/lastbash.1 2007-03-23 11:19:28 UTC (rev 223) +++ lastbash/lastbash.1 2007-03-23 11:27:54 UTC (rev 224) @@ -5,7 +5,7 @@ .\" .\" $Id$ .\" -.TH "lastbash" "1" "12 Dec 2006" "LastBASH" "Multimedia" +.TH "lastbash" "1" "23 Mar 2007" "LastBASH" "Multimedia" .SH "NAME" lastbash \- Console player for Last.fm .SH "SYNOPSIS" @@ -16,7 +16,8 @@ LastBASH tries to find its place among the other Last.fm players, filling this gap: the missing console player. .PP Basically, it is no more than a TUI frontend, written in Bash. -It displays the information of the current playing track, keeps a history of the played tracks and allows the user to perform some actions on the current track, such as love, skip or ban. +It displays the information of the current playing track, keeps a history of the played tracks and allows the user to select the desired station and to perform some actions on the current track, such as love, skip or ban. +It can also create a html file containing the track information and album cover. .SH "OPTIONS" .TP .B -a @@ -186,20 +187,20 @@ about:config .fi .PP -Right click and select New > String . As name type the next string and press OK. +Right click and select \fINew > String\fR. For \fBname\fR type the next string and press OK. .PP .nf network.protocol-handler.app.lastfm .fi .PP -As value type the full path to the LastBASH programs, something like this one. +For \fBvalue\fR type the full path to the LastBASH program, something like this one. .PP .nf /usr/bin/lastbash .fi .PP Now, go to Last.fm and click any \fIlastfm://\fR url. -This will launch a second instance of the program and pass to the first one the new station. +This will launch a second instance of the program, which will connect to the first one and will pass it the new station name. .SH "LAST.FM" This is shameless self-promotion, I know. You can find me on Last.fm as \fIcstroie\fR and, if you like this player and want to share your experience, you can join the \fILastBASH\fR group and tell others about it. @@ -214,5 +215,7 @@ .SH "SEE ALSO" LastBASH website at: <http://lastbash.sourceforge.net> .br +Author's profile at Last.fm: <http://www.last.fm/user/cstroie> +.br LastBASH group at Last.fm: <http://www.last.fm/group/LastBASH> .\" vim: set ft=nroff nowrap nu: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-23 11:19:29
|
Revision: 223 http://lastbash.svn.sourceforge.net/lastbash/?rev=223&view=rev Author: cstroie Date: 2007-03-23 04:19:28 -0700 (Fri, 23 Mar 2007) Log Message: ----------- Reformulated. Modified Paths: -------------- blis_pages/Features Modified: blis_pages/Features =================================================================== --- blis_pages/Features 2007-03-23 11:18:07 UTC (rev 222) +++ blis_pages/Features 2007-03-23 11:19:28 UTC (rev 223) @@ -18,7 +18,7 @@ * allows you to change the Last.fm station based on ''tags'', ''group'', ''neighbours'', ''recommendations'', ''similar artists'', ''fans'' or by directly typing the full url * optionally, it can run a backend player (such as MPlayer or mpg123), which you can control through the same interface, or lets you choose any external player you wish (capable of playing mp3 streams), such as XMMS, Rhythmbox or even Amarok, if you feel to * remote control (send commands and station changing) -* creates a html file reflecting the [[Screenshots | current track data]] +* creates a html file displaying the [[Screenshots | current track information]] * easy integration with web browsers = Internal stuff = This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-23 11:18:08
|
Revision: 222 http://lastbash.svn.sourceforge.net/lastbash/?rev=222&view=rev Author: cstroie Date: 2007-03-23 04:18:07 -0700 (Fri, 23 Mar 2007) Log Message: ----------- Removed on duplicated line. Modified Paths: -------------- blis_pages/Features Modified: blis_pages/Features =================================================================== --- blis_pages/Features 2007-03-23 11:11:42 UTC (rev 221) +++ blis_pages/Features 2007-03-23 11:18:07 UTC (rev 222) @@ -14,7 +14,6 @@ * authentication using the md5 password encryption * retrieves the metadata of the current playing track and displays it (artist, album, track name, track duration) * keeps a history of last played tracks -* allows you to change the Last.fm station * allows you to control the Last.fm station, by issuing the ''love'', ''skip'' and ''ban'' commands * allows you to change the Last.fm station based on ''tags'', ''group'', ''neighbours'', ''recommendations'', ''similar artists'', ''fans'' or by directly typing the full url * optionally, it can run a backend player (such as MPlayer or mpg123), which you can control through the same interface, or lets you choose any external player you wish (capable of playing mp3 streams), such as XMMS, Rhythmbox or even Amarok, if you feel to This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-23 11:11:42
|
Revision: 221 http://lastbash.svn.sourceforge.net/lastbash/?rev=221&view=rev Author: cstroie Date: 2007-03-23 04:11:42 -0700 (Fri, 23 Mar 2007) Log Message: ----------- Fixed the keybindings. Modified Paths: -------------- blis_pages/Usage Modified: blis_pages/Usage =================================================================== --- blis_pages/Usage 2007-03-23 11:10:38 UTC (rev 220) +++ blis_pages/Usage 2007-03-23 11:11:42 UTC (rev 221) @@ -92,9 +92,9 @@ :u:Enter new Last.fm URL to tune into. :t:Change the station by entering ''global tags''. :g:Change to some ''group'' station. -:g:Change to the ''neighbours'' station. -:g:Change to the ''recommended'' station. -:g:Change to the ''similar artists'' station. +:n:Change to the ''neighbours'' station. +:c:Change to the ''recommended'' station. +:a:Change to the ''similar artists'' station. :f:Change to the ''fans'' station. :^D:Toggle Debug mode :^L:Redraw the interface This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-23 11:10:42
|
Revision: 220 http://lastbash.svn.sourceforge.net/lastbash/?rev=220&view=rev Author: cstroie Date: 2007-03-23 04:10:38 -0700 (Fri, 23 Mar 2007) Log Message: ----------- Usage updated Modified Paths: -------------- blis_pages/Usage Modified: blis_pages/Usage =================================================================== --- blis_pages/Usage 2007-03-23 10:50:34 UTC (rev 219) +++ blis_pages/Usage 2007-03-23 11:10:38 UTC (rev 220) @@ -67,16 +67,16 @@ about:config Right click and select ''New > String ''. -As name type the next string and press '''OK'''. +For '''name''' type the next string and press '''OK'''. network.protocol-handler.app.lastfm -As value type the full path to the LastBASH programs, something like this one. +For '''value''' type the full path to the LastBASH program, something like this one. /usr/bin/lastbash Now, go to [http://www.last.fm|Last.fm] and click any ''lastfm://'' url. -This will launch a second instance of the program and pass to the first one the new station. +This will launch a second instance of the program, which will connect to the first one and will pass it the new station name. = Key bindings = @@ -89,6 +89,13 @@ :r:Refresh track metadata (refresh is automatic, but if you need to, you can use this key to force a refresh) :p:Toggle ''"Record to Profile"'' (the '''P''' led will change status) :d:Toggle ''"Discovery mode"'' (the '''D''' led will change status) +:u:Enter new Last.fm URL to tune into. +:t:Change the station by entering ''global tags''. +:g:Change to some ''group'' station. +:g:Change to the ''neighbours'' station. +:g:Change to the ''recommended'' station. +:g:Change to the ''similar artists'' station. +:f:Change to the ''fans'' station. :^D:Toggle Debug mode :^L:Redraw the interface :^S:Toggle history scrolling direction This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <cs...@us...> - 2007-03-23 10:50:37
|
Revision: 219 http://lastbash.svn.sourceforge.net/lastbash/?rev=219&view=rev Author: cstroie Date: 2007-03-23 03:50:34 -0700 (Fri, 23 Mar 2007) Log Message: ----------- Full-size image link fixed. Modified Paths: -------------- blis_pages/Screenshots Modified: blis_pages/Screenshots =================================================================== --- blis_pages/Screenshots 2007-03-23 10:49:43 UTC (rev 218) +++ blis_pages/Screenshots 2007-03-23 10:50:34 UTC (rev 219) @@ -16,7 +16,7 @@ The HTMl file displaying the track information, links and album cover. -Click [ /blis/images/lastbash-0.3.2.png | here ] for full-size image. +Click [ /blis/images/lastbash-0.3.2-html.png | here ] for full-size image. == Version 0.2.4 == This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |