{"id":221,"date":"2008-08-23T11:58:00","date_gmt":"2008-08-23T11:58:00","guid":{"rendered":"http:\/\/www.kurianos.com\/wordpress\/?p=221"},"modified":"2010-12-23T03:40:59","modified_gmt":"2010-12-23T03:40:59","slug":"mp3-%e0%b4%ab%e0%b4%af%e0%b4%b2%e0%b5%8d%e2%80%8d-%e0%b4%b8%e0%b5%87%e0%b4%b0%e0%b5%8d%e2%80%8d%e0%b4%9a%e0%b5%8d%e0%b4%9a%e0%b5%8d","status":"publish","type":"post","link":"https:\/\/www.kurianos.com\/wordpress\/?p=221","title":{"rendered":"..::mp3 \u0d2b\u0d2f\u0d32\u0d4d\u200d \u0d38\u0d47\u0d30\u0d4d\u200d\u0d1a\u0d4d\u0d1a\u0d4d::.."},"content":{"rendered":"<p><strong>\u0d12\u0d30\u0d41\u0d2a\u0d3e\u0d1f\u0d41 mp3 \u0d2b\u0d2f\u0d32\u0d41\u0d15\u0d33\u0d4d\u200d \u0d09\u0d33\u0d4d\u0d33\u0d2a\u0d4d\u0d2a\u0d4b\u0d33\u0d4d\u200d \u0d05\u0d24\u0d3f\u0d32\u0d4d\u200d \u0d28\u0d3f\u0d28\u0d4d\u0d28\u0d41\u0d02 \u0d35\u0d3f\u0d35\u0d30\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d \u0d05\u0d31\u0d3f\u0d2f\u0d3e\u0d28\u0d4d\u200d \u0d2a\u0d3e\u0d1f\u0d3e\u0d23\u0d4d<br \/>\u0d06\u0d30\u0d3e\u0d23\u0d4d \u0d2a\u0d3e\u0d1f\u0d3f\u0d2f\u0d24\u0d4d \u0d0e\u0d24\u0d4d\u0d30 \u0d2b\u0d2f\u0d32\u0d4d\u200d \u0d38\u0d48\u0d38\u0d4d \u0d09\u0d23\u0d4d\u0d1f\u0d4d \u0d05\u0d19\u0d4d\u0d19\u0d28\u0d46 .. \u0d05\u0d24\u0d41\u0d02 \u0d12\u0d30\u0d41 \u0d2a\u0d3e\u0d1f\u0d41 \u0d2b\u0d4b\u0d33\u0d4d\u200d\u0d21\u0d30\u0d4d\u200d \u0d09\u0d23\u0d4d\u0d1f\u0d47<br \/>\u0d2a\u0d31\u0d2f\u0d41\u0d15\u0d2f\u0d41\u0d02 \u0d35\u0d47\u0d23\u0d4d\u0d1f .. \u0d05\u0d19\u0d4d\u0d19\u0d28\u0d46  \u0d0e\u0d28\u0d3f\u0d15\u0d4d\u0d15\u0d4d \u0d12\u0d30\u0d41 \u0d06\u0d35\u0d36\u0d4d\u0d2f\u0d02 \u0d35\u0d28\u0d4d\u0d28\u0d2a\u0d4d\u0d2a\u0d4b\u0d33\u0d4d\u200d \u0d1e\u0d3e\u0d28\u0d4d\u200d python  \u0d35\u0d46\u0d1a\u0d4d\u0d1a\u0d41<br \/>\u0d0e\u0d34\u0d41\u0d24\u0d3f\u0d2f \u0d12\u0d30\u0d41 \u0d38\u0d4d\u0d15\u0d4d\u0d30\u0d3f\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d4d  \u0d06\u0d23\u0d4d  \u0d07\u0d24\u0d41 ..  subfolder  \u0d38\u0d47\u0d30\u0d4d\u200d\u0d1a\u0d4d\u0d1a\u0d4d \u0d09\u0d23\u0d4d\u0d1f\u0d4d \u0d05\u0d2a\u0d4d\u0d2a\u0d4a \u0d0e\u0d33\u0d41\u0d2a\u0d4d\u0d2a\u0d02  \u0d06\u0d23\u0d4d<br \/>\u0d15\u0d3e\u0d30\u0d4d\u0d2f\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d .. <\/p>\n<p>usage :<\/p>\n<p>python myMp3IDReader.py<\/p>\n<p>first option \u0d2b\u0d4b\u0d33\u0d4d\u200d\u0d21\u0d30\u0d4d\u200d \u0d06\u0d23\u0d4b \u0d2b\u0d2f\u0d32\u0d4d\u200d \u0d06\u0d23\u0d4b  \u0d0e\u0d28\u0d4d\u0d28\u0d4d \u0d1a\u0d4b\u0d26\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d02 <\/p>\n<p>1 for file and 2 for folder<\/p>\n<p>\u0d2a\u0d3f\u0d28\u0d4d\u0d28\u0d46 \u0d2b\u0d2f\u0d32\u0d4d\u200d \u0d28\u0d46\u0d2f\u0d3f\u0d02 or \u0d2b\u0d4b\u0d33\u0d4d\u200d\u0d21\u0d30\u0d4d\u200d \u0d28\u0d46\u0d2f\u0d3f\u0d02 \u0d15\u0d4a\u0d1f\u0d41\u0d15\u0d4d\u0d15\u0d23\u0d02<br \/>\u0d05\u0d24\u0d4d\u0d30 \u0d24\u0d28\u0d4d\u0d28\u0d46 &#8230;.<\/p>\n<p>\u0d2b\u0d41\u0d33\u0d4d\u200d \u0d38\u0d4b\u0d34\u0d4d\u0d38\u0d4d \u0d07\u0d35\u0d3f\u0d1f\u0d46 \u0d15\u0d3f\u0d1f\u0d4d\u0d1f\u0d41\u0d02<\/strong><\/p>\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color:#5D7CBA; border-color: #353535; color:#0; font-family:Arial, Helvetica, sans-serif; font-size:11px; padding:0px; border-width:1px; border-style:solid\">\n<tr style=\"background-color:#FFFFFF;\">\n<td align=\"center\" style=\"padding:5px\"><a href=\"http:\/\/www.esnips.com\/doc\/357b4b5e-c142-45ec-a3b5-edc51398de34\/my_python\/?widget=documentIcon\"><img decoding=\"async\" border=\"0\" alt=\"my_python\" title=\"click to Viewmy_python\" src=\"\/images\/thumbs\/any.gif\"><\/a><\/td>\n<\/tr>\n<tr style=\"background-color:#FFFFFF;\">\n<td style=\"padding:5px\" align=\"center\"><strong><a style=\"color:#333333\" href=\"http:\/\/www.esnips.com\/doc\/357b4b5e-c142-45ec-a3b5-edc51398de34\/my_python\/?widget=documentIcon\">my_python.py<\/a><\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"padding:5px; font-size:9px; color:#FFFFFF\" valign=\"bottom\">Hosted by <a href=\"http:\/\/www.esnips.com\" style=\"color:#FFFFFF\">eSnips<\/a><\/td>\n<\/tr>\n<\/table>\n<p><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">import<\/span> <span style=\"color: rgb(220, 20, 60);\">os<\/span><br \/><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">import<\/span> <span style=\"color: rgb(220, 20, 60);\">sys<\/span><br \/><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">import<\/span> <span style=\"color: rgb(220, 20, 60);\">string<\/span><br \/><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">import<\/span> <span style=\"color: rgb(220, 20, 60);\">math<\/span><\/p>\n<p><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">def<\/span> searchFileInfoHere<span style=\"color: black;\">(<\/span>getFName,getoptHr<span style=\"color: black;\">)<\/span>:<br \/>&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">if<\/span><br \/>getoptHr==<span style=\"color: rgb(255, 69, 0);\">1<\/span>:<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myHeadLine=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;html<br \/>xmlns=&#8221;http:\/\/www.w3.org\/1999\/xhtml&#8221; lang=&#8221;en&#8221;&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;head&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;title&gt;MP3<br \/>Info&lt;\/title&gt;<\/span><\/p>\n<p><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;\/style&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;\/head&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;body&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;table style=&#8221;border-collapse: collapse; width:<br \/>100%;&#8221;&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&#8216;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle = <span style=\"color: rgb(0, 128, 0);\">open<\/span> <span style=\"color: black;\">(<\/span> <span style=\"color: rgb(72, 61, 139);\">&#8220;d:\/temp\/temp.html&#8221;<\/span>, <span style=\"color: rgb(72, 61, 139);\">&#8216;w&#8217;<\/span> <span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>myHeadLine<span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; topPrasrer=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;tr&gt;&lt;td style=&#8221;border: 2px solid<br \/>rgb(0, 0, 0);&#8221;&gt;Filename&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;Artist&lt;\/td&gt;<\/span><\/p>\n<p><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;Album&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;Annotation&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;Comment&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;FileSize&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;&lt;\/td&gt;&lt;\/tr&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle =&nbsp; <span style=\"color: rgb(0, 128, 0);\">open<\/span> <span style=\"color: black;\">(<\/span> <span style=\"color: rgb(72, 61, 139);\">&#8220;d:\/temp\/temp.html&#8221;<\/span>,<span style=\"color: rgb(72, 61, 139);\">&#8216;a&#8217;<\/span> <span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>topPrasrer<span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; findInfoandPrintIt<span style=\"color: black;\">(<\/span>getFName<span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">else<\/span>:<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; myHeadLine=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;html<br \/>xmlns=&#8221;http:\/\/www.w3.org\/1999\/xhtml&#8221; lang=&#8221;en&#8221;&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;head&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;title&gt;MP3<br \/>Info&lt;\/title&gt;<\/span><\/p>\n<p><span style=\"color: rgb(72, 61, 139);\">&nbsp; &nbsp; &nbsp; &nbsp; &lt;\/style&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;\/head&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;body&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;table style=&#8221;border-collapse: collapse; width:<br \/>100%;&#8221;&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&#8216;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle = <span style=\"color: rgb(0, 128, 0);\">open<\/span> <span style=\"color: black;\">(<\/span> <span style=\"color: rgb(72, 61, 139);\">&#8220;d:\/temp\/temp.html&#8221;<\/span>, <span style=\"color: rgb(72, 61, 139);\">&#8216;w&#8217;<\/span> <span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>myHeadLine<span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; topPrasrer=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;tr&gt;&lt;td style=&#8221;border: 2px solid<br \/>rgb(0, 0, 0);&#8221;&gt;Filename&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;Artist&lt;\/td&gt;<\/span><\/p>\n<p><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;Album&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;Annotation&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;Comment&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;FileSize&lt;\/td&gt;<\/span><br \/><span style=\"color: rgb(72, 61, 139);\">&lt;td style=&#8221;border: 2px solid rgb(0, 0,<br \/>0);&#8221;&gt;&lt;\/td&gt;&lt;\/tr&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle =&nbsp; <span style=\"color: rgb(0, 128, 0);\">open<\/span> <span style=\"color: black;\">(<\/span> <span style=\"color: rgb(72, 61, 139);\">&#8220;d:\/temp\/temp.html&#8221;<\/span>,<span style=\"color: rgb(72, 61, 139);\">&#8216;a&#8217;<\/span> <span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>topPrasrer<span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">for<\/span> dirpath,dirname,filename <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">in<\/span> <span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">walk<\/span><span style=\"color: black;\">(<\/span>getFName<span style=\"color: black;\">)<\/span>:<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">for<\/span> <span style=\"color: rgb(0, 128, 0);\">file<\/span> <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">in<\/span> filename:<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>&nbsp; &nbsp; &nbsp; mainRootpath=<span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">path<\/span>.<span style=\"color: black;\">join<\/span><span style=\"color: black;\">(<\/span>dirpath,<span style=\"color: rgb(0, 128, 0);\">file<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br \/>&nbsp; &nbsp; &nbsp; findInfoandPrintIt<span style=\"color: black;\">(<\/span>mainRootpath,getoptHr<span style=\"color: black;\">)<\/span><\/p>\n<p><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">def<\/span> findInfoandPrintIt<span style=\"color: black;\">(<\/span>getFName,getoptHr<span style=\"color: black;\">)<\/span>:<br \/>&nbsp; &nbsp; &nbsp; &nbsp; getTagFileInfo = <span style=\"color: rgb(0, 128, 0);\">open<\/span><span style=\"color: black;\">(<\/span>getFName, <span style=\"color: rgb(72, 61, 139);\">&#8216;r&#8217;<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; getTagFileInfo.<span style=\"color: black;\">seek<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(255, 69, 0);\">-128<\/span>, <span style=\"color: rgb(255, 69, 0);\">2<\/span><span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; getTagFileInfo.<span style=\"color: black;\">read<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(255, 69, 0);\">3<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; title = <span style=\"color: rgb(220, 20, 60);\">string<\/span>.<span style=\"color: black;\">strip<\/span><span style=\"color: black;\">(<\/span>getTagFileInfo.<span style=\"color: black;\">read<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(255, 69, 0);\">30<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; artist = <span style=\"color: rgb(220, 20, 60);\">string<\/span>.<span style=\"color: black;\">strip<\/span><span style=\"color: black;\">(<\/span>getTagFileInfo.<span style=\"color: black;\">read<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(255, 69, 0);\">30<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; album = <span style=\"color: rgb(220, 20, 60);\">string<\/span>.<span style=\"color: black;\">strip<\/span><span style=\"color: black;\">(<\/span>getTagFileInfo.<span style=\"color: black;\">read<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(255, 69, 0);\">30<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; anno = <span style=\"color: rgb(220, 20, 60);\">string<\/span>.<span style=\"color: black;\">strip<\/span><span style=\"color: black;\">(<\/span>getTagFileInfo.<span style=\"color: black;\">read<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(255, 69, 0);\">4<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; comment = <span style=\"color: rgb(220, 20, 60);\">string<\/span>.<span style=\"color: black;\">strip<\/span><span style=\"color: black;\">(<\/span>getTagFileInfo.<span style=\"color: black;\">read<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(255, 69, 0);\">28<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; getTagFileInfo.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; fileNameHr=<span style=\"color: rgb(0, 128, 0);\">str<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">path<\/span>.<span style=\"color: black;\">basename<\/span><span style=\"color: black;\">(<\/span>getFName<span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; getFileSize=<span style=\"color: rgb(220, 20, 60);\">os<\/span>.<span style=\"color: black;\">path<\/span>.<span style=\"color: black;\">getsize<\/span><span style=\"color: black;\">(<\/span>getFName<span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; getFileSize=<span style=\"color: rgb(0, 128, 0);\">float<\/span> <span style=\"color: black;\">(<\/span><span style=\"color: rgb(0, 128, 0);\">round<\/span><span style=\"color: black;\">(<\/span>getFileSize\/<span style=\"color: rgb(255, 69, 0);\">1048576<\/span>*<span style=\"color: rgb(255, 69, 0);\">100000<\/span><span style=\"color: black;\">)<\/span>\/<span style=\"color: rgb(255, 69, 0);\">100000<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; getFileSize=<span style=\"color: rgb(0, 128, 0);\">str<\/span><span style=\"color: black;\">(<\/span>getFileSize<span style=\"color: black;\">)<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221; MB&#8221;<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; mainParser=<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;tr&gt;&lt;td style=<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>border: 2px solid rgb(0, 0, 0);<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+fileNameHr+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;\/td&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;td style=<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>border: 2px solid<br \/>rgb(0, 0, 0);<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(0, 128, 0);\">str<\/span><span style=\"color: black;\">(<\/span>artist<span style=\"color: black;\">)<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;\/td&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;td style=<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>border: 2px solid<br \/>rgb(0, 0, 0);<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+album+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;\/td&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;td style=<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>border: 2px solid rgb(0, 0, 0);<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+anno+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;\/td&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;td style=<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>border: 2px solid rgb(0, 0, 0);<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+comment+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;\/td&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8220;<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span>+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;td style=<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>border: 2px solid<br \/>rgb(0, 0, 0);<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\&#8221;<\/span>&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span>+getFileSize+<span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8216;&lt;\/td&gt;&lt;\/tr&gt;&#8217;<\/span><span style=\"color: rgb(72, 61, 139);\">&#8221;<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; fileHandle =&nbsp; <span style=\"color: rgb(0, 128, 0);\">open<\/span><br \/><span style=\"color: black;\">(<\/span> <span style=\"color: rgb(72, 61, 139);\">&#8220;d:\/temp\/temp.html&#8221;<\/span>,<span style=\"color: rgb(72, 61, 139);\">&#8216;a&#8217;<\/span> <span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">write<\/span><span style=\"color: black;\">(<\/span>mainParser<span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; fileHandle.<span style=\"color: black;\">close<\/span><span style=\"color: black;\">(<\/span><span style=\"color: black;\">)<\/span><br \/>mySearchOption=<span style=\"color: rgb(0, 128, 0);\">int<\/span> <span style=\"color: black;\">(<\/span><span style=\"color: rgb(0, 128, 0);\">raw_input<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;You want search ID Tag in a File or List<br \/>MP3 Files in a folder ???<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>For File Enter 1<br \/>For Folder 2<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><span style=\"color: black;\">)<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">if<\/span> mySearchOption==<span style=\"color: rgb(255, 69, 0);\">1<\/span>:<br \/>&nbsp; &nbsp; &nbsp; &nbsp; myFilename=<span style=\"color: rgb(0, 128, 0);\">raw_input<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;Enter File Name Here&#8230;eg:<br \/>C:<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\\\<\/span>temp<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\\\<\/span>temp.mp3<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; searchFileInfoHere<span style=\"color: black;\">(<\/span>myFilename,<span style=\"color: rgb(255, 69, 0);\">1<\/span><span style=\"color: black;\">)<\/span><br \/><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">elif<\/span> mySearchOption==<span style=\"color: rgb(255, 69, 0);\">2<\/span>:<br \/>&nbsp; &nbsp; &nbsp; &nbsp; myFolderName=<span style=\"color: rgb(0, 128, 0);\">raw_input<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;Enter The Root Folder Name Here<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; searchFileInfoHere<span style=\"color: black;\">(<\/span>myFolderName,<span style=\"color: rgb(255, 69, 0);\">2<\/span><span style=\"color: black;\">)<\/span><br \/><span style=\"color: rgb(255, 119, 0); font-weight: bold;\">else<\/span>:<br \/>&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(255, 119, 0); font-weight: bold;\">print<\/span><\/p>\n<p><span style=\"color: rgb(72, 61, 139);\">&#8220;Unknown Option used &#8230; exiting now !!!<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(0, 128, 0);\">raw_input<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(72, 61, 139);\">&#8220;Press any key to exit<br \/>!!!<span style=\"color: rgb(0, 0, 153); font-weight: bold;\">\\n<\/span>&#8220;<\/span><span style=\"color: black;\">)<\/span><br \/>&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: rgb(220, 20, 60);\">sys<\/span>.<span style=\"color: black;\">exit<\/span><span style=\"color: black;\">(<\/span><span style=\"color: rgb(255, 69, 0);\">1<\/span><span style=\"color: black;\">)<\/span><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; <br \/>&nbsp;<br \/>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0d12\u0d30\u0d41\u0d2a\u0d3e\u0d1f\u0d41 mp3 \u0d2b\u0d2f\u0d32\u0d41\u0d15\u0d33\u0d4d\u200d \u0d09\u0d33\u0d4d\u0d33\u0d2a\u0d4d\u0d2a\u0d4b\u0d33\u0d4d\u200d \u0d05\u0d24\u0d3f\u0d32\u0d4d\u200d \u0d28\u0d3f\u0d28\u0d4d\u0d28\u0d41\u0d02 \u0d35\u0d3f\u0d35\u0d30\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d \u0d05\u0d31\u0d3f\u0d2f\u0d3e\u0d28\u0d4d\u200d \u0d2a\u0d3e\u0d1f\u0d3e\u0d23\u0d4d\u0d06\u0d30\u0d3e\u0d23\u0d4d \u0d2a\u0d3e\u0d1f\u0d3f\u0d2f\u0d24\u0d4d \u0d0e\u0d24\u0d4d\u0d30 \u0d2b\u0d2f\u0d32\u0d4d\u200d \u0d38\u0d48\u0d38\u0d4d \u0d09\u0d23\u0d4d\u0d1f\u0d4d \u0d05\u0d19\u0d4d\u0d19\u0d28\u0d46 .. \u0d05\u0d24\u0d41\u0d02 \u0d12\u0d30\u0d41 \u0d2a\u0d3e\u0d1f\u0d41 \u0d2b\u0d4b\u0d33\u0d4d\u200d\u0d21\u0d30\u0d4d\u200d \u0d09\u0d23\u0d4d\u0d1f\u0d47\u0d2a\u0d31\u0d2f\u0d41\u0d15\u0d2f\u0d41\u0d02 \u0d35\u0d47\u0d23\u0d4d\u0d1f .. \u0d05\u0d19\u0d4d\u0d19\u0d28\u0d46 \u0d0e\u0d28\u0d3f\u0d15\u0d4d\u0d15\u0d4d \u0d12\u0d30\u0d41 \u0d06\u0d35\u0d36\u0d4d\u0d2f\u0d02 \u0d35\u0d28\u0d4d\u0d28\u0d2a\u0d4d\u0d2a\u0d4b\u0d33\u0d4d\u200d \u0d1e\u0d3e\u0d28\u0d4d\u200d python \u0d35\u0d46\u0d1a\u0d4d\u0d1a\u0d41\u0d0e\u0d34\u0d41\u0d24\u0d3f\u0d2f \u0d12\u0d30\u0d41 \u0d38\u0d4d\u0d15\u0d4d\u0d30\u0d3f\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d4d \u0d06\u0d23\u0d4d \u0d07\u0d24\u0d41 .. subfolder \u0d38\u0d47\u0d30\u0d4d\u200d\u0d1a\u0d4d\u0d1a\u0d4d \u0d09\u0d23\u0d4d\u0d1f\u0d4d \u0d05\u0d2a\u0d4d\u0d2a\u0d4a \u0d0e\u0d33\u0d41\u0d2a\u0d4d\u0d2a\u0d02 \u0d06\u0d23\u0d4d\u0d15\u0d3e\u0d30\u0d4d\u0d2f\u0d19\u0d4d\u0d19\u0d33\u0d4d\u200d .. usage : python myMp3IDReader.py first option \u0d2b\u0d4b\u0d33\u0d4d\u200d\u0d21\u0d30\u0d4d\u200d \u0d06\u0d23\u0d4b \u0d2b\u0d2f\u0d32\u0d4d\u200d \u0d06\u0d23\u0d4b \u0d0e\u0d28\u0d4d\u0d28\u0d4d \u0d1a\u0d4b\u0d26\u0d3f\u0d15\u0d4d\u0d15\u0d41\u0d02 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=221"}],"version-history":[{"count":1,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/221\/revisions"}],"predecessor-version":[{"id":441,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/221\/revisions\/441"}],"wp:attachment":[{"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kurianos.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}