File extension problem

General discussion about the media server. Feature requests. Hints, tips and tricks.
Post Reply
User avatar
mackowiakp
Posts: 43
Joined: Mon Apr 11, 2011 8:00 am
AV Hardware: Samsung TV series 5 and 6, PCH A110, Mandirva Linux
Icecrypt S4000 Sat PVR, Ariva 200 Sat PVR-Ready
Location: Poland/Gdynia

File extension problem

Post by mackowiakp » Mon Apr 18, 2011 6:45 am

My Kodak photo camera saves file with extension JPG (capital letters) instead of jpg (small letters). Is any posibility to make TwonkyServer working tith sych files? At this time such photos are not listed both on Twonky Web control panel and on TV.
Linux is like wigwam. No Windows, no Gates but Apache inside!

User avatar
DaemonBeetle
Posts: 305
Joined: Mon Dec 28, 2009 11:05 am
AV Hardware: Plex Media Server, Samsung Smart TV (2009 and 2013)

Re: File extension problem

Post by DaemonBeetle » Fri Apr 22, 2011 5:16 pm

What operating system and what version of Twonky are you running? I'd expect Windows to display them (since it isn't case sensitive) but other operating systems may not.
No longer running Twonky

User avatar
mackowiakp
Posts: 43
Joined: Mon Apr 11, 2011 8:00 am
AV Hardware: Samsung TV series 5 and 6, PCH A110, Mandirva Linux
Icecrypt S4000 Sat PVR, Ariva 200 Sat PVR-Ready
Location: Poland/Gdynia

Re: File extension problem

Post by mackowiakp » Fri Apr 22, 2011 7:50 pm

I use Linux Mandriva. Sorry, but I am Microsoft FREE !!!
Linux is like wigwam. No Windows, no Gates but Apache inside!

User avatar
DaemonBeetle
Posts: 305
Joined: Mon Dec 28, 2009 11:05 am
AV Hardware: Plex Media Server, Samsung Smart TV (2009 and 2013)

Re: File extension problem

Post by DaemonBeetle » Fri Apr 22, 2011 10:51 pm

You forgot the other half of the question ;)

It may be simpler to run a script to turn your .JPG files back into .jpg files:

Code: Select all

find /some/path -type f -name "*.JPG" -print | while read FILENAME; do
  newNAME=`echo "${FILENAME}" | sed "s/.JPG$/.jpg"`
  mv "${FILENAME}" "${newNAME}"
  done
No longer running Twonky

User avatar
mackowiakp
Posts: 43
Joined: Mon Apr 11, 2011 8:00 am
AV Hardware: Samsung TV series 5 and 6, PCH A110, Mandirva Linux
Icecrypt S4000 Sat PVR, Ariva 200 Sat PVR-Ready
Location: Poland/Gdynia

Re: File extension problem

Post by mackowiakp » Mon Apr 25, 2011 7:54 pm

Yeeeh. It solved problem but not on-line. I use simmilar script and run from cron.
Linux is like wigwam. No Windows, no Gates but Apache inside!

Post Reply