Controlando o XMMS a partir do celular

Já ouviram falar em Bemused? Creio que não, mas este pequeno software tem uma funcionalidade muito interessante e divertida. Com ele você consegue ter controle total sobre o seu XMMS a partir de um celular.

[ Hits: 17.383 ]

Por: Peterson em 20/07/2006


Baixando, instalando e utilizando o Bemused



O Bemused pode ser baixado nos links:
Descompactando o primeiro arquivo:

$ unzip bemused-s60-full-1.73.zip
Archive: bemused-s60-full-1.73.zip
inflating: bemused_full.sis
inflating: BemusedServer.exe
inflating: README.txt
inflating: ChangeLog.txt

Destes arquivos, o único que vamos utilizar é o bemused_full.sis. Envie este arquivo para o celular, este é o cliente responsável por comunicar com o bemusedserver.

Não vou entrar em detalhes sobre o processo de instalação deste software no celular, mesmo porque o processo é muito tranqüilo, como costumamos dizer, "next -> next -> finish".

Descompactando o segundo arquivo:

$ tar zxvf bemusedlinuxserver-1_73.tar.gz
./bemusedlinuxserver1.73/
./bemusedlinuxserver1.73/todo
./bemusedlinuxserver1.73/bemused-bookmarks
./bemusedlinuxserver1.73/copying
./bemusedlinuxserver1.73/Makefile
./bemusedlinuxserver1.73/main.cpp
./bemusedlinuxserver1.73/affix-docs/
./bemusedlinuxserver1.73/affix-docs/nokia7650.jpg
./bemusedlinuxserver1.73/affix-docs/ar01s02.html
./bemusedlinuxserver1.73/affix-docs/ar01s03.html
./bemusedlinuxserver1.73/affix-docs/bemused.txt
./bemusedlinuxserver1.73/affix-docs/index.html
./bemusedlinuxserver1.73/readme
./bemusedlinuxserver1.73/bemused.conf
./bemusedlinuxserver1.73/authors
./bemusedlinuxserver1.73/readme.affix
./bemusedlinuxserver1.73/BemusedServerDlg.h
./bemusedlinuxserver1.73/ChangeLog
./bemusedlinuxserver1.73/BemusedServerDlg.cpp
./bemusedlinuxserver1.73/Makefile.affix
./bemusedlinuxserver1.73/bemusedlinuxserver.lsm

Estamos quase lá!

Agora vamos para o diretório que acabou de ser criado:

$ cd bemusedlinuxserver1.73

Certifique-se de que o seu celular está sendo encontrado pelo PC com o seguinte comando:

$ sudo hcitool scan
Scanning ...
00:0E:6C:5D:2C:A9       Nokia 3660

Se estiver tudo ok, você deverá ver algo parecido como mostrado acima.

E agora estamos prontos para instalar o bemused.

$ sudo make install

Edite o arquivo /etc/bemused.conf e altere a linha:

mp3dir=/home/danielw/mp3

para o path correto dos seus arquivos mp3.

Agora start o bemusedserver com o comando:

$ sudo /usr/bin/bemusedlinuxserver -d
  • -d = permite iniciar o bemused como daemon.

Prontinho, abra o cliente que você instalou no celular e comece a controlar seu XMMS remotamente. Você verá que consegue ter controle total sobre o seu XMMS e dependendo das permissões do seu usuário, você vai poder até desligar o PC remotamente.

Página anterior    

Páginas do artigo
   1. Introdução
   2. Pré-requisitos
   3. Baixando, instalando e utilizando o Bemused
Outros artigos deste autor
Nenhum artigo encontrado.
Leitura recomendada

Atualizando o Firefox mantendo os plugins instalados

Instalando EpiInfo 6.0.4d no Slackware 10.2

Instalando o Gnome-2.20.3 no Slackware 12 usando o Gslapt

Crie um espelho (mirror) Debian em sua máquina

Compilando o p7zip-desktop no Ubuntu e Linux Mint

  
Comentários
[1] Comentário enviado por gabrihell em 20/07/2006 - 00:57h

