pidgin-lastfm-0.4a/0000755000175000001440000000000011161763023012754 5ustar nikuserspidgin-lastfm-0.4a/res/0000755000175000001440000000000011161763023013545 5ustar nikuserspidgin-lastfm-0.4a/res/banner.png0000644000175000001440000004531011161763023015523 0ustar nikusersPNG  IHDRdp}sRGBbKGD pHYs  tIME  N IDATxw]E3.JDP@EE(^@Q.X%JjBH!=9}gSr>$ΏYf=3yyyěc4XXXXXXX!mXXXXXXXBK̩hԾ #am)ncF7daaaaa8LK1}Ŗ:a}S{[C7BΞq^騪dmxm1[<2y:j=qpMC BXɰx_A]P3ybΡ<>i[ٲu̚kF 0BfviBW{O6) I:ׯaaaaaa5N,? ^_K|:^^h'̙NE̛kYzqx=icb ^ݦHm,i-,,,,,i].8dR~-.Ac&h6);M{o& ioO| KyL^Q&uV %قEyi_1HXj] a:Q0,_G3+Wt+ o) Pz2h qvqZm;$V,,,,, >.%`ú Yrj%e;T-\n /4m2M#- ;䏐 Fcg&aJc>ȣ)X|#R+h݄#4kx9a=[ʫ'#&55|f{yDeW-\ r:4TԳV+YkA onFcJ"Ok!XT3ә佈 R[WGzͫUM$[$4B )>.Q,\D艃MvlmFuC2WVvKEGa}mt̟C*F(4|s  V`oeaaaaЧSܶ#ŝetlOF  ֒yI= D i=/L{[hizjaтD&NGDH 1\Ah0GZfT`0R6I]'B} eR1 yrجeb t0y@{M4]|G6r93dE9m'fξK(R$/836l 8zH>0IcpQAxWq=naaaal7Vþ\VB.iS[VYﻜ HnM*)ٯ=Aq `:N|UNx}>'*%qSz$nCZXXXX`&@' b.~mO`YC{_tl&5d=5˩+C@lnaaaa ݩe{SRRRFF@u1?V;vkGo @`&HbYXXXXuBNHGkQooӆnvY~D0`1wZv ZA"e'kPb:d =kQOG"Fջw1Ck$鿮ٿ.nj ~3f4CkAV,,,,,.'Bum%c!\3f㪒0e:FMF(TF9pS>Jnn勩eJmlB è!V,,,,,> J!to:n3@h80(YXŷtm4eP1Џ ha$^KlCq┊+f4ׅإah6gٲN$2{V^t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ׂs.~BU{A*Oǝx$PB zu41A@hbh[SKtyUU }Hѕmyq,'mpidgin-lastfm-0.4a/docs/0000755000175000001440000000000011161763023013704 5ustar nikuserspidgin-lastfm-0.4a/docs/README.txt0000644000175000001440000000062011161763023015400 0ustar nikusersHow to use - Manual installation ================================ In order to use the Last.fm plugin, you need a version of Pidgin that was compiled with Perl support. Most releases should support that by now. Copy the file src/lastfm.pl to the Pidgin / libpurple plugin path. In UNIX: ~/.purple/plugins -or- /usr/lib/pidgin The plugin should be listed in the Pidgin plugins dialog now. pidgin-lastfm-0.4a/docs/CHANGELOG.txt0000644000175000001440000000306111161763023015734 0ustar nikusersChangelog ========= v0.4a ===== - Switched to real API 2.0 - Adapted to now available "nowplaying" information - Correct error handling - No more messages, all notices are dropped to debug v0.4 ===== - Only one message if retrieving data fails - Switched to XML and included more datasets v0.3b ===== - Do not complain if placeholder is missing -and- - Don't automatically reset placeholders (1954804) - Added hint to error message about empty dataset v0.3a ===== - Made placeholder replacement case-insensitive - Fixed crash on Pidgin shutdown (1949219) v0.3 ==== - Replaced URL retrieving function with the libpurple included one, so Pidgin does not hang if the HTTP request takes a long time and proxies work like magic now ;-) - Fixed bug 1942167 (Crash on exit) - Fixed bug 1941276 (Song replacement fails when special characters are used) - Status setting is more tolerant with message resets now - The %t placeholder is now completely implemented - Added a menu entry to reset the placeholders - Made the script more error-tolerant, especially with empty datasets - No more "message flooding", plugin will cancel timeout upon error v0.2 ==== - Added credits window - Added function to check for updates - Working with placeholders now, as requested in a feature request on SF.net - Displaying time since last scrobble really works now ;) v0.15 ===== - Problem with colons in song titles fixed - Info now placed in status message rather than user info v0.1 ==== - Initial release - Can fetch most recent track from Audioscrobbler and place in user info field pidgin-lastfm-0.4a/docs/CREDITS.txt0000644000175000001440000000134111161763023015541 0ustar nikusersCredits ======= Miljan Karadzic - For an indirect hint on how to update status message http://www.miljan.org/main/2008/03/09/setting-pidgin-status-with-python-or-how-to-waste-perfectly-good-saturday/ fugazgluon (Last.fm User) - For pointing me to Karadzic's page :-) Savar and eggy (debianforum.de) - For some basic help on Perl ;-) hawkeye (debianforum.de) - For playing with the time ;-) deryni, datallah, resiak, tdr and stu (Pidgin IRC) - For psychological treatment in times of trouble :-D Vincent (Last.fm Support) - For the logo artwork Carlos Torres - For XML parsing using XML::Trivial which we unfortunately could not use for distribution reasons gordoyuri - For a hint on the newly available "now playing" information pidgin-lastfm-0.4a/docs/RELEASE.txt0000644000175000001440000000070211161763023015524 0ustar nikusersRelease notes ============= Version: 0.4a This is the first version of the plugin to support more datasets than recent tracks and uses the Audioscrobbler version 2.0 XML webservices. Please refer to Pidgins debug output for any error messages. WARNING: If you are running Pidgin 2.5.x, you will need Perl 5.10, 5.8 will only work for Pidgin 2.4.x! Read the articles WindowsInstallation or UNIXInstallation at http://pidgin-lastfm.naturalnet.de ! pidgin-lastfm-0.4a/docs/GPL.txt0000644000175000001440000010451311161763023015073 0ustar nikusers GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 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 the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 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. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . pidgin-lastfm-0.4a/src/0000755000175000001440000000000011161763023013543 5ustar nikuserspidgin-lastfm-0.4a/src/lastfm.pl0000644000175000001440000003135511161763023015375 0ustar nikusers#!/usr/bin/perl # Last.fm Info Plugin for Pidgin / libpurple # Copyright (c) 2008 by Dominik George # # Yippie, my first perl script :-D # # 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 the Free Software Foundation; either version 3 # of the License, or (at your option) any later version. # # 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. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. use Purple; # Global variables our $song_joker; our $ago_joker; our $time_joker; # Last.fm API our $apikey = '4b9aa27d34af5238708afa6807e6a18a'; # Store plugin reference globally our $plugin; our $act_timeout; # Set the current version our $actversion = "0.4a"; # Information on plugin for libpurple %PLUGIN_INFO = ( perl_api_version => 2, name => "Last.fm Info Plugin", version => $actversion, summary => "Display Last.fm info in status message", description => "Plugin to display information from your Last.fm profile in Pidgin", author => "Dominik George ", url => "http://pidgin-lastfm.naturalnet.de", # Subs that libpurple has to know load => "plugin_load", unload => "plugin_unload", prefs_info => "prefs_info_cb", plugin_action_sub => "plugin_actions_cb" ); # Called upon plugin initialization sub plugin_init { return %PLUGIN_INFO; } # Get everything ready upon loading sub plugin_load { $plugin = shift; Purple::Debug::info("lastfm", "Last.fm Plugin loading ...\n"); # Load or create preferences Purple::Prefs::add_none("/plugins/core/lastfm"); Purple::Prefs::add_string("/plugins/core/lastfm/username", ""); Purple::Prefs::add_string("/plugins/core/lastfm/content", "user.getRecentTracks"); Purple::Prefs::add_int("/plugins/core/lastfm/timeout", 30); Purple::Prefs::add_bool("/plugins/core/lastfm/nowplayingonly", FALSE); # Song info cache from preferences Purple::Prefs::add_string("/plugins/core/lastfm/song_joker", "%s"); Purple::Prefs::add_string("/plugins/core/lastfm/ago_joker", "%a"); Purple::Prefs::add_string("/plugins/core/lastfm/time_joker", "%t"); # Setup timeout for refreshing info our $act_timeout = Purple::timeout_add($plugin, 1, \&loadinfo_cb, $plugin); Purple::Debug::info("lastfm", "Last.fm Plugin loaded.\n"); } # Cleanly unload plugin sub plugin_unload { my $plugin = shift; # Reset status message so we find the standard placeholder next time # set_status("%s", "%a", "%t"); Purple::Debug::info("lastfm", "Last.fm Plugin removed.\n"); } # Preferences dialog box sub prefs_info_cb { my $frame = Purple::PluginPref::Frame->new(); # Audioscrobbler username my $ppref = Purple::PluginPref->new_with_name_and_label("/plugins/core/lastfm/username", "Username:"); $ppref->set_type(2); $ppref->set_max_length(16); $frame->add($ppref); # Desired content $ppref = Purple::PluginPref->new_with_name_and_label("/plugins/core/lastfm/content", "Content:"); $ppref->set_type(1); $ppref->add_choice("Most recent track", "user.getRecentTracks"); $ppref->add_choice("Top track", "user.getTopTracks"); $ppref->add_choice("Most recently loved track", "user.getLovedTracks"); $ppref->add_choice("Most recently banned track", "user.getBannedTracks"); $frame->add($ppref); # Timeout for refreshing content $ppref = Purple::PluginPref->new_with_name_and_label("/plugins/core/lastfm/timeout", "Refresh (sec):"); $ppref->set_type(3); $ppref->set_bounds(10, 300); $frame->add($ppref); # Don't show information when not "now playing"? $ppref = Purple::PluginPref->new_with_name_and_label("/plugins/core/lastfm/nowplayingonly", "Show --- when not listening right now"); $ppref->set_type(1); $frame->add($ppref); return $frame; } # Actions that user can run from UI menu sub plugin_actions_cb { my @actions = ("Refresh info", "Reset placeholders", "Check for updates", "Credits"); } %plugin_actions = ( "Refresh info" => \&loadinfo_cb, "Reset placeholders" => \&reset_placeholders, "Check for updates" => \&checkupdate_cb, "Credits" => \&loadcredits_cb ); # Helper function to escape strings for regex compatibility sub regex_escape { my $string = $_[0]; $string =~ s/\\/\\\\/g; $string =~ s/\//\\\//g; $string =~ s/\./\\./g; $string =~ s/\+/\\+/g; $string =~ s/\?/\\?/g; $string =~ s/\^/\\^/g; $string =~ s/\$/\\\$/g; $string =~ s/\|/\\|/g; $string =~ s/\(/\\(/g; $string =~ s/\)/\\)/g; $string =~ s/\[/\\]/g; $string =~ s/\]/\\]/g; $string =~ s/\{/\\{/g; $string =~ s/\}/\\}/g; return $string; } # Load placeholders from preferences sub load_placeholders { our $song_joker = Purple::Prefs::get_string("/plugins/core/lastfm/song_joker"); our $ago_joker = Purple::Prefs::get_string("/plugins/core/lastfm/ago_joker"); our $time_joker = Purple::Prefs::get_string("/plugins/core/lastfm/time_joker"); } # Save current placeholders to the preferences # I hope we will survive SEGFAULTs that way :-) sub save_placeholders { Purple::Prefs::set_string("/plugins/core/lastfm/song_joker", $song_joker); Purple::Prefs::set_string("/plugins/core/lastfm/ago_joker", $ago_joker); Purple::Prefs::set_string("/plugins/core/lastfm/time_joker", $time_joker); } # Reset placeholders to the defaults sub reset_placeholders { load_placeholders(); our $song_joker = "%s"; our $ago_joker = "%a"; our $time_joker = "%t"; save_placeholders(); } sub parse_credits_cb { my $credits = shift; Purple::Notify::message($plugin, 2, "Last.fm Plugin Credits", "The following people helped a lot at developing the plugin:", $credits, NULL, NULL); } sub loadcredits_cb { my $plugin = shift; my $url = "http://pidgin-lastfm.naturalnet.de/res/credits.txt"; Purple::Util::fetch_url($plugin, $url, TRUE, "Mozilla/5.0", TRUE, \&parse_credits_cb); } sub checkupdate_cb { my $plugin = shift; # URL with text file containing version information my $url = "http://pidgin-lastfm.naturalnet.de/res/version.txt"; # Fetch version information Purple::Util::fetch_url($plugin, $url, TRUE, "Mozilla/5.0", TRUE, \&parse_update_cb); } sub parse_update_cb { my $version = shift; my $linebreak = index($version, "\n"); $version = substr($version, 0, $linebreak); Purple::Debug::info("lastfm", "The running version is " . $actversion . ".\n"); Purple::Debug::info("lastfm", "The most recent version is " . $version . ".\n"); if ($version > $actversion) { Purple::Notify::message($plugin, 2, "Last.fm Plugin", "New version available!", "A new version of the Pidgin Last.FM plugin (version " . $version . ") is available for download.", NULL, NULL); } else { if ($actversion > $version) { Purple::Notify::message($plugin, 2, "Last.fm Plugin", "Your version is from the future!", "You are running a more recent version than the server knows.\n\nI conclude: You are either a developer or a magician :-D ...", NULL, NULL); } else { Purple::Notify::message($plugin, 2, "Last.fm Plugin", "No new version available!", "You are running the most recent version of the plugin.", NULL, NULL); } } } sub set_status { my $song = $_[0]; my $ago = $_[1]; my $time = $_[2]; # Parse status message and set info my $status = Purple::SavedStatus::get_current(); my $message = Purple::SavedStatus::get_message($status); my $oldmsg = $message; load_placeholders(); my $song_regex = regex_escape($song_joker); my $ago_regex = regex_escape($ago_joker); my $time_regex = regex_escape($time_joker); Purple::Debug::info("lastfm", "Looking for song joker \"" . $song_joker . "\".\n"); if ($message =~ /$song_regex/i) { Purple::Debug::info("lastfm", "Old message was \"" . $message . "\".\n"); # Now do the regex replacements if (($message =~ /$song_regex/i) && ($song ne "") && ($song_joker ne $song)) { $message =~ s/$song_regex/$song/i; our $song_joker = $song; } if (($message =~ /$ago_regex/i) && ($ago ne "") && ($ago_joker ne $ago)) { $message =~ s/$ago_regex/$ago/i; our $ago_joker = $ago; } if (($message =~ /$time_regex/i) && ($time ne "") && ($time_joker ne $time)) { $message =~ s/$time_regex/$time/i; our $time_joker = $time; } save_placeholders(); # Only update if something has changed if ($message ne $oldmsg) { Purple::Debug::info("lastfm", "Changing to \"" . $message . "\".\n"); Purple::SavedStatus::set_message($status, $message); Purple::SavedStatus::activate($status); } else { Purple::Debug::info("lastfm", "Status message unchanged.\n"); } } else { Purple::Debug::info("lastfm", "Song joker not found ...\n"); Purple::Debug::info("lastfm", "If you think this is wrong, try resetting the song jokers!\n"); } # Reset timeout so refresh is called regularly my $timeout = Purple::Prefs::get_int("/plugins/core/lastfm/timeout"); our $act_timeout = Purple::timeout_add($plugin, $timeout, \&loadinfo_cb, $plugin); Purple::Debug::info("lastfm", "Reset timeout to ".$timeout." seconds.\n"); } sub parse_data_cb { my $data = shift; Purple::Debug::info("lastfm", "Callback function for HTTP request called.\n"); my $artist = ""; my $title = ""; my $timestamp = 0; if ($data =~ m/(.*?)<\/error>/gis) { $error = $1; Purple::Debug::error("lastfm", "Huh? We got an error message from the server ...\n"); Purple::Debug::error("lastfm", $error."\n"); Purple::Debug::error("lastfm", "Skipping status message changing.\n"); # Reset timeout so refresh is called regularly my $timeout = Purple::Prefs::get_int("/plugins/core/lastfm/timeout"); our $act_timeout = Purple::timeout_add($plugin, $timeout, \&loadinfo_cb, $plugin); Purple::Debug::info("lastfm", "Reset timeout to ".$timeout." seconds.\n"); } else { # Parse string as XML my $nowplaying = 0; if ($data ne "") { my @lines = split(/\n/, $data); foreach (@lines) { my $line = $_; if ($line =~ /^\s*(.*?)<\/artist>$/) { $artist = $1; } elsif ($line =~ /^\s*(.*?)<\/name>$/) { $title = $1; } elsif ($line =~ /^\s*$/) { last; } } } $song = $artist . " - " . $title; # Play with the time :) my $ago = ""; if ($nowplaying == 0) { my $time = time; my $diff = $time - $timestamp; Purple::Debug::info("lastfm", "Current time: " . $time . "\n"); Purple::Debug::info("lastfm", "Srobbled at : " . $timestamp . "\n"); Purple::Debug::info("lastfm", "Difference : " . $diff . "\n"); my $days = int($diff / 86400); $diff %= 86400; my $hours = int($diff / 3600); $diff %= 3600; my $minutes = int($diff / 60); if ($days > 0) { $ago .= $days . " day"; if ($days > 1) { $ago .= "s"; } } if ($hours > 0) { if ($days > 0) { $ago .= ", "; } $ago .= $hours . " hour"; if ($hours > 1) { $ago .= "s"; } } if ($minutes > 0) { if (($hours > 0) || ($days > 0)) { $ago .= ", "; } $ago .= $minutes . " minute"; if ($minutes > 1) { $ago .= "s"; } } $ago .= " ago"; } else { $ago = "right now"; } $timestring = localtime($timestamp); Purple::Debug::info("lastfm", "Song is \"" . $song . "\"\n"); Purple::Debug::info("lastfm", "Scrobbled " . $ago. ".\n"); Purple::Debug::info("lastfm", "This was at " . $timestring . ".\n"); my $nponly = Purple::Prefs::get_bool("/plugins/core/lastfm/nowplayingonly"); if ($nponly && (! ($nowplaying == 1))) { $song = "---"; } # Call method that will hopefully set our new status message set_status($song, $ago, $timestring); } } # Routine that is called in any case that triggers a refresh sub loadinfo_cb { my $plugin = shift; Purple::Debug::info("lastfm", "User or timeout requested to refresh info.\n"); # Find out what we must fetch my $url = build_url(); # Let libpurple do the work Purple::Debug::info("lastfm", "Telling libpurple to fetch data.\n"); Purple::Debug::info("lastfm", "URL to be fetched: " . $url . "\n"); Purple::Util::fetch_url($plugin, $url, TRUE, "Mozilla/5.0", TRUE, \&parse_data_cb); # Stop timeout for now, will be reinstated by set_status return false; } # Build URL to retrieve from Audioscrobbler sub build_url { my $protocol = "http://"; my $hostname = "ws.audioscrobbler.com"; my $username = Purple::Prefs::get_string("/plugins/core/lastfm/username"); my $content = Purple::Prefs::get_string("/plugins/core/lastfm/content"); my $uri = "/2.0/?method=" . $content ."&user=". $username . "&api_key=" . $apikey; my $url = $protocol . $hostname . $uri; return $url; }