| ![-](/img/trans.gif) | | Re: Howto install easily v0.3 Nov 21 2010 on content download_opensubtitle | well, my previous post looks horrible - the BBCode formating is not working and I can't do anything to fix it, not at my control...
simply ignore completely all the "[b]" and "[\b]" and it will work |
| ![.](/img/trans.gif) | | Howto install easily v0.3 Nov 21 2010 on content download_opensubtitle | The script version 0.3 (last updated in Jan 17 2009) was proved to work in KDE4 (KDE4.4.2), with the following procedure for Kubuntu (or any other debian/ubuntu based system)
1- Download the script using this page "download" button
2- Open a console in the folder where you downloaded the script
3- Untar the downloaded file (it will create a directory named "download_opensubtitle/".). Type in the console:
[b]
tar -zxvf 65444-download_opensubtitle.tar.gz"
[\b]
4- Install the Service-menu-script file to the correct location (the following destination directory is for KDE4. For KDE3 it is different). Type in the console:
[b]
ServiceMenu_script_file_kde4="download_opensubtitle/kde4/download_opensubtitle.desktop"
Destination_dir_kde4="$HOME/.kde/share/kde4/services/ServiceMenus"
mkdir -p $Destination_dir_kde4
cp -v $ServiceMenu_script_file_kde4 $Destination_dir_kde4
[\b]
4.99- At the current version 0.3 of the script there is an error in line 56 (as explained by <<eneko>> in the above comments) of the python file, and it needs to be corrected so that it works. Type this in the console to correct it:
[b]
sed --in-place 's_http://www.opensubtitles.org/xml-rpc_http://api.opensubtitles.org/xml-rpc_g' download_opensubtitle/download_opensubtitle.py
[\b]
5- Install the python file to "/usr/local/bin"
[b]
Python_file_kde4="download_opensubtitle/download_opensubtitle.py"
cp -v $Python_file_kde4 /usr/local/bin
[\b]
6- Check that your system has all the needed dependencies (most probably it will already have them installed, but if not just you can install them this way). Type this in a console, inserting your password when asked:
sudo apt-get install wget python
And you are done - it will be working by now, try it in konqueror :)
My respects to the creator and to eneko for the great sharings - this post is intended to make an updated resume of how to make this service-menu-script work without worries.
Hope to see this comment replied some day with something like "thanks" or maybe even with a "no-more-need-for-this-as-the-script-has-been-updated-by-author" :)
zipizap |
| ![.](/img/trans.gif) | | Howto install easily v0.3 Nov 21 2010 on content download_opensubtitle | The script version 0.3 (last updated in Jan 17 2009) was proved to work in KDE4 (KDE4.4.2), with the following procedure for Kubuntu (or any other debian/ubuntu based system)
1- Download the script using this page "download" button
2- Open a console in the folder where you downloaded the script
3- Untar the downloaded file (it will create a directory named "download_opensubtitle/".). Type in the console:
[b]
tar -zxvf 65444-download_opensubtitle.tar.gz"
[\b]
4- Install the Service-menu-script file to the correct location (the following destination directory is for KDE4. For KDE3 it is different). Type in the console:
[b]
ServiceMenu_script_file_kde4="download_opensubtitle/kde4/download_opensubtitle.desktop"
Destination_dir_kde4="$HOME/.kde/share/kde4/services/ServiceMenus"
mkdir -p $Destination_dir_kde4
cp -v $ServiceMenu_script_file_kde4 $Destination_dir_kde4
[\b]
4.99- At the current version 0.3 of the script there is an error in line 56 (as explained by <<eneko>> in the above comments) of the python file, and it needs to be corrected so that it works. Type this in the console to correct it:
[b]
sed --in-place 's_http://www.opensubtitles.org/xml-rpc_http://api.opensubtitles.org/xml-rpc_g' download_opensubtitle/download_opensubtitle.py
[\b]
5- Install the python file to "/usr/local/bin"
[b]
Python_file_kde4="download_opensubtitle/download_opensubtitle.py"
cp -v $Python_file_kde4 /usr/local/bin
[\b]
6- Check that your system has all the needed dependencies (most probably it will already have them installed, but if not just you can install them this way). Type this in a console, inserting your password when asked:
sudo apt-get install wget python
And you are done - it will be working by now, try it in konqueror :)
My respects to the creator and to eneko for the great sharings - this post is intended to make an updated resume of how to make this service-menu-script work without worries.
Hope to see this comment replied some day with something like "thanks" or maybe even with a "no-more-need-for-this-as-the-script-has-been-updated-by-author" :)
zipizap |
| ![.](/img/trans.gif) | | Re: Images... Feb 2 2010 on content Portuguese Radios (195+) | Absolutely righ - open as in open source, the more the better :) |
| ![.](/img/trans.gif) | | Re: Re: Re: Portuguese national radios Aug 17 2009 on content Portuguese Radios (195+) | Nevess7, I've updated the script to version 0.22 - now it has also a list of some national radios, and also some more interesting/recomended radios...
Hope it gives good hours of music :)
|
| ![.](/img/trans.gif) | | Re: Re: Re: Re: Re: Could this work in Amarok 1.4? Aug 17 2009 on content Portuguese Radios (195+) | Very well done caracol, I'm glad it worked!!! As you can see, it is easy to change the XML file to add more stations :)
I'm adding now the "Radio Comercial" stream you gave to the main Amarok2.0 script
Thanks and see you
zipizap123 |
| ![.](/img/trans.gif) | | Re: Re: Re: Portuguese national radios Aug 1 2009 on content Portuguese Radios (195+) | Hi neves
I've seen your comment a day or two ago, but I've been busy since then
I have checked out those sites, and they have very interesting contents of national and main-stream radios... maybe too much radios :)
I'll try to search in internet and see if I can get a list of the 15-20 most famous national ones, and then go to the pages you gave me to get some URLs
keep in touch :) it's good to see someones on the other side :)
zipizap123 |
| ![.](/img/trans.gif) | | Re: Could this work in Amarok 1.4? Jul 30 2009 on content Portuguese Radios (195+) | Hello caracol,
I'm running Kubuntu 9.04 so I can't have Amarok 1.4 installed, as I already have the Amarok 2...
Honestly I didn't knew what was an Amarok script until yesterday when I started to read and make it, so I learned enough to be able to adapt an already existing radios-script to portuguese :)
That said, I would like to help you, but without having the Amarok 1.4 for testing it would be impossible.
However, I downloaded a Amarok 1.4 script (which is just an xml file, compressed with tar.gz) and read the XML, and the contents of it are very clead... so I tried to adapt the radios info I have into the XML structure...
...and here we go: we have a "untested" version of the Radios-Portuguesas script for Amarok 1.4 :) !!!!
I did not uploaded it into kde-apps as it is untested, so it would not be fair, but I reale here the link to where you can download it:
http://www.megaupload.com/?d=Z259LNOH
After downloading install it and cross your finger... it should work, but if it doesnt work then:
- have a peek at the XML file - you will see that is very easy to understand
- run amarok from command line, with the parameter -d to show debug info (I guess it will be similar to Amarok2 command: "amarok -d")
- If the amarok script has errors, then in the console debug info, there should be some indication of the line of the script were the errors lie...
- and try to correct them (as I said, XML are easy)
Don't get scared if it seems complicated, in fact it isn't (after all you have Debian, so you were asking for an interesting ride :) )
Tell me what happened, I'm ansious to know :)
Greeting zipizap123
|
| ![.](/img/trans.gif) | | Re: Could this work in Amarok 1.4? Jul 30 2009 on content Portuguese Radios (195+) | Hello caracol,
I'm running Kubuntu 9.04 so I can't have Amarok 1.4 installed, as I already have the Amarok 2...
Honestly I didn't knew what was an Amarok script until yesterday when I started to read and make it, so I learned enough to be able to adapt an already existing radios-script to portuguese :)
That said, I would like to help you, but without having the Amarok 1.4 for testing it would be impossible.
However, I downloaded a Amarok 1.4 script (which is just an xml file, compressed with tar.gz) and read the XML, and the contents of it are very clead... so I tried to adapt the radios info I have into the XML structure...
...and here we go: we have a "untested" version of the Radios-Portuguesas script for Amarok 1.4 :) !!!!
I did not uploaded it into kde-apps as it is untested, so it would not be fair, but I reale here the link to where you can download it:
http://www.megaupload.com/?d=Z259LNOH
After downloading install it and cross your finger... it should work, but if it doesnt work then:
- have a peek at the XML file - you will see that is very easy to understand
- run amarok from command line, with the parameter -d to show debug info (I guess it will be similar to Amarok2 command: "amarok -d")
- If the amarok script has errors, then in the console debug info, there should be some indication of the line of the script were the errors lie...
- and try to correct them (as I said, XML are easy)
Don't get scared if it seems complicated, in fact it isn't (after all you have Debian, so you were asking for an interesting ride :) )
Tell me what happened, I'm ansious to know :)
Greeting zipizap123
|
| ![.](/img/trans.gif) | | Re: Portuguese national radios Jul 30 2009 on content Portuguese Radios (195+) | Hi nevess7,
Before even thinkint about the script, I was googling around and found this website:
http://www.radios.pt
which contains mms:// links to all the local/regional radios of the list (in fact, it's the site which provides the streaming for all those radios) and I though it was very interesting - to have such a vast list of online radios organized, available, and streamed with mms://
So I started to look into the spanish-amarok-script (which is very cool) and decided that it was worth a try, to make our own portuguese radio-stations script, and started to use the list of radios of the previous site
I also searched for the bigger-mainstream radios, such as Antena3, Radio Comercial, TSF, but I didn't found any list where the streams of those radios were available as
mms:// or .m3u .pls...
As searching manually for the URLs of each single national radio would have dis-motivated me, I launched the first version of the script with "just" the regional/local
And so, we got here, with many-many local/regional radios, but still no mainstream national radios
I hope that with time and collaboration from everyone :) we can make the list of the national radios and their URL, and join them to the script into a special category like "Radios Nacionais"
If you have urls to any portuguese radio which you would like to see included
So, the fact that for now there are no national radios has no ideology-philosophy behind, it just turned out difficult to get a list of the national radios as well organized as that of regional
|
| ![.](/img/trans.gif) |
Search people Current visitors New users Birthdays Most active users Back
|
|
| ![-](/img/trans.gif) |
|