Muito bom! Artigos assim que o site precisa, coisa interessante :P

[2] Comentário enviado por leaf em 20/07/2006 - 01:50h

É verdade, muito bom ...
Mas isso é mais pra vc zuar, pros amigos hehehehe ...
Uma coisa que eu acho q vc esqueceu de dizer, isso é pago?
Pq tem outros serviços que vc controla pelo celula tbm, e é pago ... aí nao vira muito neh ;dd

Flws ... até

[3] Comentário enviado por marrento em 20/07/2006 - 03:39h

fantástico! tudo o que sempre quis: poder discar pelo meu celular para baixar o volume da música ao invés de usar o irritante slider de volume...

oh crap...

[4] Comentário enviado por removido em 20/07/2006 - 08:09h

espero que agora o autor do bemused possa fazer uma adaptação para infra-vermelho pelo menos pois aqui no brasil bluetooth ainda não é muito popular, principalmente pela diferença de preço de um celular que suporte esta tecnologia.

Este artigo é uma gde novidade e o autor está de parabéns pela sua originalidade!!!

Votei 10!

[5] Comentário enviado por fisdiego em 20/07/2006 - 11:44h

Ainda não testei, tenho um N-gage com Synbian OS e creio que vai dar tudo certo, gostei muito deste artigo.Vc está de parabéns

[6] Comentário enviado por dark_slack em 20/07/2006 - 13:38h

esse software so serve para celulares Nókia?

[7] Comentário enviado por dark_slack em 20/07/2006 - 13:44h

deu erro aqui. o q pode ser?

