{"id":1549,"date":"2013-12-18T23:13:23","date_gmt":"2013-12-18T22:13:23","guid":{"rendered":"http:\/\/michlstechblog.info\/blog\/?p=1549"},"modified":"2013-12-20T13:12:56","modified_gmt":"2013-12-20T12:12:56","slug":"windows-media-player-print-playlists","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-media-player-print-playlists\/","title":{"rendered":"Windows Media Player: Exporting or printing a Playlists"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_1549 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_1549')){$('.twoclick_social_bookmarks_post_1549').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%20Media%20Player%3A%20Exporting%20or%20printing%20a%20Playlists\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Aa%20friend%20of%20mine%20wants%20to%20print%20the%20content%20of%20some%20Windows%20Media%20Player%20playlists%20%2C%20but%20there%20is%20no%20export%20or%20print%20option%20available.%0D%0AI%20wrote%20him%20a%20small%20C%23%20program%20which%20does%20the%20job%20%3A-%29.%20It%20uses%20the%20AxInterop.WMPLib%20COM%20Interface.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-media-player-print-playlists\\\/\",\"post_id\":1549,\"post_title_referrer_track\":\"Windows+Media+Player%3A+Exporting+or+printing+a+Playlists\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>a friend of mine wants to print the content of some Windows Media Player playlists , but there is no export or print option available.<br \/>\nI wrote him a small C# program which does the job :-). It uses the AxInterop.WMPLib COM Interface.<br \/>\n<!--more--><\/p>\n<figure id=\"attachment_1560\" aria-describedby=\"caption-attachment-1560\" style=\"width: 486px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/12\/PrintPlaylistWithCSV.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-1560 \" alt=\"Windows Media Player Playlist Printer and exporter\" src=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/12\/PrintPlaylistWithCSV.png\" width=\"486\" height=\"420\" srcset=\"https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/12\/PrintPlaylistWithCSV.png 607w, https:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2013\/12\/PrintPlaylistWithCSV-300x259.png 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/a><figcaption id=\"caption-attachment-1560\" class=\"wp-caption-text\">Windows Media Player Playlist Printer and exporter<\/figcaption><\/figure>\n<p>Here is a short description of the program.<\/p>\n<ul>\n<li>The program creates a new instance of the mediaplayer by using the AxInterop.WMPLib COM Interface<\/li>\n<li>It gets a list of all playlists<\/li>\n<li>After selecting a playlist and loading that one<\/li>\n<li>It creates a html file and shows these in an embedded Internet Explorer Control<\/li>\n<li>Now you can print your playlist<\/li>\n<li>Or you can export your playlist as a csv file which you can open with LibreOffice\/OpenOffice calc, Excel or any text editor.<\/li>\n<\/ul>\n<p>The look of the page shown in the IE Control can be controlled by some css classes. One disadvantage. If you want to change the look you currently have do recomplie the sources.<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;style type=&quot;&quot;text\/css&quot;&quot;&gt;\r\n    body {font-family:Tahoma,Verdana,Arial,Helvetica;font-size:12px;}\r\n    h2 {font-size:12px;}\r\n    td,th,tr {font-size:10px;}\r\n    tr{background-color:#eeeeee;}\r\n    th{background-color:#cccccc;font-weight:bold;text-align:left;}\r\n    .tdlineodd {background-color:#ffffff;}\r\n   .tdlineeven {background-color:#eeeeee;}\r\n   .playlisttable {border: solid 1px #ffffff;}\r\n&lt;\/style&gt;&quot;;\r\n<\/pre>\n<p>Sources for Visual Studio Express 2010 are attached in the zip file (MD5 4b36b3cc0d3fa93211e8246654b836c2) below. Soures are licensed under the GPL , so feel free to modify but share it with the community!<\/p>\n<p>If you cannot compile the sources yourself there is also\u00a0 precomplied Version <strong>info.michlstechblog.MediaPlayerExport.exe<\/strong> in the bin\\Release folder of the zip package. Simply copy the release folder to your disk and start the\u00a0info.michlstechblog.MediaPlayerExport.exe file.<\/p>\n<p>Have fun.<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, a friend of mine wants to print the content of some Windows Media Player playlists , but there is no export or print option available. I wrote him a small C# program which does the job :-). It uses the AxInterop.WMPLib COM Interface.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[395,394,175,20,393],"class_list":["post-1549","post","type-post","status-publish","format-standard","hentry","category-miscellaneous","tag-csv","tag-export","tag-print","tag-windows-2","tag-windows-media-player"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/1549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=1549"}],"version-history":[{"count":12,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/1549\/revisions"}],"predecessor-version":[{"id":1575,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/1549\/revisions\/1575"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=1549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=1549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=1549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}