welcome to ChromePlugins and thanks for sharing
This is a discussion on [New Ext] Chrome.fm - Listen to Last.fm in Chrome within the Chrome Plugins section, part of the Google Chrome category: Extension: Chrome.fm Developer: Lucleonhart Latest Version: v0.3 added fixes from Nanobyte Download Latest Version: http://www.lucleonhart.de/files/chromefm/chromefm.crx Description: Hi there. This is ...
Extension: Chrome.fm
Developer: Lucleonhart
Latest Version: v0.3 added fixes from Nanobyte
Download Latest Version: http://www.lucleonhart.de/files/chromefm/chromefm.crx
Description: Hi there. This is my first extension. Just trying out what you can do with the unreleased plugin system. Well, this is the "Fire.fm" extension for Chrome, so you have a little toolstrip menu for listening last.fm music. You can Love / Ban songs and skip them as well. Have fun!
Features:
- Listen to your personal Last.fm music collection.
- Play / Stop / Skip controls
- Love or ban songs!
Issues Fixed In New Version: See below at Nanobytes Post.
Browser Compatibility: all, i think.
Screenshot:
![]()
Last edited by Lucleonhart; 08-13-2009 at 03:58 PM.
Looks great! Is it playing my profile radio or some random radio from my neighbors/friends? It'll be nice if you can select which radio to play. A volume control will be nice too. I'm looking forward to the development of this extension.
Hi all, and good to be here!
@Grasshopper: Well, currently it plays your own music collection (lastfm://user/$username/personal), but i will implement a station selector so you can listen to special artist radio, etc.
Volume control... have to see if that is possible with my player.![]()
This extension is awsome!
(Its running with SRWare Iron 3.0.197.0)
Thank you!
Last edited by Nanobyte; 08-09-2009 at 09:26 AM.
Please delete this account, thanks! Please delete this account, thanks! Please delete this account, thanks! Please delete this account, thanks!
thanks for the update
I checked Iron periodically and couldn't find any update
found the update here
http://www.srware.net/forum/viewtopic.php?f=17&t=545
Suggestion: when you click on the name of the song, that's sounding now to open it's page in last.fm in a new tab.
Can you change the extension so that automatically the next song is played, when you click the ban-button ?
And can you make the songtitle placeholder dynamicly?
- I Love this extension
//EDIT:
Skip banned song:
chromefm.js - add this after line 88:
Code:if(rating=='B') nextSong();
Link "Artist - Title" to last.fm
chromefm.js - overwrite line 172:
chromefm.html - Add before </head>:Code:document.getElementById("song_name_strip").innerHTML = " | <a href=\"http://www.lastfm.de/music/" + interpret + "/\" target=\"blank\">" + interpret + "</a> - <a href=\"http://www.lastfm.de/music/" + interpret + "/_/" + titel + "/\" target=\"blank\">" + titel + "</a>"; // Songname *** Linked by Nanobyte
Code:<style type="text/css"> #song_name_strip a { color: #000; text-decoration: none; } #song_name_strip a:hover { color: #000; text-decoration: underline; } </style>
Fix Duration time: (before: 2:5, after: 02:05)
chromefm.js - add before function "savesettings":
chromefm.js - replace function "calcMins":Code:function fillZeros(str, num){ str = str+''; while(str.length<num){ str = '0'+str; } return str; }
Sorry for this many changes! I hope it is ok.Code:function calcMins(seconds) { return (fillZeros(Math.floor(seconds / 60),2) + ":" + fillZeros((seconds % 60),2)); }
![]()
Last edited by Nanobyte; 08-13-2009 at 10:15 AM.
Please delete this account, thanks! Please delete this account, thanks! Please delete this account, thanks! Please delete this account, thanks!
Great enhancements! Thanks Nanobyte. Implemented all and uploaded to auto-update URL.
BTW: New Icon! ^^