make install
g++ -o bemusedlinuxserver -I/usr/include/xmms -I./ -lxmms -lbluetooth `gtk-config --libs --cflags` main.cpp BemusedServerDlg.cpp
In file included from BemusedServerDlg.cpp:49:
/usr/include/xmms/xmmsctrl.h:23:18: glib.h: Arquivo ou diretório não encontrado
In file included from BemusedServerDlg.cpp:49:
/usr/include/xmms/xmmsctrl.h:29: error: `gint' does not name a type
/usr/include/xmms/xmmsctrl.h:30: error: variable or field `xmms_remote_playlist' declared void
/usr/include/xmms/xmmsctrl.h:30: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:30: error: `gchar' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:30: error: `list' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:30: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:30: error: `gboolean' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:30: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:31: error: `gint' does not name a type
/usr/include/xmms/xmmsctrl.h:32: error: variable or field `xmms_remote_playlist_add' declared void
/usr/include/xmms/xmmsctrl.h:32: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:32: error: `GList' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:32: error: `list' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:32: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:33: error: variable or field `xmms_remote_playlist_delete' declared void
/usr/include/xmms/xmmsctrl.h:33: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:33: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:33: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:34: error: variable or field `xmms_remote_play' declared void
/usr/include/xmms/xmmsctrl.h:34: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:35: error: variable or field `xmms_remote_pause' declared void
/usr/include/xmms/xmmsctrl.h:35: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:36: error: variable or field `xmms_remote_stop' declared void
/usr/include/xmms/xmmsctrl.h:36: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:37: error: `gboolean' does not name a type
/usr/include/xmms/xmmsctrl.h:38: error: `gboolean' does not name a type
/usr/include/xmms/xmmsctrl.h:39: error: `gint' does not name a type
/usr/include/xmms/xmmsctrl.h:40: error: variable or field `xmms_remote_set_playlist_pos' declared void
/usr/include/xmms/xmmsctrl.h:40: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:40: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:40: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:41: error: `gint' does not name a type
/usr/include/xmms/xmmsctrl.h:42: error: variable or field `xmms_remote_playlist_clear' declared void
/usr/include/xmms/xmmsctrl.h:42: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:43: error: `gint' does not name a type
/usr/include/xmms/xmmsctrl.h:44: error: variable or field `xmms_remote_jump_to_time' declared void
/usr/include/xmms/xmmsctrl.h:44: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:44: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:44: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:45: error: variable or field `xmms_remote_get_volume' declared void
/usr/include/xmms/xmmsctrl.h:45: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:45: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:45: error: `vl' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:45: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:45: error: `vr' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:45: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:46: error: `gint' does not name a type
/usr/include/xmms/xmmsctrl.h:47: error: `gint' does not name a type
/usr/include/xmms/xmmsctrl.h:48: error: variable or field `xmms_remote_set_volume' declared void
/usr/include/xmms/xmmsctrl.h:48: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:48: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:48: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:48: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:49: error: variable or field `xmms_remote_set_main_volume' declared void
/usr/include/xmms/xmmsctrl.h:49: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:49: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:49: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:50: error: variable or field `xmms_remote_set_balance' declared void
/usr/include/xmms/xmmsctrl.h:50: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:50: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:50: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:51: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/xmms/xmmsctrl.h:52: error: variable or field `xmms_remote_set_skin' declared void
/usr/include/xmms/xmmsctrl.h:52: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:52: error: `gchar' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:52: error: `skinfile' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:52: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:53: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/xmms/xmmsctrl.h:54: error: expected constructor, destructor, or type conversion before '*' token
/usr/include/xmms/xmmsctrl.h:55: error: `gint' does not name a type
/usr/include/xmms/xmmsctrl.h:56: error: variable or field `xmms_remote_get_info' declared void
/usr/include/xmms/xmmsctrl.h:56: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:56: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:56: error: `rate' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:56: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:56: error: `freq' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:56: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:56: error: `nch' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:56: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:57: error: variable or field `xmms_remote_main_win_toggle' declared void
/usr/include/xmms/xmmsctrl.h:57: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:57: error: `gboolean' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:57: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:58: error: variable or field `xmms_remote_pl_win_toggle' declared void
/usr/include/xmms/xmmsctrl.h:58: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:58: error: `gboolean' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:58: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:59: error: variable or field `xmms_remote_eq_win_toggle' declared void
/usr/include/xmms/xmmsctrl.h:59: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:59: error: `gboolean' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:59: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:60: error: `gboolean' does not name a type
/usr/include/xmms/xmmsctrl.h:61: error: `gboolean' does not name a type
/usr/include/xmms/xmmsctrl.h:62: error: `gboolean' does not name a type
/usr/include/xmms/xmmsctrl.h:63: error: variable or field `xmms_remote_show_prefs_box' declared void
/usr/include/xmms/xmmsctrl.h:63: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:64: error: variable or field `xmms_remote_toggle_aot' declared void
/usr/include/xmms/xmmsctrl.h:64: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:64: error: `gboolean' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:64: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:65: error: variable or field `xmms_remote_eject' declared void
/usr/include/xmms/xmmsctrl.h:65: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:66: error: variable or field `xmms_remote_playlist_prev' declared void
/usr/include/xmms/xmmsctrl.h:66: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:67: error: variable or field `xmms_remote_playlist_next' declared void
/usr/include/xmms/xmmsctrl.h:67: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:68: error: variable or field `xmms_remote_playlist_add_url_string' declared void
/usr/include/xmms/xmmsctrl.h:68: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:68: error: `gchar' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:68: error: `string' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:68: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:69: error: `gboolean' does not name a type
/usr/include/xmms/xmmsctrl.h:70: error: variable or field `xmms_remote_toggle_repeat' declared void
/usr/include/xmms/xmmsctrl.h:70: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:71: error: variable or field `xmms_remote_toggle_shuffle' declared void
/usr/include/xmms/xmmsctrl.h:71: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:72: error: `gboolean' does not name a type
/usr/include/xmms/xmmsctrl.h:73: error: `gboolean' does not name a type
/usr/include/xmms/xmmsctrl.h:74: error: variable or field `xmms_remote_get_eq' declared void
/usr/include/xmms/xmmsctrl.h:74: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:74: error: `gfloat' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:74: error: `preamp' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:74: error: `gfloat' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:74: error: `bands' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:74: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:75: error: `gfloat' does not name a type
/usr/include/xmms/xmmsctrl.h:76: error: `gfloat' does not name a type
/usr/include/xmms/xmmsctrl.h:77: error: variable or field `xmms_remote_set_eq' declared void
/usr/include/xmms/xmmsctrl.h:77: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:77: error: `gfloat' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:77: error: `gfloat' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:77: error: `bands' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:77: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:78: error: variable or field `xmms_remote_set_eq_preamp' declared void
/usr/include/xmms/xmmsctrl.h:78: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:78: error: `gfloat' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:78: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:79: error: variable or field `xmms_remote_set_eq_band' declared void
/usr/include/xmms/xmmsctrl.h:79: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:79: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:79: error: `gfloat' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:79: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:81: error: variable or field `xmms_remote_quit' declared void
/usr/include/xmms/xmmsctrl.h:81: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:83: error: variable or field `xmms_remote_play_pause' declared void
/usr/include/xmms/xmmsctrl.h:83: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:84: error: variable or field `xmms_remote_playlist_ins_url_string' declared void
/usr/include/xmms/xmmsctrl.h:84: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:84: error: `gchar' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:84: error: `string' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:84: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:84: error: initializer expression list treated as compound expression
/usr/include/xmms/xmmsctrl.h:92: error: variable or field `xmms_remote_play_files' declared void
/usr/include/xmms/xmmsctrl.h:92: error: `gint' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:92: error: `GList' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:92: error: `list' was not declared in this scope
/usr/include/xmms/xmmsctrl.h:92: error: initializer expression list treated as compound expression
BemusedServerDlg.cpp: In member function `bool CBemusedServerDlg::CheckWinamp(const char*)':
BemusedServerDlg.cpp:607: error: `xmms_remote_is_running' was not declared in this scope
BemusedServerDlg.cpp:616: error: `xmms_remote_is_running' was not declared in this scope
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::FadeOut()':
BemusedServerDlg.cpp:624: error: `xmms_remote_get_main_volume' was not declared in this scope
BemusedServerDlg.cpp:630: error: `xmms_remote_set_main_volume' cannot be used as a function
BemusedServerDlg.cpp:633: error: `xmms_remote_set_main_volume' cannot be used as a function
BemusedServerDlg.cpp:639: error: `xmms_remote_set_main_volume' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::WriteDetailedInfoToPhone()':
BemusedServerDlg.cpp:653: error: `xmms_remote_get_info' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::WriteInfoToPhone()':
BemusedServerDlg.cpp:701: error: `xmms_remote_get_playlist_pos' was not declared in this scope
BemusedServerDlg.cpp:701: error: `xmms_remote_get_playlist_time' was not declared in this scope
BemusedServerDlg.cpp:710: error: `xmms_remote_is_playing' was not declared in this scope
BemusedServerDlg.cpp:711: error: `xmms_remote_is_paused' was not declared in this scope
BemusedServerDlg.cpp:714: error: `xmms_remote_get_output_time' was not declared in this scope
BemusedServerDlg.cpp:722: error: `xmms_remote_is_repeat' was not declared in this scope
BemusedServerDlg.cpp:723: error: `xmms_remote_is_shuffle' was not declared in this scope
BemusedServerDlg.cpp:732: error: `xmms_remote_get_playlist_pos' was not declared in this scope
BemusedServerDlg.cpp:732: error: `xmms_remote_get_playlist_title' was not declared in this scope
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::WriteInf2ToPhone()':
BemusedServerDlg.cpp:777: error: `xmms_remote_get_playlist_pos' was not declared in this scope
BemusedServerDlg.cpp:777: error: `xmms_remote_get_playlist_time' was not declared in this scope
BemusedServerDlg.cpp:786: error: `xmms_remote_is_playing' was not declared in this scope
BemusedServerDlg.cpp:787: error: `xmms_remote_is_paused' was not declared in this scope
BemusedServerDlg.cpp:790: error: `xmms_remote_get_output_time' was not declared in this scope
BemusedServerDlg.cpp:798: error: `xmms_remote_is_repeat' was not declared in this scope
BemusedServerDlg.cpp:799: error: `xmms_remote_is_shuffle' was not declared in this scope
BemusedServerDlg.cpp:808: error: `xmms_remote_get_playlist_pos' was not declared in this scope
BemusedServerDlg.cpp:808: error: `xmms_remote_get_playlist_title' was not declared in this scope
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::SetSeek()':
BemusedServerDlg.cpp:861: error: `xmms_remote_jump_to_time' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::GetVolume()':
BemusedServerDlg.cpp:869: error: `xmms_remote_get_main_volume' was not declared in this scope
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::RemoveAllFromPlaylist()':
BemusedServerDlg.cpp:897: error: `xmms_remote_stop' cannot be used as a function
BemusedServerDlg.cpp:898: error: `xmms_remote_playlist_clear' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::SelectInPlaylist()':
BemusedServerDlg.cpp:915: error: `xmms_remote_set_playlist_pos' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::PlayFile(bool)':
BemusedServerDlg.cpp:990: error: `xmms_remote_playlist_clear' cannot be used as a function
BemusedServerDlg.cpp:994: error: `GList' was not declared in this scope
BemusedServerDlg.cpp:994: error: `list' was not declared in this scope
BemusedServerDlg.cpp:995: error: `gchar' was not declared in this scope
BemusedServerDlg.cpp:995: error: expected primary-expression before ')' token
BemusedServerDlg.cpp:995: error: `g_strdup' was not declared in this scope
BemusedServerDlg.cpp:995: error: `g_list_append' was not declared in this scope
BemusedServerDlg.cpp:996: error: `xmms_remote_playlist_add' cannot be used as a function
BemusedServerDlg.cpp:997: error: `g_list_free' was not declared in this scope
BemusedServerDlg.cpp:1002: error: `xmms_remote_play' cannot be used as a function
BemusedServerDlg.cpp:1014: error: `xmms_remote_get_playlist_pos' was not declared in this scope
BemusedServerDlg.cpp:1014: error: `xmms_remote_get_playlist_time' was not declared in this scope
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::SetVolume()':
BemusedServerDlg.cpp:1146: error: `xmms_remote_set_main_volume' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::Play()':
BemusedServerDlg.cpp:1153: error: `xmms_remote_get_playlist_length' was not declared in this scope
BemusedServerDlg.cpp:1155: error: `xmms_remote_play' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::Stop(bool)':
BemusedServerDlg.cpp:1167: error: `xmms_remote_stop' cannot be used as a function
BemusedServerDlg.cpp:1169: error: `xmms_remote_stop' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::Pause()':
BemusedServerDlg.cpp:1176: error: `xmms_remote_pause' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::NextTrack()':
BemusedServerDlg.cpp:1182: error: `xmms_remote_playlist_next' cannot be used as a function
BemusedServerDlg.cpp:1189: error: `xmms_remote_get_playlist_pos' was not declared in this scope
BemusedServerDlg.cpp:1189: error: `xmms_remote_get_playlist_time' was not declared in this scope
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::PreviousTrack()':
BemusedServerDlg.cpp:1198: error: `xmms_remote_playlist_prev' cannot be used as a function
BemusedServerDlg.cpp:1205: error: `xmms_remote_get_playlist_pos' was not declared in this scope
BemusedServerDlg.cpp:1205: error: `xmms_remote_get_playlist_time' was not declared in this scope
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::FastForward()':
BemusedServerDlg.cpp:1213: error: `xmms_remote_get_output_time' was not declared in this scope
BemusedServerDlg.cpp:1214: error: `xmms_remote_jump_to_time' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::Rewind()':
BemusedServerDlg.cpp:1228: error: `xmms_remote_get_output_time' was not declared in this scope
BemusedServerDlg.cpp:1231: error: `xmms_remote_jump_to_time' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::Shuffle()':
BemusedServerDlg.cpp:1248: error: `xmms_remote_is_shuffle' was not declared in this scope
BemusedServerDlg.cpp:1248: error: `xmms_remote_toggle_shuffle' cannot be used as a function
BemusedServerDlg.cpp:1251: error: `xmms_remote_is_shuffle' was not declared in this scope
BemusedServerDlg.cpp:1251: error: `xmms_remote_toggle_shuffle' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::Repeat()':
BemusedServerDlg.cpp:1270: error: `xmms_remote_is_repeat' was not declared in this scope
BemusedServerDlg.cpp:1270: error: `xmms_remote_toggle_repeat' cannot be used as a function
BemusedServerDlg.cpp:1273: error: `xmms_remote_is_repeat' was not declared in this scope
BemusedServerDlg.cpp:1273: error: `xmms_remote_toggle_repeat' cannot be used as a function
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::WritePlaylistToPhone()':
BemusedServerDlg.cpp:1382: error: `xmms_remote_get_playlist_pos' was not declared in this scope
BemusedServerDlg.cpp:1383: error: `xmms_remote_get_playlist_length' was not declared in this scope
BemusedServerDlg.cpp:1402: error: `xmms_remote_get_playlist_title' was not declared in this scope
BemusedServerDlg.cpp: In member function `void CBemusedServerDlg::Log(char*, ...)':
BemusedServerDlg.cpp:1939: error: `va_start' was not declared in this scope
BemusedServerDlg.cpp:1941: error: `va_end' was not declared in this scope
make: ** [bemusedlinuxserver] Erro 1

[8] Comentário enviado por PetersonPS em 20/07/2006 - 18:31h

Respondendo as duvidas :

leaf - Este software é livre, maiores informações no site http://bemused.sourceforge.net/

darl_slack - O pré-requisito é que o celular possua Symbian OS da serie 60, não precisa ser necessariamente um Nokia. No site http://www.symbian.com/phones/index.html podemos encontrar vários modelos de vários fabricantes que possuem o Symbian S60.
E quanto a mensagem de erro que você enviou, parece que o arquivo "xmmsctrl.h" não existe ou não foi encontrado.
Por favor verifique se o xmms-dev esta instalado, e se o arquivo "xmmsctrl.h" existe. Abaixo segue a versão e a localização deste arquivo no meu note pra você conferir ai

peterson@my-note:/$ dpkg -l |grep xmms
ii xmms 1.2.10+cvs20050809-4ubuntu5 Versatile X audio player
ii xmms-dev 1.2.10+cvs20050809-4ubuntu5 XMMS development static library and header f
ii xmms-skins 0.6-1 Skins for XMMS

peterson@my-note:/$ dpkg -L xmms-dev |grep xmmsct
/usr/include/xmms/xmmsctrl.h

Pessoal, muito obrigado pelos comentários.

[9] Comentário enviado por kjhoni em 20/07/2006 - 18:40h

Muito bom artigo ! Original e interessante!!!

[10] Comentário enviado por leaf em 20/07/2006 - 18:50h

Boa Peterson ... é o software eu imaginava mesmo que era livre, só pensei que, para ultilizá-lo, após instalado, teria que tipo, se conectar via Internet e assim podendo utilizar tais funções ...

Parabéns pelo artigo ...
até mais

[11] Comentário enviado por kidoidera em 20/07/2006 - 20:29h

sem comentariossssssssssssssssssssss ...
otimo artigo .........
Realmente agora tenho ainda mais vontade de ter um nokia 3660 ...
rsssssssss

Symbian trazendo cd dia mais funcionalidade para o celular.

parabens

[12] Comentário enviado por marrento em 21/07/2006 - 12:24h

** In file included from BemusedServerDlg.cpp:49:
/usr/include/xmms/xmmsctrl.h:23:18: glib.h: Arquivo ou diretório não encontrado

** parece que o arquivo "xmmsctrl.h" não existe ou não foi encontrado.
Por favor verifique se o xmms-dev esta instalado, e se o arquivo "xmmsctrl.h" existe

não, na verdade, segundo a mensagem de erro original, o que não foi encontrado foi glib.h, que é incluído em xmmsctrl.h. Aparentemente, está faltando sua instalação dos headers gtk+. Normalmente, estão disponíveis como pacotes gtk-dev na maioria dos gerenciadores de pacote. Tente obter gtk-1.2, ao invés dos modernos 2.0, que é o que XMMS usa.


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts